OBEX Category Math

Psuedo-random and random numbers

OverviewObject ID : 2813 (2020-06-17)Author : Jon McPhalenMicrocontroller : Propeller 2Category : MathLanguage : SPIN2Licence : OtherContent Get pseudo-random (manually-seeded) numbers and random (Xoroshiro128) numbers; optionally constrained to a desired range Downloads  Zip archive downloadTo view this content, you need to…

Binary Floating Point Routines (IEEE-32 subset)

OverviewObject ID : 2812 (2021-12-19)Author : Eric R. Smith | added by ArchiverMicrocontroller : Propeller 2Category : MathLanguage : SPIN2Licence : OtherContent These are functions for performing floating point math in Spin2. To use, include a BinFloat object in your…

Park transformation

OverviewObject ID : 2811 (2020-05-09)Author : ManAtWorkMicrocontroller : Propeller 2Categories : Math, Motor Control, Protocol, SnippetLanguage : PASM2Licence : OtherTag : ServoContent The Park or d/q-transformation is useful when controlling AC motors or brushless servo motors. It transforms currents or…

Trigonometric Integer Math Library

OverviewObject ID : 2092 (2018-08-06)Author : Kwabena W. Agyeman | added by ArchiverMicrocontroller : Propeller 1Category : MathLanguage : SPINLicence : OtherContent A trigonometric integer math library. The code has been fully optimized with a super simple spin interface for…

Float String

OverviewObject ID : 2091 (2013-04-18)Author : Michael Park | added by ArchiverMicrocontroller : Propeller 1Category : MathLanguage : SPINLicence : OtherContent v1.2: Updates 1.1 with StringToFloat v1.1: This is an update to the FloatString object. It adds the FloatToFormat routine…

GPS Float Demo

OverviewObject ID : 2090 (2013-04-09)Author : I.Kövesdi | added by ArchiverMicrocontroller : Propeller 1Categories : Math, Protocol, SensorLanguage : SPINLicence : OtherContent A robust GPS NMEA parser in the ‘GPS Str NMEA’ object with float interface and navigation routines in…

Solar Position Calculator & Almanac

OverviewObject ID : 2089 (2013-05-02)Author : Prophead100 | added by ArchiverMicrocontroller : Propeller 1Categories : Fun, Math, Sensor, ToolLanguages : C/C++, SPINLicence : OtherTags : Servo, SPIContent The solar object calculates a good approximation of the position (altitude and azimuth)…

Dynamic Math Lib

OverviewObject ID : 2088 (2013-04-05)Author : m.k. borri | added by ArchiverMicrocontroller : Propeller 1Category : MathLanguages : PASM, SPINLicence : OtherContent A modified version of Float32Full that allocates cogs dynamically. Somewhat slower than the original, but only uses up…

Maidenhead with Distance and Bearing

OverviewObject ID : 2087 (2013-04-10)Author : W1AUV | added by ArchiverMicrocontroller : Propeller 1Category : MathLanguage : SPINLicence : OtherContent Maidenhead, a shorthand for latitude and longitude, is used by Amateur Radio operators (hams) for use in identifying a location.…

Bitwise Manipulators

OverviewObject ID : 2086 (2013-05-02)Author : Peter Quello | added by ArchiverMicrocontroller : Propeller 1Categories : Math, Protocol, ToolLanguage : SPINLicence : OtherContent This object allows easy bit manipulation in both long and byte variables. Based on work by Paul…