Friday, February 20, 2015

LED Proximity Sensor Gloves

 
This is a minimalistic design for a proximity sensor glove: a light-up glove that dims in brightness when an object, or person, is close to the sensor. This project costs less than $10, although it does take some time to build (1 - 2 hrs).

This is also a modular design, meaning that it is easily customizable and can be used in other projects.

Here's a video showing the glove in action.

Materials


-- Gloves (fingertips optional)
Pretty much any type of glove will work. I chose simple cotton ones (that are well worn and have character) because it's easy to sew components into these gloves and, if necessary, can easily (& cheaply) be replaced.
-- LEDs!
I had 5mm white LEDs on-hand, so I used 10 for one glove. As long as each LED has appropriate resistance, you can (pretty much) add as many as you want.
I strongly recommend getting surface mount LEDs or wearable LEDs. They are a bit more expensive, but are much more aesthetic for this type of project and are waay easier to sew.
-- Conductive thread
This is one way to connect + attach the LEDs. I chose conductive thread b/c it looks cool and incorporates the circuit into the glove material, acting as both a conductor and an adhesive. Other options include wire or alligator clips.
Disclaimer: When using conductive thread, be super careful of short circuits. I set my conductive thread on fire more than once during this build process..
-- Photoresistor
-- Five 1 KOhm resistors (one for each pair of LEDs)
The value and number of your resistors may change depending on your battery + LED type.
-- 9V battery + battery clip
-- Switch (optional)



Tools 


-- Scissors
-- Sewing needle
-- Hot glue gun, epoxy, or other quick-drying adhesive.
-- Soldering iron (optional)
You can build the glove without a soldering iron by tying conductive thread tightly to a component, then coating in hot glue or other adhesive.
-- Multimeter (highly recommended)
A multimeter is super useful for checking electrical connections.


Build it! Pt. 1



If a breadboard is available, use it to test the circuit.



1. If you have a switch, connect one end to a battery clip lead.
Solder the two wires together, or use conductive thread + hot glue.

