Welcome to the TI Microcontroller projects page! Feel free to share your latest and greatest projects and designs based on TI microcontrollers. Or if you’re not quite ready to contribute, please browse around and rate the your favorite projects! This is a great place to get new design ideas, resources & inspiration.
PROJECT NAME: Fun with LEDs and MSP430 and Cap Touch BoosterPackSUB PROJECT NAMEs: 1. Count Up2. LED Driver for Cap Touch BoosterPack3. Circle Game
TEAM MEMBERS:Michelle GeppertBrent DeVetter
PROJECT DESCRIPTION1. CountUp.c counts from 0 to 9 repeatly by using leds to display the count2. LEDdriver.c receives UART commands from the Capacitive Touch BoosterPack demo code. When it receives wake-up command: it does the same led blink sequence as the Capacitive Touch BoosterPack. sleep command: it turns on the center led. middle button command: it turns the center led on then off the next time. any other command: the outside lights blink off then on then off.3. CircleGame.c receives UART commands from the Capacitive Touch BoosterPack demo code. The LEDs turn on one at a time and in such a way that the looks like it is going around in a circle. When the center button on the Capacitive Touch BoosterPack is pushed, the light stops moving. If the light stops on the center LED, then you have "won" and all the outside LEDs flash on then off. If the lights stops on one of the other LEDs, then you have "lost" and the LEDs turn on in a counter clockwise sequence. The game resets when the Capacitive Touch BoosterPack goes to sleep or an outside button is pressed.
PROJECT FEATURES:It was cheap to create. CountUp.c requires launchpad, bread board, 14 LEDs, and 14 200ohm resistors. LEDdriver.c requires 2 launchpads, 1 Capacitive Touch BoosterPack, bread board, 9 LEDs, and 9 200ohm resistors. CircleGame.c requires 2 launchpads, 1 Capacitive Touch BoosterPack, bread board, 9 LEDs, and 9 200ohm resistors.
1. CountUp.c provides an example on how to use multiple pins and timing2. LEDdriver.c gets UART commands from Capacitive Touch BoosterPack demo code, which provides an example on how to interact with Cap Touch BoosterPack.It also handles multiple UART commands.3. CircleGame.c is a fun game that allows the user to practice hand-eye coordination.
USER'S GUIDE:
1. CountUp.cSetup:CountUp.c uses 7 output pins and 1 GND pinP1.0 (BIT0) connects to the LEDs on top of the digitalP1.4 (BIT4) connects to the LEDs on top right of the digitalP1.5 (BIT5) connects to the LEDs on bottom right of the digitalP1.7 (BIT7) connects to the LEDs on top left of the digitalP1.6 (BIT6) connects to the LEDs on bottom left of the digitalP2.1 (BIT1) connects to the LEDs on middle of the digitalP2.2 (BIT2) connects to the LEDs on bottom of the digitalpin GND connects to groundAll LEDs have a 200 ohm resistor in series before gnd./*----------------- LED definition--------------------------------------------- P1.0P1.7 P1.4 P2.1P1.6 P1.5 P2.2 *----------------------------------------------------------------------------*/
2. LEDdriver.cSetup:The first msp430 is loaded with this codeThe second msp430 is loaded with the Capacitive Touch BoosterPack demo codeP1.2(RX) connects to P1.1(TX) (the UART transmitter) on the msp430 that is connected to the Capacitive Touch BoosterPackP1.0 (BIT0) connects to the center LEDP1.4 (BIT4) connects to the 30 degree LEDP1.3 (BIT3) connects to the 60 degree LEDP1.7 (BIT7) connects to the 120 degree LEDP1.6 (BIT6) connects to the 150 degree LEDP2.2 (BIT2) connects to the 210 degree LEDP2.1 (BIT1) connects to the 240 degree LEDP2.0 (BIT0) connects to the 300 degree LEDP1.5 (BIT5) connects to the 330 degree LEDpin 20 (GND) connects to groundAll LEDs have a 200 ohm resistor in series before gnd.
3. CircleGame.cSetup:The first msp430 is loaded with this codeThe second msp430 is loaded with the Capacitive Touch BoosterPack demo codeP1.2(RX) connects to P1.1(TX) (the UART transmitter) on the msp430 that is connected to the Capacitive Touch BoosterPackP1.0 (BIT0) connects to the center LEDP1.4 (BIT4) connects to the 30 degree LEDP1.3 (BIT3) connects to the 60 degree LEDP1.7 (BIT7) connects to the 120 degree LEDP1.6 (BIT6) connects to the 150 degree LEDP2.2 (BIT2) connects to the 210 degree LEDP2.1 (BIT1) connects to the 240 degree LEDP2.0 (BIT0) connects to the 300 degree LEDP1.5 (BIT5) connects to the 330 degree LEDpin GND connects to groundAll LEDs have a 200 ohm resistor in series before gnd.
The LED setup is the same for both CircleGame and LEDdriver./*----------------- LED definition--------------------------------------------- P1 BIT7 P1 BIT3P1 BIT6 P1 BIT4 P1 BIT0P2 BIT2 P1 BIT5 P2 BIT1 P2 BIT0 *----------------------------------------------------------------------------*/
6507.CountUp.c
8233.LEDdriver.c
4101.CircleGame.c
2678.uart.c
2021.uart.h
It won't let me edit, so here are the video links.
Count Up Video
www.youtube.com/watch
LED Driver Video
Circle Game Video
sir,I tried led driver.c program..
inthis i kept ,msp4302452 with launchpad and capacitive touch booster pack..i m fine with errors but ii think that the commmunication between two launchpads doesnt work ..so,would u pls suggest me any thing..