Project 4: LilyPad-Night-Light Pennant


Project 4: LilyPad-Night-Light Pennant

Buy from US Buy from CA Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

In this project we’ll control LEDs using the LilyMini ProtoSnap. With the code stored on the LilyMini, our projects can now have more advanced behaviors, and interactions are even reprogrammable. We’ll sew the LilyPad components on a pennant shape and customize the theme and decoration.

• 1x LilyPad USB
• 1x LilyPad Coin Cell Battery Holder
• 1x LilyPad Light Sensor
• 1x LilyPad Tri-color LED
• 4x Lilypad LEDs
• Conductive Thread and Needle
• Pennant Template (1 piece) – see Planning Your Project for printable downloads
• Felt (one 9″x12″ sheet of craft felt will make one pennant; use scraps of felt to add decorations)
• Embroidery or Sewing Thread

Planning Your Project

Follow along with the circuit diagram on the template, or design your own layout and shape on a piece of paper. Trace onto the felt, and cut. We’ll add the LilyPad USB board to a customized pennant to hang on a wall or sew into a project.


Or download link:

Understanding Your Circuit

The LilyPad USB is a small computer that can store information and commands to control different sensors and boards connected to it. Programmable boards like the LilyPad USB Board are called microcontrollers. The Lilypad need to been programmed in advance with a set of behaviors called code.


You will need seven LilyPad pieces: the LilyPad USB board, LilyPad Coin Cell Battery holder, three LEDs, a tri-color led and a LilyPad Light Sensor. Arrange the pieces on the felt according to the diagram (or your own custom design). Carefully securing each piece with a dab of glue. Double check the orientation of the LilyPad pieces against the diagram or template before gluing.

Stitching It Together


We’ll begin by stitching a connection between the LilyPad USB Board and the LilyPad light sensor. The light sensor board has three connections: sensor (S), positive (+), and negative (–). Use conductive thread to connect A3 tab on the LilyPad to the (S) tab on the light sensor with three loops at each tab. Connecting the A5 tab on the LilyPad to + tab on the light sensor ;



Next, we’ll connect the LilyPad USB Board to the LilyPad Coin Cell Battery holder. Sewing three to four loops around Tab (-) of the LilyPad USB Board, and then continue stitching to connect Tab (-) of the holder. Tie and cut. With a new piece of thread, Sewing three to four loops around Tab (+) of the LilyPad USB Board, and then continue stitching to connect Tab (+) of the holder. Tie and cut.




This will require a much longer piece of thread than in other steps.Begin at the negative (-) sew tab on the light sensor, and continue stitching along the outside edge of the project, connecting the negative tab of each piece (LilyPad coin battery holder,three LEDs).




We’ll repeat this process with a new piece of thread to connect Tab 2 on the LilyPad USB Board to the positive tabs of three LEDs.



Finally, we’ll stitch the tab 9, tab 10 and tab 11 on the tri-color LED to the tab 9, tab 10 and tab 11 of LilyPad USB Board, respectively. With a new piece of thread, stitch the tab 3 of the LilyPad USB Board to the positive tab (+) of the light sensor using three to four loops on each tab and a running stitch between. Tie, and cut.

After all the stitching is complete, turn the project over, and trim any loose thread tails before testing.


Installing Your Battery and Testing

Before your test,you need to use the computer to upload the arduino code on the LilyPad USB Board(Learn more about uploading code in the tutorial: Uploading an Arduino Sketch),Insert the coin cell battery into the LilyPad USB Board’s battery holder with the positive (+) side facing up. Press the power button on the LilyPad USB Board; Tri-color LED should light up. Cover the light sensor, all leds should light up and tri-color LEDs should change the color. If so, remove the battery and continue to the Finishing Touches section.

Click here to download:

Finishing Touches

Learn more about uploading code in the tutorial: Uploading an Arduino Sketch.

After checking the function of the circuit, it’s time to customize your pennant. Adding light-colored felt over the LEDs can hide the boards and diffuse the light. If covering the light sensor with a felt decoration, make sure to cut a hole above the sensor so it is not blocked/covered.



Here are a few examples of finished pennants with creative themes:

Example_Graveyard  Example_Cheshire

About the Author

amber administrator

You must be logged in to post a comment