TI E2E Community
The Official MSP430 Blog
Low Power Orientation Tracker Enabled by IQmathLib
Have you ever worried about your packages being mishandled during shipment? Have you ever been concerned about potential theft of your valuable assets? Have you ever gotten lost, while searching for a room in a large building? Are you shying away from addressing these questions due to cost or power limitations?
Maybe all you need is an MSP430 MCU running a Low Power Orientation Tracker. By combining the MSP430 G2 LaunchPad with CircuitCo's Educational BoosterPack, enables the MSP430 MCU to interface with an accelerometer for regular sampling that can be interpreted as x, y, and z coordinates of gravity. Arc Tangent can then be used to calculate current orientation, including angles for pitch and roll. To cut the cord and switch over to battery operation, the Fuel Tank BoosterPack can be plugged in to the design. If you need to track assets from a central location, a number of wireless BoosterPacks are also available for the LaunchPad ecosystem. The best part is that all of these components are online and you can even build your own variant by using the open source design files.
Using the hardware described above, you could create a low-cost design that can be used to track orientation change across shipments, or in warehouse environments to ensure products are handles properly and only when needed. By excluding additional hardware, such as a gyroscope and using optimized software, this design can remain in low-power modes for the majority of the time. This means potential applications such as indoor navigation are also possible.
Now, you may be asking yourself, how easy is it to do complex math on an MSP430 and maintain ultra-low power consumption? The answer is it has never been easier!
IQmathLib is a library of optimized fixed point math functions, now available for MSP430 MCUs! Not only is this library free, but it is available standalone or integrated in Code Composer Studio. With this library in hand, all you need to worry about is the application. No need to spend months optimizing fixed point functions on your own! If you want the data flexibility of floating point, MSPMATHLIB is available as well, but if getting the best performance and/or the lowest power consumption out of your MSP430 MCU is top priority, this is the library for you! With IQmathLib, you could get more than 100x better performance running common math functions.
So now is the time to seize the day! Say NO, to damaged packages, stolen items, getting lost finding your colleagues at work, and more. Checkout the Low Power Orientation Tracker today and get to work with the IQmathLib software library that enables it to be lower-power than ever before.
Do you have other plans for IQmathLib? Leave a comment and let us know!
That is great news! Another good use is HSV-to-RGB conversion for lighting control, a simple process but includes floating point math (probably doable with integer-only, but why bother?)
Add a decent LCD screen, a keypad, a battery and a case - you have a custom scientific calculator. With the added benefit of being able to collect data from assorted transducers.
Competitors include the WP-43S, the enthusiast's calculator, still in development over at HP Calculator Museum...
The Official MSP430 blog is a part of the TI Blogs and shares insights, behind-the-scenes news, deals and community projects related to ultra-low power microcontrollers (MCU) and applications. Make sure to sign up for email alerts or check back regularly for our latest ultra-low power content!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.