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!

Thursday, January 29, 2015

Versatile Wearable LEDs


Wearables (aka Wearable Technology) are a new & insanely awesome extension of electronics. These minimalistic, versatile, and detachable lights are designed to allow for a wide variety of creative possibilities and to be accessible to makers of all ages and backgrounds.

The process takes about an hour and materials costs are less than $10 per LED strip (not including the battery). Even the pooch can have a light-up sweater!

Materials


- LED strip(s)
Here's a link to purchase the specific LED strips used in this project: 12 white surface LEDs with a forward voltage of 7.4 - 15 V and forward current of 50 mA.
If using different LEDs, note the forward voltage & forward current and use this calculator to determine the necessary resistance.
-- Male and Female JST connectors
The Tarot LED strips came assembled w/ male JST connectors, so those were the easiest & most practical. They work rather nicely for this project, and I recommend using them if you are new to electronics.
-- 33 Ohm Resistor
-- Switch
So many options for switches! For this project, I suggest an SPST (single-pole-single-throw) maintaining switch (aka toggle or on/off switch). I had a DPDT slide switch on-hand so that's what I used for this tutorial.
-- 9V battery (preferably rechargeable)
Any battery w/ a voltage output from 7.4 -15 V works. LiPo batteries are the best (and last the longest), but are more expensive.
-- Velcro (sticky side only)
-- Optional: Custom Battery Case
Version 1: Two safety pins & a 3" x 2" piece of fabric.
Version 2: Strong rare earth magnet (or two).
This is a more expensive but simpler alternative to the fabric battery case.

Tools

  
-- Soldering iron
-- Hot Glue Gun
-- Wire Strippers
-- Needle + Thread
-- Scissors
-- Recommended: Epoxy
My favorite method to make extremely permanent (+ weather resistant) electrical connections.
-- Also recommended: Multimeter & Breadboard (for testing)


Build it! Pt. 1
 















Prep: If LEDs lack wires, solder the male JST connector leads to the uppermost LED pads. Coat in a dab of epoxy or hot glue.
Recommended to test the circuit on a breadboard before soldering.
1. Attach sticky-side velcro pieces to LED strips.

2.Solder the female JST connector leads to the switch.


If using a DPDT switch, as in the schematic, each set of legs can control a separate circuit. Instead of connecting ground to the switch, you can also connect the LED ground to the battery ground. This allows you to control another set of LEDs (+ resistor) on the same switch + battery.
If you're just starting out, here's a helpful guide on switches.


Build it! Pt. 2

1. Solder the resistor to the middle switch pin on the same side as the positive JST wire.
2. Solder the positive lead of the battery clip to the resistor & the negative lead to the negative middle switch pin (or connect them together).
Clip off excess wires.









3. Connect LED strips via the JST connectors and check that the switch works.
4. Coat bottom of switch in epoxy and/or hot glue.
Be sure to avoid getting glue on the moving part of the switch esp. if using epoxy. Check that it can move while epoxy is drying.



Build it! Pt 3 (9V Battery Case)


1. Sew your chosen fabric square into a pocket for the 9V.
2. Place 9V battery in case and attach the battery clip.












3. Sew battery clip + switch to back of fabric case (face switch outward).
4. Attach safety pins to back of fabric case.

 







For magnet battery holder alternative:
Some rechargeable batteries, such as NiMH (Nickle Metal Hydride), are magnetic. For these, place battery inside clothing, then place magnet on the outside to hold the battery in place.
If the battery is non-magnetic (e.g. lithium), hot glue one magnet to the battery, place inside clothing, then place another magnet on the outside of your clothing. Be sure to keep the magnet when switching out the battery!




 Test & Wear!

Double check that the switch successfully turns on and off the LEDs. Attach the battery+switch to clothing by safety pinning (or magnetically attaching) the battery to a comfortable place. The velcro adheres best to soft fabrics, like sweaters, tights, fleece, etc.

Be creative and experiment with the basic module on assorted clothing and accessories for yourself, your friends and your pet(s)!









Friday, December 19, 2014

LED Pin People



A quick and easy way to make light-up pin people! There are endless possibilities for variations on this basic concept. This method uses magnets to serve two purposes: to hold up the LED + wire pin person and to connect the negative LED leg to the battery.


Materials



-- LED
-- Coin cell battery + case
-- Wire
Any type that is solid core, preferably insulating or w/ insulation. If you do use conductive wire, you can modify the design to incorporate it into the battery switch mechanism.
-- Magnet
Be sure to get a strong magnet that will hold the weight of your pin person + LED. Rare earth/Neodynium are ideal.
-- Safety pin; clip off ~ 1/2 inch of the sharp end
After a variety of methods, this was the one that worked best for me. It is studier than wire, and works perfectly for a backing of the pin.
To make a simple cap for the sharp point, dab some hot glue onto the wire person or use pliers to re-use the cover on the original safety pin.

 
Tools 

-- Wire clippers
-- Hot glue gun
-- Soldering iron
This was only used for the safety pin + positive battery connection. If unavailable, can use hot glue to hold the safety pin in place but be sure to maintain electrical connectivity.
-- Optional: Multimeter

 Build it! Pt. 1: Make the Wire Person


1.Cut about 1 ft of wire
2. Make a loop in the middle of the wire and twist for ~ 1 inch.
3. Shape the arms and hands; make a loop ~ 1 inch beyond the torso and twist wires together. Wrap once around the body, then make the other arm and hand.


 


4. Shape the legs + feet in the same way as the arms but make them slightly longer.
5. Position the wire person into desired motion; running, rock climbing, walking a dog, etc.


Pt. 2: Battery Backing 
 
1. Solder the clipped safety pin end to the positive battery clip lead.
If soldering iron isn't available, use hot glue to secure the safety pin end in place.
2. Place the magnet so that it touches the negative battery clip lead. Hot glue it in place.
You may need to bend the battery lead into the magnet a bit.
3. Check connections by touching the LED to the magnet + safety pin.
The longer LED leg is the positive side.




















Pt. 3: Attach the LED.

1. Determine where you want to place the LED.
Maybe your pin person has accessories, like a flashlight, and it would make sense for the LED to go there. Cool! Go for it.
2. Mark the negative side of the LED with a sharpie.
3. Twist the LED legs onto the pin person, leaving ~ 1/4 in of each leg sticking out.
Be sure that the LED legs are insulated (aka not touching).





 4. Using the battery clip, orient the LED legs so that the negative leg connects with the magnet and the positive leg rests on the safety pin.
















Done!
That's it! Super simple and tons of possible extensions with all the random stuff you can find around the house. Happy building!




Creative Commons License
This work by Jennifer Fox is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License