(Cette version a été marquée pour être traduite) |
|||
Ligne 5 : | Ligne 5 : | ||
|Type=Creation | |Type=Creation | ||
|Area=Electronics, Sport and Outside | |Area=Electronics, Sport and Outside | ||
− | |Description=<translate>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!</translate> | + | |Description=<translate><!--T:1--> 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!</translate> |
|Difficulty=Medium | |Difficulty=Medium | ||
|Cost=50 | |Cost=50 | ||
Ligne 22 : | Ligne 22 : | ||
{{ {{tntn|Materials}} | {{ {{tntn|Materials}} | ||
|Step_Picture_00=Turn_signal_biking_jacket_vest_supplies.jpg | |Step_Picture_00=Turn_signal_biking_jacket_vest_supplies.jpg | ||
− | |Material=<translate>* [https://www.sparkfun.com/products/13342 LilyPad Arduino main board] | + | |Material=<translate><!--T:2--> |
+ | * [https://www.sparkfun.com/products/13342 LilyPad Arduino main board] | ||
* [https://www.sparkfun.com/products/9873 FTDI connector] | * [https://www.sparkfun.com/products/9873 FTDI connector] | ||
* [https://www.sparkfun.com/products/11301 mini USB cable] | * [https://www.sparkfun.com/products/11301 mini USB cable] | ||
Ligne 31 : | Ligne 32 : | ||
* a garment or a piece of fabric to work on | * a garment or a piece of fabric to work on | ||
+ | <!--T:3--> | ||
''disclosure: I designed the LilyPad, so I'll make some $ if you buy one.''</translate> | ''disclosure: I designed the LilyPad, so I'll make some $ if you buy one.''</translate> | ||
− | |Tools=<translate>* a digital multimeter with a beeping continuity tester | + | |Tools=<translate><!--T:4--> |
+ | * a digital multimeter with a beeping continuity tester | ||
* a needle or two | * a needle or two | ||
* a fabric marker or piece of chalk | * a fabric marker or piece of chalk | ||
Ligne 52 : | Ligne 55 : | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_01b.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_01b.jpg | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_01c.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_01c.jpg | ||
− | |Step_Title=<translate>Design</translate> | + | |Step_Title=<translate><!--T:5--> Design</translate> |
− | |Step_Content=<translate>'''Plan the aesthetic and electrical layout of your piece''' | + | |Step_Content=<translate><!--T:6--> |
+ | '''Plan the aesthetic and electrical layout of your piece''' | ||
+ | <!--T:7--> | ||
Decide where each component is going to go and figure out how you will sew them together with as few thread crossings as possible. Make a sketch of your design that you can refer to as you work. The photos below show the sketches for my jacket. Stitching for power (+) is shown in red, ground (-) in black, LEDs in green, and switch inputs in purple.</translate> | Decide where each component is going to go and figure out how you will sew them together with as few thread crossings as possible. Make a sketch of your design that you can refer to as you work. The photos below show the sketches for my jacket. Stitching for power (+) is shown in red, ground (-) in black, LEDs in green, and switch inputs in purple.</translate> | ||
}} | }} | ||
{{ {{tntn|Tuto Step}} | {{ {{tntn|Tuto Step}} | ||
− | |Step_Title=<translate>Important note about the power supply</translate> | + | |Step_Title=<translate><!--T:8--> Important note about the power supply</translate> |
− | |Step_Content=<translate>As you design, plan to keep your power supply and LilyPad main board close to each other. If they are too far apart, you are likely to have problems with your LilyPad resetting or just not working at all. | + | |Step_Content=<translate><!--T:9--> |
+ | As you design, plan to keep your power supply and LilyPad main board close to each other. If they are too far apart, you are likely to have problems with your LilyPad resetting or just not working at all. | ||
+ | <!--T:10--> | ||
Why? Conductive thread has non-trivial resistance. (The 4-ply silver-coated thread from SparkFun that comes with the LilyPad starter kit has about 14 ohms/foot.) Depending on what modules you're using in your construction, your LilyPad can draw up to 50 milliamps (mA) of current, or .05 Amps. Ohm's law says that the voltage drop across a conductive material--the amount of voltage that you lose as electricity moves through the material--is equal to the resistance of the conductive material times the amount of current that is flowing through it. | Why? Conductive thread has non-trivial resistance. (The 4-ply silver-coated thread from SparkFun that comes with the LilyPad starter kit has about 14 ohms/foot.) Depending on what modules you're using in your construction, your LilyPad can draw up to 50 milliamps (mA) of current, or .05 Amps. Ohm's law says that the voltage drop across a conductive material--the amount of voltage that you lose as electricity moves through the material--is equal to the resistance of the conductive material times the amount of current that is flowing through it. | ||
+ | <!--T:11--> | ||
For example, if your LilyPad is a foot away from the power supply, the total resistance of the conductive material that attaches your LilyPad to your power supply is about 28 ohms. (14 Ohms in the conductive thread that leads from the negative terminal of the power supply to the negative petal on the LilyPad and 14 Ohms in the conductive thread that ties the positive terminals together). This means we can expect a drop of 1.4 Volts (28 Ohms * .05 Amps.) This means that while 5 Volts is coming out of the power supply, the LilyPad will only be getting 3.6 Volts (5 Volts - 1.4 Volts). Once the voltage at the LilyPad drops below about 3.3 Volts, it will reset. The resistance of the traces from + on the power supply to + on the LilyPad and - on the power supply to - on the LilyPad should be at most 10 Ohms. Plan the distance accordingly. | For example, if your LilyPad is a foot away from the power supply, the total resistance of the conductive material that attaches your LilyPad to your power supply is about 28 ohms. (14 Ohms in the conductive thread that leads from the negative terminal of the power supply to the negative petal on the LilyPad and 14 Ohms in the conductive thread that ties the positive terminals together). This means we can expect a drop of 1.4 Volts (28 Ohms * .05 Amps.) This means that while 5 Volts is coming out of the power supply, the LilyPad will only be getting 3.6 Volts (5 Volts - 1.4 Volts). Once the voltage at the LilyPad drops below about 3.3 Volts, it will reset. The resistance of the traces from + on the power supply to + on the LilyPad and - on the power supply to - on the LilyPad should be at most 10 Ohms. Plan the distance accordingly. | ||
+ | <!--T:12--> | ||
If all of this was confusing, don't worry! Just keep the LilyPad and power supply close to each other in your design.</translate> | If all of this was confusing, don't worry! Just keep the LilyPad and power supply close to each other in your design.</translate> | ||
}} | }} | ||
Ligne 70 : | Ligne 79 : | ||
|Step_Picture_00=Turn_signal_biking_jacket_Step_01da.jpg | |Step_Picture_00=Turn_signal_biking_jacket_Step_01da.jpg | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_01db.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_01db.jpg | ||
− | |Step_Title=<translate>Transfer the sketch to your garment</translate> | + | |Step_Title=<translate><!--T:13--> Transfer the sketch to your garment</translate> |
− | |Step_Content=<translate>Use chalk or some other non-permanent marker to transfer your design to the garment. If you want, use a ruler to make sure everything is straight and symmetrical. | + | |Step_Content=<translate><!--T:14--> |
+ | Use chalk or some other non-permanent marker to transfer your design to the garment. If you want, use a ruler to make sure everything is straight and symmetrical. | ||
+ | <!--T:15--> | ||
Use double sided tape to temporarily attach LilyPad pieces to your garment. This will give you a good sense of what your final piece will look like. It will also keep everything in place and, as long as the tape sticks, make your sewing easier.</translate> | Use double sided tape to temporarily attach LilyPad pieces to your garment. This will give you a good sense of what your final piece will look like. It will also keep everything in place and, as long as the tape sticks, make your sewing easier.</translate> | ||
}} | }} | ||
Ligne 80 : | Ligne 91 : | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_02d.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_02d.jpg | ||
|Step_Picture_03=Turn_signal_biking_jacket_Step_02i.jpg | |Step_Picture_03=Turn_signal_biking_jacket_Step_02i.jpg | ||
− | |Step_Title=<translate>Preparation before sewing</translate> | + | |Step_Title=<translate><!--T:16--> Preparation before sewing</translate> |
− | |Step_Content=<translate>'''First, trim the leads off of the back of the power supply''' | + | |Step_Content=<translate><!--T:17--> |
+ | '''First, trim the leads off of the back of the power supply''' | ||
+ | <!--T:18--> | ||
Get out your LilyPad power supply piece and trim the metal parts that are sticking out the back of it. Small clippers like the ones shown in the photo work well, but you can also use scissors. | Get out your LilyPad power supply piece and trim the metal parts that are sticking out the back of it. Small clippers like the ones shown in the photo work well, but you can also use scissors. | ||
+ | <!--T:19--> | ||
'''Stabilize your battery on the fabric''' | '''Stabilize your battery on the fabric''' | ||
+ | <!--T:20--> | ||
Generally, you want to do everything you can to keep the power supply from moving around on the fabric. I recommend gluing or sewing the battery down before starting on the rest of the project. You may also want to glue or sew something underneath the power supply to help prevent it from pulling on the fabric and bouncing around as you move. | Generally, you want to do everything you can to keep the power supply from moving around on the fabric. I recommend gluing or sewing the battery down before starting on the rest of the project. You may also want to glue or sew something underneath the power supply to help prevent it from pulling on the fabric and bouncing around as you move. | ||
+ | <!--T:21--> | ||
If you are working on a thin or stretch piece of fabric--first of all, reconsider this choice! It's much easier to work on a heavy piece of non-stretchy fabric. If you are determined to forge ahead with a delicate fabric, choose the location for your power supply wisely. It's the heaviest electronic module, so put it somewhere where it will not distort the fabric too badly. definitely glue or sew something underneath the power supply.</translate> | If you are working on a thin or stretch piece of fabric--first of all, reconsider this choice! It's much easier to work on a heavy piece of non-stretchy fabric. If you are determined to forge ahead with a delicate fabric, choose the location for your power supply wisely. It's the heaviest electronic module, so put it somewhere where it will not distort the fabric too badly. definitely glue or sew something underneath the power supply.</translate> | ||
}} | }} | ||
{{ {{tntn|Tuto Step}} | {{ {{tntn|Tuto Step}} | ||
|Step_Picture_00=Turn_signal_biking_jacket_Step_02a.jpg | |Step_Picture_00=Turn_signal_biking_jacket_Step_02a.jpg | ||
− | |Step_Title=<translate>Sew your power supply and LilyPad to your jacket</translate> | + | |Step_Title=<translate><!--T:22--> Sew your power supply and LilyPad to your jacket</translate> |
− | |Step_Content=<translate>'''Sew the + petal of the power supply down to your garment''' | + | |Step_Content=<translate><!--T:23--> |
+ | '''Sew the + petal of the power supply down to your garment''' | ||
+ | <!--T:24--> | ||
Cut a 3-4 foot length of conductive thread. Thread your needle, pulling enough of the thread through the needle that it will not fall out easily. Tie a knot at the end of the longer length of thread. Do not cut the thread too close to the knot or it will quickly unravel. | Cut a 3-4 foot length of conductive thread. Thread your needle, pulling enough of the thread through the needle that it will not fall out easily. Tie a knot at the end of the longer length of thread. Do not cut the thread too close to the knot or it will quickly unravel. | ||
+ | <!--T:25--> | ||
Coming from the back of the fabric to the front, poke the needle into the fabric right next to the + petal on the power supply and then, from the front of the fabric, pull it through. The knot at the end of the thread will keep the thread from pulling out of the fabric. Now make a stitch going into the hole in the hole in the + petal on the power supply. Do this several more times, looping around from the back of the fabric to the front, going through the + petal each time. | Coming from the back of the fabric to the front, poke the needle into the fabric right next to the + petal on the power supply and then, from the front of the fabric, pull it through. The knot at the end of the thread will keep the thread from pulling out of the fabric. Now make a stitch going into the hole in the hole in the + petal on the power supply. Do this several more times, looping around from the back of the fabric to the front, going through the + petal each time. | ||
+ | <!--T:26--> | ||
Pay special attention to this stitching. It is the most important connection that you'll sew in your project. You want to make sure you get excellent contact between the petals on the power supply and your conductive thread. Go through the hole several times (at least 5) with your stitching. Keep sewing until you can't get your needle through anymore. Do not cut your thread, just proceed to the next step. | Pay special attention to this stitching. It is the most important connection that you'll sew in your project. You want to make sure you get excellent contact between the petals on the power supply and your conductive thread. Go through the hole several times (at least 5) with your stitching. Keep sewing until you can't get your needle through anymore. Do not cut your thread, just proceed to the next step. | ||
+ | <!--T:27--> | ||
'''Sew from the battery to the LilyPad.''' | '''Sew from the battery to the LilyPad.''' | ||
Once you've sewn the + petal of the battery down, make small neat stitches to the + petal of your LilyPad. I used a jacket with a fleece lining and stitched only through the inner fleece lining so that no stitches were visible on the outside of the jacket.</translate> | Once you've sewn the + petal of the battery down, make small neat stitches to the + petal of your LilyPad. I used a jacket with a fleece lining and stitched only through the inner fleece lining so that no stitches were visible on the outside of the jacket.</translate> | ||
Ligne 109 : | Ligne 130 : | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_02g.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_02g.jpg | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_02h.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_02h.jpg | ||
− | |Step_Title=<translate>Sew the + petal of your LilyPad down</translate> | + | |Step_Title=<translate><!--T:28--> Sew the + petal of your LilyPad down</translate> |
− | |Step_Content=<translate>Sew the + petal of your LilyPad down, finishing the connection. | + | |Step_Content=<translate><!--T:29--> |
+ | Sew the + petal of your LilyPad down, finishing the connection. | ||
+ | <!--T:30--> | ||
When you reach the LilyPad, sew the + petal down to the fabric with the conductive thread. Just like you were with the battery petal, you want to be extra careful to get a robust connection here. This stitching is making the electrical connection between your power supply and LilyPad. | When you reach the LilyPad, sew the + petal down to the fabric with the conductive thread. Just like you were with the battery petal, you want to be extra careful to get a robust connection here. This stitching is making the electrical connection between your power supply and LilyPad. | ||
+ | <!--T:31--> | ||
When you are done with this attachment, sew away from the LilyPad about an inch along your stitching, tie a knot, and cut your thread about an inch away from the knot so that your knot won't come untied.</translate> | When you are done with this attachment, sew away from the LilyPad about an inch along your stitching, tie a knot, and cut your thread about an inch away from the knot so that your knot won't come untied.</translate> | ||
}} | }} | ||
Ligne 119 : | Ligne 143 : | ||
|Step_Picture_00=Turn_signal_biking_jacket_Step_02j.jpg | |Step_Picture_00=Turn_signal_biking_jacket_Step_02j.jpg | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_02k.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_02k.jpg | ||
− | |Step_Title=<translate>Put fabric glue on each of your knots</translate> | + | |Step_Title=<translate><!--T:32--> Put fabric glue on each of your knots</translate> |
− | |Step_Content=<translate>Put fabric glue on each of your knots to keep them from unraveling. | + | |Step_Content=<translate><!--T:33--> |
+ | Put fabric glue on each of your knots to keep them from unraveling. | ||
+ | <!--T:34--> | ||
Once the glue dries, trim the thread close to each knot.</translate> | Once the glue dries, trim the thread close to each knot.</translate> | ||
}} | }} | ||
Ligne 129 : | Ligne 155 : | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_03c.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_03c.jpg | ||
|Step_Picture_03=Turn_signal_biking_jacket_Step_03d.jpg | |Step_Picture_03=Turn_signal_biking_jacket_Step_03d.jpg | ||
− | |Step_Title=<translate>Test your stitching</translate> | + | |Step_Title=<translate><!--T:35--> Test your stitching</translate> |
− | |Step_Content=<translate>'''Measure the resistance of your stitching.''' | + | |Step_Content=<translate><!--T:36--> |
+ | '''Measure the resistance of your stitching.''' | ||
Get out your multimeter and put it on the resistance measuring setting. Measure from power supply + to LilyPad + and power supply - to LilyPad -. If the resistance of either of these traces is greater than 10 ohms, reinforce your stitching with more conductive thread. | Get out your multimeter and put it on the resistance measuring setting. Measure from power supply + to LilyPad + and power supply - to LilyPad -. If the resistance of either of these traces is greater than 10 ohms, reinforce your stitching with more conductive thread. | ||
+ | <!--T:37--> | ||
Put a AAA battery into the power supply and flip the power supply switch to the on position. The red light on the power supply should turn on. If it doesn't and you're sure you flipped the switch, quickly remove the battery and check for a short between your + and - stitches. (Most likely there is a piece of thread that's touching both the - and + stitching somewhere.) You can test for a short between + and - by using the beeping continuity tester on your multimeter. | Put a AAA battery into the power supply and flip the power supply switch to the on position. The red light on the power supply should turn on. If it doesn't and you're sure you flipped the switch, quickly remove the battery and check for a short between your + and - stitches. (Most likely there is a piece of thread that's touching both the - and + stitching somewhere.) You can test for a short between + and - by using the beeping continuity tester on your multimeter. | ||
+ | <!--T:38--> | ||
Also check the resistance between the + and - stitching. If the resistance is less than 10K Ohms or so, you've got a mini-short (probably a fine conductive thread hair that is touching both + and -) that you need to find and correct. | Also check the resistance between the + and - stitching. If the resistance is less than 10K Ohms or so, you've got a mini-short (probably a fine conductive thread hair that is touching both + and -) that you need to find and correct. | ||
+ | <!--T:39--> | ||
If the power supply does turn on, look at your LilyPad. It should blink quickly each time you press its switch. Once these connections are working properly, turn off the power supply and remove the battery. | If the power supply does turn on, look at your LilyPad. It should blink quickly each time you press its switch. Once these connections are working properly, turn off the power supply and remove the battery. | ||
+ | <!--T:40--> | ||
'''Insulate your power and ground stitching''' | '''Insulate your power and ground stitching''' | ||
So, your jacket is now full of uninsulated conductive stitches. This is fine when a body is inside of it. A body will prevent sewn traces from contacting each other. But when the jacket is off of a person and you bend or fold it, traces will touch each other and short out. To fix this problem, cover your traces with puffy fabric paint (or another insulator like a satin stitch in regular thread). But, you don't want to cover traces until you're sure that everything works! So, use good judgment in when to coat traces.</translate> | So, your jacket is now full of uninsulated conductive stitches. This is fine when a body is inside of it. A body will prevent sewn traces from contacting each other. But when the jacket is off of a person and you bend or fold it, traces will touch each other and short out. To fix this problem, cover your traces with puffy fabric paint (or another insulator like a satin stitch in regular thread). But, you don't want to cover traces until you're sure that everything works! So, use good judgment in when to coat traces.</translate> | ||
Ligne 147 : | Ligne 178 : | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_04c.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_04c.jpg | ||
|Step_Picture_03=Turn_signal_biking_jacket_Step_04d.jpg | |Step_Picture_03=Turn_signal_biking_jacket_Step_04d.jpg | ||
− | |Step_Title=<translate>Sew on your turn signal LEDs</translate> | + | |Step_Title=<translate><!--T:41--> Sew on your turn signal LEDs</translate> |
− | |Step_Content=<translate>'''Sew in your left and right signals.''' | + | |Step_Content=<translate><!--T:42--> |
+ | '''Sew in your left and right signals.''' | ||
+ | <!--T:43--> | ||
Using the same techniques you used to sew the power supply to the LilyPad, attach all of the + petals of the lights for the left turn signal together and to a petal on the LilyPad (petal 9 for me) and all of the + petals for the right signal together and to another LilyPad petal (11 for me). Attach all of the - petals of the lights together and then to either the - petal on the LilyPad or another LilyPad petal (petal 10 for me). Refer back to my design sketches if any of this is confusing. | Using the same techniques you used to sew the power supply to the LilyPad, attach all of the + petals of the lights for the left turn signal together and to a petal on the LilyPad (petal 9 for me) and all of the + petals for the right signal together and to another LilyPad petal (11 for me). Attach all of the - petals of the lights together and then to either the - petal on the LilyPad or another LilyPad petal (petal 10 for me). Refer back to my design sketches if any of this is confusing. | ||
+ | <!--T:44--> | ||
{{Caution|Text=Remember to seal each of your knots with fabric glue to keep them from unraveling. Be careful to avoid shorts; don't let one sewn trace touch another. In this case, the - traces for the LEDs are all connected, but you want to make sure that the + traces for the left and right signals do not touch the - trace or each other.}}</translate> | {{Caution|Text=Remember to seal each of your knots with fabric glue to keep them from unraveling. Be careful to avoid shorts; don't let one sewn trace touch another. In this case, the - traces for the LEDs are all connected, but you want to make sure that the + traces for the left and right signals do not touch the - trace or each other.}}</translate> | ||
}} | }} | ||
{{ {{tntn|Tuto Step}} | {{ {{tntn|Tuto Step}} | ||
− | |Step_Title=<translate>Test your turn signals</translate> | + | |Step_Title=<translate><!--T:45--> Test your turn signals</translate> |
− | |Step_Content=<translate>Load a program onto your LilyPad that blinks each turn signal to make sure all of your sewing is correct. | + | |Step_Content=<translate><!--T:46--> |
+ | Load a program onto your LilyPad that blinks each turn signal to make sure all of your sewing is correct. | ||
+ | <!--T:47--> | ||
Here's my test program: [[File:Turn signal code.pdf]] | Here's my test program: [[File:Turn signal code.pdf]] | ||
+ | <!--T:48--> | ||
If your layout is the same as mine, you can just copy and paste this program into your Arduino window. | If your layout is the same as mine, you can just copy and paste this program into your Arduino window. | ||
+ | <!--T:49--> | ||
{{Info|Text=If your turn signals don't work, use your multimeter (and the instructions from the last step) to test for shorts or bad connections and make sure that your program matches your physical layout.}} | {{Info|Text=If your turn signals don't work, use your multimeter (and the instructions from the last step) to test for shorts or bad connections and make sure that your program matches your physical layout.}} | ||
+ | <!--T:50--> | ||
'''insulate your turn signal stitches''' | '''insulate your turn signal stitches''' | ||
Cover your traces with puffy fabric paint. Remember, you don't want to cover traces until you're sure that everything works! Use good judgment in when to coat traces.</translate> | Cover your traces with puffy fabric paint. Remember, you don't want to cover traces until you're sure that everything works! Use good judgment in when to coat traces.</translate> | ||
Ligne 174 : | Ligne 213 : | ||
|Step_Picture_04=Turn_signal_biking_jacket_Step_05e.jpg | |Step_Picture_04=Turn_signal_biking_jacket_Step_05e.jpg | ||
|Step_Picture_05=Turn_signal_biking_jacket_Step_05f.jpg | |Step_Picture_05=Turn_signal_biking_jacket_Step_05f.jpg | ||
− | |Step_Title=<translate>Place your control switches</translate> | + | |Step_Title=<translate><!--T:51--> Place your control switches</translate> |
− | |Step_Content=<translate>Find a spot for your switches where they'll be easy to press when you're riding your bike. I mounted mine on the underside of my wrists. I found a good spot by trying out different places. Check out the photos to see what I mean. | + | |Step_Content=<translate><!--T:52--> |
+ | Find a spot for your switches where they'll be easy to press when you're riding your bike. I mounted mine on the underside of my wrists. I found a good spot by trying out different places. Check out the photos to see what I mean. | ||
+ | <!--T:53--> | ||
Once you've found a good position, push the legs of the switch through the fabric and bend them over on the inside of the fabric.</translate> | Once you've found a good position, push the legs of the switch through the fabric and bend them over on the inside of the fabric.</translate> | ||
}} | }} | ||
Ligne 183 : | Ligne 224 : | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_05h.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_05h.jpg | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_05i.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_05i.jpg | ||
− | |Step_Title=<translate>Sew in your switches</translate> | + | |Step_Title=<translate><!--T:54--> Sew in your switches</translate> |
− | |Step_Content=<translate>Sew your switches into the garment. Sew 1 leg to the switch input petal on the LilyPad and another leg, one that is diagonally across from the first , to ground or another LilyPad petal. I used petal 6 for the switch input on the left side and petal 12 for switch input on the right side. I used - for the - connection on the left side, but petal 4 for the - connection on the right side. Refer back to my design drawings if any of this is confusing. | + | |Step_Content=<translate><!--T:55--> |
+ | Sew your switches into the garment. Sew 1 leg to the switch input petal on the LilyPad and another leg, one that is diagonally across from the first , to ground or another LilyPad petal. I used petal 6 for the switch input on the left side and petal 12 for switch input on the right side. I used - for the - connection on the left side, but petal 4 for the - connection on the right side. Refer back to my design drawings if any of this is confusing. | ||
+ | <!--T:56--> | ||
When you're done sewing, go back and reinforce the switch connections with glue. You don't want your switches to fall out of their stitching.</translate> | When you're done sewing, go back and reinforce the switch connections with glue. You don't want your switches to fall out of their stitching.</translate> | ||
}} | }} | ||
Ligne 192 : | Ligne 235 : | ||
|Step_Picture_01=Turn_signal_biking_jacket_Step_06b.jpg | |Step_Picture_01=Turn_signal_biking_jacket_Step_06b.jpg | ||
|Step_Picture_02=Turn_signal_biking_jacket_Step_06c.jpg | |Step_Picture_02=Turn_signal_biking_jacket_Step_06c.jpg | ||
− | |Step_Title=<translate>Sew a single LED onto the sleeve of each arm</translate> | + | |Step_Title=<translate><!--T:57--> Sew a single LED onto the sleeve of each arm</translate> |
− | |Step_Content=<translate>These will give you essential feedback about which turn signal is on. They'll flash to tell you what the back of your jacket is doing, so make sure they're in a visible spot. Sew the + petals of each LED to a LilyPad petal and the - petals of each LED to the - side of the switch (the - trace you sewed in the last step). I used petal 5 for the LED + on the left side and petal 3 for the LED + on the right side. Again, refer back to my design drawings if any of this is confusing. | + | |Step_Content=<translate><!--T:58--> |
+ | These will give you essential feedback about which turn signal is on. They'll flash to tell you what the back of your jacket is doing, so make sure they're in a visible spot. Sew the + petals of each LED to a LilyPad petal and the - petals of each LED to the - side of the switch (the - trace you sewed in the last step). I used petal 5 for the LED + on the left side and petal 3 for the LED + on the right side. Again, refer back to my design drawings if any of this is confusing. | ||
+ | <!--T:59--> | ||
As always, remember to glue and trim knots and be careful not to create any shorts. | As always, remember to glue and trim knots and be careful not to create any shorts. | ||
+ | <!--T:60--> | ||
Once you sew both wrist LEDs, you're done with the sewing phase of the project! Now, on to programming...</translate> | Once you sew both wrist LEDs, you're done with the sewing phase of the project! Now, on to programming...</translate> | ||
}} | }} | ||
Ligne 205 : | Ligne 251 : | ||
|Step_Picture_03=Turn_signal_biking_jacket_Step_07e.jpg | |Step_Picture_03=Turn_signal_biking_jacket_Step_07e.jpg | ||
|Step_Picture_04=Turn_signal_biking_jacket_Step_07f.jpg | |Step_Picture_04=Turn_signal_biking_jacket_Step_07f.jpg | ||
− | |Step_Title=<translate>Program your jacket</translate> | + | |Step_Title=<translate><!--T:61--> Program your jacket</translate> |
− | |Step_Content=<translate>'''Decide on the behavior you want''' | + | |Step_Content=<translate><!--T:62--> |
+ | '''Decide on the behavior you want''' | ||
I wanted the left switch to turn on the left turn signal for 15 seconds or so, and the right switch to do the same thing for the right signal. Pressing a switch when the corresponding turn signal is on should turn the signal off. Pressing both switches at the same time should put the jacket into nighttime flashing mode. The wrist mounted LEDs should provide feedback about the current state of the jacket. | I wanted the left switch to turn on the left turn signal for 15 seconds or so, and the right switch to do the same thing for the right signal. Pressing a switch when the corresponding turn signal is on should turn the signal off. Pressing both switches at the same time should put the jacket into nighttime flashing mode. The wrist mounted LEDs should provide feedback about the current state of the jacket. | ||
+ | <!--T:63--> | ||
Here's the code I wrote to get that behavior: [[File:Turn signal biking jacket.pdf]] | Here's the code I wrote to get that behavior: [[File:Turn signal biking jacket.pdf]] | ||
+ | <!--T:64--> | ||
'''Program your jacket''' | '''Program your jacket''' | ||
To program your garment, copy and paste my code into an Arduino window and load it onto the LilyPad. You may have to make some small adjustments first depending on where you attached lights and switches. Play with delays to customize your blinking patterns.</translate> | To program your garment, copy and paste my code into an Arduino window and load it onto the LilyPad. You may have to make some small adjustments first depending on where you attached lights and switches. Play with delays to customize your blinking patterns.</translate> | ||
}} | }} | ||
{{ {{tntn|Tuto Step}} | {{ {{tntn|Tuto Step}} | ||
− | |Step_Title=<translate>Go biking</translate> | + | |Step_Title=<translate><!--T:65--> Go biking</translate> |
− | |Step_Content=<translate>Plug your battery back in and see if it works and...go biking! | + | |Step_Content=<translate><!--T:66--> |
+ | Plug your battery back in and see if it works and...go biking! | ||
+ | <!--T:67--> | ||
'''Insulate the rest of your traces''' | '''Insulate the rest of your traces''' | ||
+ | <!--T:68--> | ||
Cover the rest of your traces with puffy fabric paint. Again, don't coat anything until you're sure it works. | Cover the rest of your traces with puffy fabric paint. Again, don't coat anything until you're sure it works. | ||
+ | <!--T:69--> | ||
'''About washing''' | '''About washing''' | ||
+ | <!--T:70--> | ||
Your creation is washable. Remove the battery and wash the garment by hand with a gentle detergent. | Your creation is washable. Remove the battery and wash the garment by hand with a gentle detergent. | ||
+ | <!--T:71--> | ||
Note: silver coated threads will corrode over time and their resistance will gradually increase with washing and wear. To limit the effects of corrosion, insulate and protect your traces with puffy fabric paint or some other insulator. You can also revive exposed corroded traces with silver polish. Try this on a non-visible area first to see what it does to your fabric!</translate> | Note: silver coated threads will corrode over time and their resistance will gradually increase with washing and wear. To limit the effects of corrosion, insulate and protect your traces with puffy fabric paint or some other insulator. You can also revive exposed corroded traces with silver polish. Try this on a non-visible area first to see what it does to your fabric!</translate> | ||
}} | }} |
Auteur Leah Buechley | Dernière modification 9/12/2019 par Clementflipo
Turn_signal_biking_jacket_Biking-jacket.jpg en en Creation 0
disclosure: I designed the LilyPad, so I'll make some $ if you buy one.
Plan the aesthetic and electrical layout of your piece
Decide where each component is going to go and figure out how you will sew them together with as few thread crossings as possible. Make a sketch of your design that you can refer to as you work. The photos below show the sketches for my jacket. Stitching for power (+) is shown in red, ground (-) in black, LEDs in green, and switch inputs in purple.
As you design, plan to keep your power supply and LilyPad main board close to each other. If they are too far apart, you are likely to have problems with your LilyPad resetting or just not working at all.
Why? Conductive thread has non-trivial resistance. (The 4-ply silver-coated thread from SparkFun that comes with the LilyPad starter kit has about 14 ohms/foot.) Depending on what modules you're using in your construction, your LilyPad can draw up to 50 milliamps (mA) of current, or .05 Amps. Ohm's law says that the voltage drop across a conductive material--the amount of voltage that you lose as electricity moves through the material--is equal to the resistance of the conductive material times the amount of current that is flowing through it.
For example, if your LilyPad is a foot away from the power supply, the total resistance of the conductive material that attaches your LilyPad to your power supply is about 28 ohms. (14 Ohms in the conductive thread that leads from the negative terminal of the power supply to the negative petal on the LilyPad and 14 Ohms in the conductive thread that ties the positive terminals together). This means we can expect a drop of 1.4 Volts (28 Ohms * .05 Amps.) This means that while 5 Volts is coming out of the power supply, the LilyPad will only be getting 3.6 Volts (5 Volts - 1.4 Volts). Once the voltage at the LilyPad drops below about 3.3 Volts, it will reset. The resistance of the traces from + on the power supply to + on the LilyPad and - on the power supply to - on the LilyPad should be at most 10 Ohms. Plan the distance accordingly.
If all of this was confusing, don't worry! Just keep the LilyPad and power supply close to each other in your design.
Use chalk or some other non-permanent marker to transfer your design to the garment. If you want, use a ruler to make sure everything is straight and symmetrical.
Use double sided tape to temporarily attach LilyPad pieces to your garment. This will give you a good sense of what your final piece will look like. It will also keep everything in place and, as long as the tape sticks, make your sewing easier.
First, trim the leads off of the back of the power supply
Get out your LilyPad power supply piece and trim the metal parts that are sticking out the back of it. Small clippers like the ones shown in the photo work well, but you can also use scissors.
Stabilize your battery on the fabric
Generally, you want to do everything you can to keep the power supply from moving around on the fabric. I recommend gluing or sewing the battery down before starting on the rest of the project. You may also want to glue or sew something underneath the power supply to help prevent it from pulling on the fabric and bouncing around as you move.
If you are working on a thin or stretch piece of fabric--first of all, reconsider this choice! It's much easier to work on a heavy piece of non-stretchy fabric. If you are determined to forge ahead with a delicate fabric, choose the location for your power supply wisely. It's the heaviest electronic module, so put it somewhere where it will not distort the fabric too badly. definitely glue or sew something underneath the power supply.
Sew the + petal of the power supply down to your garment
Cut a 3-4 foot length of conductive thread. Thread your needle, pulling enough of the thread through the needle that it will not fall out easily. Tie a knot at the end of the longer length of thread. Do not cut the thread too close to the knot or it will quickly unravel.
Coming from the back of the fabric to the front, poke the needle into the fabric right next to the + petal on the power supply and then, from the front of the fabric, pull it through. The knot at the end of the thread will keep the thread from pulling out of the fabric. Now make a stitch going into the hole in the hole in the + petal on the power supply. Do this several more times, looping around from the back of the fabric to the front, going through the + petal each time.
Pay special attention to this stitching. It is the most important connection that you'll sew in your project. You want to make sure you get excellent contact between the petals on the power supply and your conductive thread. Go through the hole several times (at least 5) with your stitching. Keep sewing until you can't get your needle through anymore. Do not cut your thread, just proceed to the next step.
Sew from the battery to the LilyPad. Once you've sewn the + petal of the battery down, make small neat stitches to the + petal of your LilyPad. I used a jacket with a fleece lining and stitched only through the inner fleece lining so that no stitches were visible on the outside of the jacket.
Sew the + petal of your LilyPad down, finishing the connection.
When you reach the LilyPad, sew the + petal down to the fabric with the conductive thread. Just like you were with the battery petal, you want to be extra careful to get a robust connection here. This stitching is making the electrical connection between your power supply and LilyPad.
When you are done with this attachment, sew away from the LilyPad about an inch along your stitching, tie a knot, and cut your thread about an inch away from the knot so that your knot won't come untied.
Put fabric glue on each of your knots to keep them from unraveling.
Once the glue dries, trim the thread close to each knot.
Measure the resistance of your stitching. Get out your multimeter and put it on the resistance measuring setting. Measure from power supply + to LilyPad + and power supply - to LilyPad -. If the resistance of either of these traces is greater than 10 ohms, reinforce your stitching with more conductive thread.
Put a AAA battery into the power supply and flip the power supply switch to the on position. The red light on the power supply should turn on. If it doesn't and you're sure you flipped the switch, quickly remove the battery and check for a short between your + and - stitches. (Most likely there is a piece of thread that's touching both the - and + stitching somewhere.) You can test for a short between + and - by using the beeping continuity tester on your multimeter.
Also check the resistance between the + and - stitching. If the resistance is less than 10K Ohms or so, you've got a mini-short (probably a fine conductive thread hair that is touching both + and -) that you need to find and correct.
If the power supply does turn on, look at your LilyPad. It should blink quickly each time you press its switch. Once these connections are working properly, turn off the power supply and remove the battery.
Insulate your power and ground stitching So, your jacket is now full of uninsulated conductive stitches. This is fine when a body is inside of it. A body will prevent sewn traces from contacting each other. But when the jacket is off of a person and you bend or fold it, traces will touch each other and short out. To fix this problem, cover your traces with puffy fabric paint (or another insulator like a satin stitch in regular thread). But, you don't want to cover traces until you're sure that everything works! So, use good judgment in when to coat traces.
Sew in your left and right signals.
Using the same techniques you used to sew the power supply to the LilyPad, attach all of the + petals of the lights for the left turn signal together and to a petal on the LilyPad (petal 9 for me) and all of the + petals for the right signal together and to another LilyPad petal (11 for me). Attach all of the - petals of the lights together and then to either the - petal on the LilyPad or another LilyPad petal (petal 10 for me). Refer back to my design sketches if any of this is confusing.
Load a program onto your LilyPad that blinks each turn signal to make sure all of your sewing is correct.
Here's my test program: Fichier:Turn signal code.pdf
If your layout is the same as mine, you can just copy and paste this program into your Arduino window.
insulate your turn signal stitches Cover your traces with puffy fabric paint. Remember, you don't want to cover traces until you're sure that everything works! Use good judgment in when to coat traces.
Find a spot for your switches where they'll be easy to press when you're riding your bike. I mounted mine on the underside of my wrists. I found a good spot by trying out different places. Check out the photos to see what I mean.
Once you've found a good position, push the legs of the switch through the fabric and bend them over on the inside of the fabric.
Sew your switches into the garment. Sew 1 leg to the switch input petal on the LilyPad and another leg, one that is diagonally across from the first , to ground or another LilyPad petal. I used petal 6 for the switch input on the left side and petal 12 for switch input on the right side. I used - for the - connection on the left side, but petal 4 for the - connection on the right side. Refer back to my design drawings if any of this is confusing.
When you're done sewing, go back and reinforce the switch connections with glue. You don't want your switches to fall out of their stitching.
These will give you essential feedback about which turn signal is on. They'll flash to tell you what the back of your jacket is doing, so make sure they're in a visible spot. Sew the + petals of each LED to a LilyPad petal and the - petals of each LED to the - side of the switch (the - trace you sewed in the last step). I used petal 5 for the LED + on the left side and petal 3 for the LED + on the right side. Again, refer back to my design drawings if any of this is confusing.
As always, remember to glue and trim knots and be careful not to create any shorts.
Once you sew both wrist LEDs, you're done with the sewing phase of the project! Now, on to programming...
Decide on the behavior you want I wanted the left switch to turn on the left turn signal for 15 seconds or so, and the right switch to do the same thing for the right signal. Pressing a switch when the corresponding turn signal is on should turn the signal off. Pressing both switches at the same time should put the jacket into nighttime flashing mode. The wrist mounted LEDs should provide feedback about the current state of the jacket.
Here's the code I wrote to get that behavior: Fichier:Turn signal biking jacket.pdf
Program your jacket To program your garment, copy and paste my code into an Arduino window and load it onto the LilyPad. You may have to make some small adjustments first depending on where you attached lights and switches. Play with delays to customize your blinking patterns.
Plug your battery back in and see if it works and...go biking!
Insulate the rest of your traces
Cover the rest of your traces with puffy fabric paint. Again, don't coat anything until you're sure it works.
About washing
Your creation is washable. Remove the battery and wash the garment by hand with a gentle detergent.
Note: silver coated threads will corrode over time and their resistance will gradually increase with washing and wear. To limit the effects of corrosion, insulate and protect your traces with puffy fabric paint or some other insulator. You can also revive exposed corroded traces with silver polish. Try this on a non-visible area first to see what it does to your fabric!
Yes
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #