This tutorial will show you how to build a jacket with turn signals that will let people know where you're headed when you're on your bike. We'll use conductive thread and sewable electronics so your jacket will be soft and wearable and washable when you're done. Enjoy!

A version of this tutorial is also on my website.

Step 1: Supplies

Get your supplies. You need:

-- LilyPad Arduino main board
-- FTDI connector
-- mini USB cable
-- LilyPad power supply
-- 16 LilyPad LEDs (note: these aren't available from SparkFun yet, but will be soon)
-- 2 push button switches
-- a spool of 4-ply conductive thread
-- a digital multimeter with a beeping continuity tester. This is the one I have.
-- a garment or a piece of fabric to work on
-- a needle or two, a fabric marker or piece of chalk, puffy fabric paint, a bottle of fabric glue, and a ruler
(Available at your local fabric shop or Joann Stores.)
-- a pair of scissors
-- double sided tape (optional)
-- a sewing machine (optional)

disclosure: I designed the LilyPad, so I'll make some $ if you buy one.
Will the atmega32 chip overheat when I would use leds of 2.2V and 50mA If (instead of the 3.3V and 30mA If lilypad leds) even though the the max. forward current of the chip is 40 mA?
<p>Fantastic project idea! I made a jacket for my wife. I started with a windbreaker that had a thin inner fleece as recommended. The lining made for sturdy construction. If I had to change anything it would be the white LED I put at the tip of each arrow... Sticking with all yellow would have made for a clearer, more visible shape.</p><p>I ended up using standard DIP push-buttons instead of the LilyPad buttons in my first image. Using a dab of superglue after laying out components helps so much with sewing on a project with so many LEDs.</p><p>For my sleeve indicators there are actually three LEDs each: one at the top of the wrist for the driver, and two LEDs on the side which make an outstretched arm more visible if the biker uses traditional hand signals in addition to the turn signal.</p><p>I ended up having a lot more code to drive the jacket, so I could make the arrows fade in, blink rapidly, and fade back out. A simple push of either side makes the blink cycle run 5 times, and it's possible to cut a blink cycle short by holding the same button down. Like Leah's code, holding both buttons down started the hazard mode, which keeps running until you hold a button to stop it.</p>
<p>More details here: https://chrisruppel.com/blog/lilypad-arduino-biking-jacket/</p>
<p>Someone knows the code?</p>
<p>Standard disclaimer, the code is dependent on your wiring and so forth, but here's what I used to drive my jacket.</p><p>https://gist.github.com/rupl/bf05d1ad40131a21f16fb24fbef9c0e3</p>
<p>you have the code to turn the left signal off and the right on and off to flash but for the left signal do you just do the same have the right turned off and the left on and off for flashing and do you just input the code under the loop or what</p>
<p>Dude, just loop the codes for right signal to off and left signal on :)</p>
hello sir i am new here and in arduino so iwant to learn arduino programing and every thing about arduino so if you khow about programing so please help me to learn arduino sorry for my poor english thanks in advance i am very thankful to you please give me replay to my email<br><br>my email:-zainulislam23@gmail.com<br>skype id:-zainulislam49<br>
<p>is the info about the power supply all you need to know for the power requirements for all the components or is there more power reqs needed</p>
<p>The power supply is enough for 3-4 hours and if u buy a rechargeable lithium battery, you can recharged it . There is no more power supply require.</p>
<p>What a great idea!</p>
<p>Yup, indeed :)</p>
<p>is this waterproof (i'm buying it and i don't know)</p>
<p>Does anyone have had any luck on the full code, its not working for me, and thats kind of frustrating</p>
<p>Fantastic idea! I was wondering what use those Lilypads would be good for. Now I know.</p>
<p>Hello, can you please make me one and I will pay.. I want to give this to my son for high school project. Thank you (email me at: coachdukedo@gmail.com) Thanks</p>
Can you make one for me let me know email is Benjamen.smith7@gmail.com
<p>Nice idea. However the link to your webpage gives a 404 Page Not Found error and why on earth do I need to pay for the instructable if you are already making money from the components?</p>
<p>Hi, I've added your project to the &quot;Top 5 Incredible Bike Projects&quot;</p><p>This is the link If you are interested:</p><p><a href="https://www.instructables.com/id/Top-5-Incredible-Bike-Projects/" rel="nofollow">https://www.instructables.com/id/Top-5-Incredible-B...</a></p>
<p>compre el lilypad que tiene la fuente de alimentacion conectada como hago para las conexiones de los pulsadores y demas elementos, es de la misma manera?</p>
<p>If there's anyone wondering about the links that aren't working, I've found them here:</p><p><a href="http://web.media.mit.edu/~leah/LilyPad/build/turn_signal_jacket.html" rel="nofollow">http://web.media.mit.edu/~leah/LilyPad/build/turn_...</a></p><p>And for the code:</p><p>http://web.media.mit.edu/~leah/LilyPad/build/turn_signal_code.txt</p><p>Now the link is hosted at MIT. </p><p>Also, wonderful project! If here in brazil would be easy to buy those boards, for sure I would do it!</p>
<p>Okay, does it have street homologation or is it only for offroad ? </p>
<p>I haven't been on a bike for years but this is one of the best ideas yet.<br>Take it to Shark Tank ASAP</p>
<p>How far/often do you ride, what type of bike do u have ?</p>
<p>A wonderful idea! :)</p>
<p>I've done a similar project only with a professional cycling shirt:</p><p>https://www.youtube.com/watch?v=UWFkxcJ9KR4</p>
<p>Did anyone already suggest adding reflective tape in a fashionable way so that drivers see you first? I noticed that these jackets used are dark which is for the contrasting &quot;arrow board&quot; to be noticed but not for instances of poor visibility such as rain or fog. Great project though.</p>
any one please help me to learn arduino i want to learn arduino i send you money of classes my email<br>is <br>:-zainulislam23@gmail.com
<p>Well, get one of these http://shooln.co.uk/bike-led-signal-jacket.html. Both the jacket and remote control are waterproof, wireless remote control, got 4 buttons (rather than 2 like in this article), and less hassle to buy stuffs, program and build. I bought one from them and couldn't be happier!</p>
<p>FTDI serves to put the program in Lilypad</p>
<p>hi i am new to this stuff and just wondered what the FTDI connector is used for sorry ia m reserching for a project</p>
<p>Hello, I was wondering if we can use a two ply conductive thread however a four ply one. Thaaaanks!!</p>
How do we make this project waterproof? I understand it not being machine washable, of course, but I need some way to clean it, some insurance that it's not going to short and burn me because it started raining...
<p>I can't believe I had to scroll all the way down here to find this concern. I like the idea, but the first thing that came to mind when I saw it was rain.</p>
I WAS going to suggest Liquipel (http://www.thedailyserge.com/2012/03/tech-tuesdays-vol-25-waterproof.html?spref=fb) until I remembered that Liquipel is more of a SERVICE than a product. Add to that I don't even know if the machinery is equipped for clothing. NEVER FEAR: The solution is once again back into the capable hands of the DIY-er:<br><br>http://www.floatingpath.com/2012/02/18/nano-tech-waterproof/<br><br>This Never Wet superhyrophobic stuff works great with clothing.<br><br>Hope that the product reaches retail soon.
<p>Excellent, problem is with the battery pack</p>
<p>highly practical, you couls sell a ton of these to the mountain biking and running world.</p>
<p>We will see, a variation has already been productized. - http://www.visijax.com/</p>
i love this project, but how much did all these arduino bits cost to make the project? please dont think im having a go, but when i saw it i immedietly thought this kit would work just as well using a simple oscillator circuit, using a few capacitors and resistors with a rocker switch on each handle bar, maybe $4 worth of bits.
<p>The difference is that you can't program multiple results from the same button like in this ible. That requires some kind of small wearable computer like an arduino. Personally I'd like to see someone get a raspi hooked up with bluetooth ot wome other wireless tech to make it so there's a thing that sticks on your back or your backpack and permanently mounted buttons on the handlebars. That would be awesome.</p>
<p>That's a great idea dana, they could be placed on the handlebars</p>
<p>What an awesome idea. Gotta try this</p>
<p>Hi everyone</p><p>can anyone do this project for some $? the person doesn't reply!.</p>
<p>Every one on a bike should have this! Nice idea!</p>
<p>Is there a reason you didn't use interrupts and sleep mode? I think it would make some of the logic simpler(of course the interrupt registration code itself would add some more lines) and reduce power consumption. You could even put the processor to sleep between LED flashing state changes and use timers, if you were really looking to reduce power consumption...<br></p>
<p>Hi! I'd just like to know its power consumption. Great project by the way! </p>
<p>super cool.. and stylish as well</p>
<p>I love that you used the Lilypad, it adds style! :D</p>
I was not able to get the code for the behavior...can u kindly post it ?

About This Instructable




More by leahbuechley:turn signal biking jacket 
Add instructable to: