Step 1: Step One: Materials
Felt (one square each): red, blue, yellow, teal, orange
Extra felt for back of project (approximately two squares)
Protosnap LilyPad Development Board – https://www.sparkfun.com/products/11262
This board should come with: Conductive thread, LilyPad FTDI basic
FTDI driver (http://arduino.cc/en/main/software)
Arduino IDE (http://arduino.cc/en/main/software)
Step 2: Step Two: Planning
The first step is to plan your project and map out your circuit diagram. When you sew with conductive thread, you need to make sure the positive and negative stitches do not cross, so this planning stage is vital to the functionality of your project! You will be connecting all of the negative pins to the “-” pin on your board and the positive pins of the LEDs and buzzer to their own pins. The positive pin at the top of the tri-color LED should be connected to the “+” pin on the Lilypad. See my diagram for more details on the recommended connections
Step 3: Step Three: Piece together rocket ship
Step 4: Step Four: Program Your Board
At this point, if you haven’t already, you will want to download the arduino and FTDI software onto your computer. I decided I wanted to have the white LEDs flash in order at the bottom of the ship, and then end with a color sequence with the RGB LED on top. I also wanted a scale to play in sequence with the lights to give the project a “lift off” feel. I modified the code from the preloaded example blink sequence and scale sequence from the arduino software. Feel free to modify this code and experiment with your own ideas!
Plug your board into your computer using your USB cord. Paste the provided code into a new sketch and hit the upload button in the arduino window. Your FTDI board should flash as the code uploads. If you receive an error message, make sure to check that the correct board and port are selected under the “tools” tab. See the arduino site for more troubleshooting tips.