Step #2: Sew the LED grounds
Check out the schematic. Using your conductive thread, sew a line around the perimeter of the patch, stopping to sew the round leads of each LED into the line. Leave a space on one edge for the conductive velcro (don't sew the velcro yet).
Step #4: Sew the LilyPad pins to the LED positive leads
- This part can take some time. According to the schematic, sew the positive (square-coiled) leads of the LEDs to their respective pins on the LilyPad Arduino. Be sure not to cross any threads, and tie tight knots with close-trimmed ends to prevent fraying fibers from shorting your circuit. I stopped often to let the needle dangle and untwist the thread as I worked, as it likes to get tangled and caught.
- At this point you can plug the battery into the LiPower and turn the thing on. Use the other piece of conductive velcro to bridge the two patch tabs and see if your LilyPad boots up. Press the reset button a few times and watch that little green LED on board blink a little. Now you know it's working!
Step #5: Program the board
Here's the Arduino code! Load it on your LilyPad by hooking up your programmer and USB cable (or FTDI cable if you have a newer LilyPad). For more info about getting the code onto the Lilypad, check out this page at the Arduino website: http://web.media.mit.edu/~leah/LilyPad/0...
Now go ride your bike!