3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino Lilypad Interactive Passion Sensing Scarf

Step 3Sewing Electronics

Sewing Electronics
«
  • 100_1672.JPG
  • 100_1691.JPG
  • 100_1721.JPG
The MakeZine has a really great video tutorial by Becky Stern on getting started with the Lilypad. This is what I referred to when I got started with this project.

As you can see in the first picture, I had the power circuit board too close to the Lilypad. I later had to move this once I started sewing my circuit traces.

The actual circuit is pretty simple. Connect Positive Power and Ground from the Battery to the Lilypad. Then the pin outs are as follows:

int statusPin = 13;  // onboard status LED is connected to digital pin 13
int redPin    = 11;  // R petal on RGB LED module connected to digital pin 11
int greenPin  =  9;  // G petal on RGB LED module connected to digital pin 9
int bluePin   = 10;  // B petal on RGB LED module connected to digital pin 10
int sensorPin =  5;     // IR phototransistor connected to digital pin 5
int irPin     =  6;     // IR LED connected to digital pin 6

NOTE: complete Arduino sketch is at the end of this Instructable

TIP: You can use some of your scrap pieces of fabric to hold down your circuit traces. It's important that they do not cross or touch each other so that you do not create a short.

TIP: As you can see, the underside of your scarf will look kind of ugly with the circuit traces running through. You can cover this up by either sewing another scarf on top (leaving an opening to program your Lilypad) or by cutting out a scarf from the extra fabric you used for your pattern shapes.

« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
80
Followers
5
Author:ArduinoFun