Sunday, 22 May 2011

A standalone MSP430 project! Basic POV example.

The first thing I wanted to do with my Launchpad was to create a standalone project.  I'd seen how the elite mocked people for leaving a complete Arduino dev. board in their final project - I wanted to be sure I could avoid such mockery should I ever complete a project.  Happily, the MSP430 chips which come with the Lauchpad require only one component to allow them to run on their own.  Happier still, that component is a lowly, cheaper than chips resistor.

Using only* the MSP430G2211 that was supplied with the Launchpad, 8 x 3mm LEDs, 1 x 10k Ohm resistor and a battery power source, the persistence of vision (POV) in the video below was created.


*I also used a breadboard and some jumper wires, but counter to what others may say, they don't count in the component count.






Read on for more information on how the magic happens.


Saturday, 21 May 2011

Sending code to the Launchpad (hello world).

This is a tutorial for beginners on how to flash/upload code to the MSP430 chip you have sat in your Texas Instuments Launchpad, using CCS.  It is by no means definitive, and is only intended as a guide for novices like myself to get their Launchpad doing something.  My aim is to help people on that first step towards being an embedded systems deity (everyone was an amateur once!).  


You're excited.  Your palms are sweaty and your mind is racing with ideas of 8x8x8 RGB LED cubes, of LCD displays saying "Hello World", of home made robots which chase the cats and fire ping pong balls at them.  The day has come, there's no stopping you now - your TI MSP430 Lauchpad has arrived in the post and you're ready to take over the world.  What next?


You may be disappointed to learn that it's not as simple to use as the Arduino (I was, and I don't even have an Arduino).  The support is there, the information is there, but it just doesn't seem as accessable as the Arduino.  So the dreams are crushed, plans for RoboCat are shelved, and the long journey towards microcontroller proficiency begins.  Read on for the first step - flashing the chip.