2. Determine layout of the photoresistor(s), LEDs, and resistors.
You can follow my schematic or you can add more LEDs and/or photoresistors (recommended b/c it's cooler). Here's a helpful website to calculate the circuit resistance. Remember that the photocell also adds some resistance (mine was between 300 Ohms and 1 MOhm).
In my layout, two LEDs are connected in series with a resistor, as in the breadboard photo above. These in-series LED pairs are then connected in parallel with all other in-series LED pairs.
Aside: Diode forward voltage & current depends on the color. These white LEDs were ~ 3.4 VDC and 20 mA. Use Google or this page to find forward voltage and current for your specific LEDs.

 




3. Turn glove inside out and mark location of the LEDs, resistors and photoresistor(s).

4. Sketch the positive and negative connections onto the glove w/ a pen. Label the + and - lines.
This step is especially helpful b/c 3D circuits can be a bit confusing.








Build it! Pt. 2

1. Attach the photoresistor to the glove (and add a positive battery lead to the glove).
Make a slit in the glove or push the photoresistor wire legs through the fabric (be sure the legs are on the inside of the glove). To hold it in place, dab hot glue or sew legs to glove with regular thread.

Tie conductive thread to one end of the photoresistor (either leg works), and sew thread through the glove to the bottom. Leave a few inches of thread at the end for the the battery connection. Coat connection in hot glue.





2. Attach a resistor to the positive leg of one LED. Repeat for one LED in each set of LEDs that are in-series (5x for this configuration).

Wrap the two ends together and, if possible, solder the connection. Remove excess wire and coat in hot-glue to adhere connection and cover sharp ends.








Build it! Pt. 3 

1. Attach the LED + resistor to the glove.
Poke the ends of the LED through the glove (or make a slit). Tie conductive thread to LED legs and coat in hot glue to hold components in place, and to cover sharp ends.
Be careful to avoid shorting the LED legs with the conductive thread.

2. Connect the LED + resistor to the open leg of the photoresistor.
Sew conductive thread from the resistor leg to the photoresistor leg, then tightly tie thread to photoresistor leg. Coat connections in hot glue.









3. Connect the next in-series LED.
Connect the positive leg of the next in series LED to negative leg of the previous LED.
Depending on the type and number of LEDs you are using, you may have one, two or more LEDs in series w/ the first LED + resistor.

4. Repeat Steps 1 - 3 for all LEDs in parallel.


























Build it! Pt. 4

1. Once all the LEDs + resistors have been installed, add in a negative battery lead.
Consider where you want to put the battery before adding in leads. You can attach the battery directly to the glove, hide it inside the glove, or install long leads to allow the battery to be placed elsewhere on your body.
My initial design used conductive thread for both battery leads, but this shorted the glove so many times I replaced them with an alligator clip in the final design. This works much better, is safer, and is seriously recommended over conductive thread. If you don't have an alligator clip, any insulated wire will work.




2. Label the positive and negative battery leads.

3. Optional: Solder the battery clip leads to the glove battery leads and dab with hot glue.
Alternative options include alligator clips or twisting wires together + coating with hot glue.








Test & Wear!




















Be sure to test your design BEFORE you wear it because if there are shorts in the conductive thread it will probably catch fire. So, please be careful and be sure that the positive and negative sides of the circuit do not touch.
The connections can be a bit finicky. Be patient and check the electrical connections w/ the battery or a multimeter (if you use a battery, be careful to avoid shorting the circuit). Fix and add more hot glue as necessary.
Once you know it works, put on the glove(s) and impress your friends!
Happy hacking!

Monday, February 9, 2015

Faraday Cage Phone Pouch

 
This Faraday Cage phone pouch blocks all radio signals coming in or out of your cellphone. Material costs are about $10, it takes ~ 30 minutes to build, and it can fit in your pocket!

The purpose of this pouch is to prevent access to your phone and its data (e.g. location) if and when you so choose. Before placing in the pouch, be sure to put your phone in airplane mode as the phone will drain its battery trying to find a signal.

Materials


-- Conductive Fabric
Sized to fit your phone + a top flap. For an iPhone w/ a (giant) case, I needed about 7.5" x 3.5".
-- Thread (regular, any color)
-- Button (any type)
Alternatively, you can use velcro, a safety pin, or any other means to hold down the top flap.


Tools  


-- Scissors
-- Ruler
-- Needle or Sewing Machine (preferred)
-- Safety pins (optional but helpful)


Build it! Pt. 1 


1. Measure the width, height, and depth of your phone (+ case, if you have one).

2. Add 1" to your phone width measurement and 2" to your phone height measurement. Cut conductive fabric into a rectangle of that size.
For example, the iPhone 5 is 4.87" tall, 2.31" wide and 0.30" thick. Thus, you want a rectangle that is at least 6.5" tall and 3.5" wide.

To double check your measurements, mark where you plan to cut the conductive fabric w/ a pen or pencil. then wrap the fabric around your phone. Be sure that you can fold down the top of the conductive fabric.
Helpful tip: It's always better to leave extra room. Measure twice, cut once, and so forth.



3. Place phone on one side of the conductive fabric and fold the fabric over the phone. Safety pin sides together.
Leave an inch or two above the phone so the top can be folded over like an envelope.















Build it! Pt. 2 

1. Sew bottom + sides of conductive fabric together using small hand stitches or a sewing machine.



 

2. Turn pouch inside-out to hide stitching.
3. Place phone inside pouch, fold top down and mark where the button will go.








4. Sew button on & cut a small slit in the top flap to attach.

Remove excess fabric as necessary, but be sure that the conductive fabric completely encases the phone when the top flap is folded down.













 
Done!

Place phone inside the Faraday Cage pouch whenever you want to cut off all radio signals coming in and out of your phone.


For another awesome version of the same concept, check out my friend's scarf project here.

Curious as to how this works? Awesome! In super simple terms, a Faraday Cage "traps" radio waves in the wires that make up the cage. In this design, the conductive fabric threads are the metal wires that form the Faraday Cage. Due to the small mesh size (aka wires are super close together), this design will block any electromagnetic radiation with a wavelength larger than visible light. :)

Here's a good overview on what a Faraday Cage is and how you can build a different version.

And here's the Wikipedia blurb on Faraday Cages, an excellent source if you want to learn more!
Creative Commons License
This work by Jennifer Fox is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License