Hi Guys,
This has been on my bucket list for a while.
I've put together a CCS6 project that gives the user a serial console to the MSP430 with the ability to read a DS18B20 sensor by issuing a serial command.
Here's a copy-paste of some of my interactions on the console:
************************************************************************************* * CommandConsole Ver:0.1 Released by:RandomElectrons.com Built:Sep 22 2014 16:33:28 * ************************************************************************************* h ******************************************************************************* B,b: Banner command C,c: Clear screen command H,h: Help command M,m: Memory command R,r: Reset command S,s: Sensitivity command T,t: Temperature command V,v: Version command ******************************************************************************* OK t? T=254 raw decimal counts T=15.87'C OK t? T=213 raw decimal counts T=-13.31'C OK T? T=29 raw decimal counts T=-1.81'C OK T? T=9 raw decimal counts T=-0.56'C OK T? T=6 raw decimal counts T=0.37'C OK T? T=242 raw decimal counts T=15.12'C OK B? T=440 raw decimal counts T=27.50'C OK
I have also uploaded my CCS6 project as a zip file.
As the pictures suggest, I have created this on an F5529 LaunchPad board.
The DS18B20 is wired up in 3-Wire mode and is connected to P1.4 of the LP and read with the typical bit-banging method.
I have wired in an adafruit ftdi friend onto P3.3 and P3.4 for USART to the PC operation.
I use the Terminal inside of CCS6 to interact with the system.
-->View-->Other-->Terminal-->OK
The console portion of this project was inspired by and adapted from http://www.adnbr.co.uk/articles/parsing-simple-usart-commands
Comments are welcomed.
