I got this sensor off Amazon. It was fun to play with but surprisingly difficult to get meaningful results from. The difficulty is primarily due to sensor limitations. There are quite a few sites with Arduino code for this sensor, I am using a MSP432 LaunchPad here. I wanted to keep it simple and use the pulseIn() function. It works with the MSP432, but not so well with the F5529. A better approach would be to use a timer and count interrupts from the pulses.
See my git repository here for the pin connections, code, and a deeper discussion.
The following is a photo of the sensor I'm using and some examples of what you might expect:
Learning to use microcontrollers with an emphasis on the Texas Instruments Launchpads / Energia
Showing posts with label MSP-EXP432P401R. Show all posts
Showing posts with label MSP-EXP432P401R. Show all posts
Saturday, August 8, 2015
Wednesday, March 11, 2015
What this blog is about....
I'm a mechanical engineer, new to microcontrollers. I started out with Arduino, but one day found myself with a new TI MSP-EXP430G2 LaunchPad and not much idea of what it could do. What I've found is that in the LaunchPad series there is a board that can do anything Arduino can do and a whole lot more. Just one problem... the support at the beginner level is not as developed as that for Arduino.
My objective with this blog is to document some of my experiences with the hope it will ease the process for others getting started with the LaunchPad series. The LaunchPads I tend to use the most are the MSP3200 (for internet) and the MSP-EXP430F5529LP (for general purpose). In addition, I can see use for the MSP-EXP430G2 where I want to embed a small board into something. I have a MSP-EXP432P401R now and I look forward to learning a bit more about the real time operating system (RTOS).
My objective with this blog is to document some of my experiences with the hope it will ease the process for others getting started with the LaunchPad series. The LaunchPads I tend to use the most are the MSP3200 (for internet) and the MSP-EXP430F5529LP (for general purpose). In addition, I can see use for the MSP-EXP430G2 where I want to embed a small board into something. I have a MSP-EXP432P401R now and I look forward to learning a bit more about the real time operating system (RTOS).
Subscribe to:
Posts (Atom)
