November 12, 2008

How to make an infrared LED light pen

Simple instructions and shopping list for a great LED light pen.

If you want to experiment with Johnny Lee's Wiimote Whiteboard or other Wiimote hacking projects, I recommend starting by making your own IR LED light pen. My design shown here is sturdy, self-contained, cheap and easy to make.

Infrared LED pen for Wiimote Whiteboard



Click here for printable shopping list and instructions (PDF).

Here's your shopping list (makes 2 pens):

ITEMWHEREPART #COST
EXPO markersOffice Max20346644$7.00
IR LED x 2Radio Shack276-143$4.00
LED holdersRadio Shack276-080$1.50
SPST momentary switchesRadio Shack275-1571$3.00
N-size batteriesRadio Shack23-023$5.00
N-size battery holder x 2Radio Shack270-405$2.00
Soldering kitRadio Shack64-2802$8.00

TOTAL: $30.50


Directions:

  1. Over a trash-can remove the marker tip and core with a pair of pliers (be careful as the ink can spray a bit).
  2. Wipe out the inside of the marker to remove any remaining ink.
  3. Drill a quarter-inch hole for the pushbutton switch at the spot where your thumb naturally rests on the grip. The pushbutton is a hair larger than 1/4" diameter so you'll need to grind at the edges a bit to widen the hole until the pushbutton fits in snugly.
  4. With a fine piece of sandpaper, scuff up the surface of the LED - this helps diffuse the light to improve tracking.
  5. Remove and discard the nut and washer from the LED holder.
  6. Put the LED stems through the LED holder and slide the rubber plug onto the stems until it’s tight – having the LED on the outside of the LED holder helps more light shine out to improve tracking.
  7. Solder an 8 inch length of red wire to the positive lead, which is the longer one (you can also tell by looking inside the bulb - the positive electrode is the smaller of the two).
  8. Solder an 8-inch length of black wire to the negative lead.
  9. Thread the wires through the body of the pen and use a set of pliers to screw the LED holder into the tip of the pen. This takes SIGNIFICANT force to expand the hole slightly, but the end result is nice and snug.
  10. Fish the black wire through the hole for the pushbutton.
  11. Snip the wire about an inch from the hole, then solder that to one terminal of your pushbutton.
  12. Slip the remaining black wire back into the pen body and solder it to the other pushbutton terminal.
  13. Gently press your pushbutton into place.
  14. To leave more room for the battery, trim the excess wire leaving about an inch extending from the bottom of the pen body. Also trim the battery holder wires to about 1.5 inches each.
  15. Solder the battery holder wires to those of the pen (red-to-red!) [NOTE: this is your first chance to test your connections. The IR LED is invisible to the eye but it IS visible to the CCD of digital cameras. Point your camera at the light, press the button and you should be able to see it light up on the camera's screen.]
  16. Slide the battery and wire into the back of the pen and push the end cap back on as far as it'll go comfortably.


Good luck... let me know how it goes!

Labels: , , , , , , , ,

12 Comments:

At December 7, 2008 10:44 AM , Anonymous Jonathan Jones said...

I am a teacher and your blog has been very helpful with my research on Wiimote technology.

In your video what kind of wires did you use for the pen?

What inch drill bit did you use to drill whole?

jon139@mac.com

 
At December 7, 2008 3:37 PM , Blogger Ken Moore said...

Awesome - I'd love to hear more about your teaching.

Sorry, forgot to mention the wire - I used basic 20 gauge wire (http://www.radioshack.com/product/index.jsp?productId=2062656). I'm not an electronics expert, so maybe there's a better choice but this worked well for me.

The drill bit was 1/4"... you'll need to grind the edges of the hole a bit because the switch is a hair larger than that.

Good luck - let me know if you have any other questions.

Ken
ken(at)kenmooredesign.com

 
At December 8, 2008 1:46 PM , Anonymous Ivan said...

Very nice projects, i am fascinating about all your work!! Keep going!! And Theremin i dont know what to say, fascinating... Pen ... :)) Really good work.

 
At December 10, 2008 4:05 AM , Anonymous Anonymous said...

Awesome design and instructions. You made it very easy for the average guy to put together a homemade IR LED pen. The only thing that you might want to add though is that the LED light is invisible to the human eye. Unfortunately, not knowing this, I wasted more time then I'll admit taking it apart and putting it back together wondering why it didn't light up. {:O(

 
At December 18, 2008 2:34 PM , Anonymous Anonymous said...

The part number and picture for the EXPO markers does not look correct. After purchasing all the items listed the battery holder does not fit.

 
At December 18, 2008 2:46 PM , Blogger Ken Moore said...

The battery holder doesn't fit in all the way - it's tight, and the cap will not close totally. It's a bit unsatisfying, I know. Any 1.5v battery should work, perhaps a AAA cell holder would fit?

 
At December 18, 2008 5:50 PM , Anonymous Kevin said...

How long on average does your N-type battery last? My best guess is that my pen will be used about 3 hours a week to draw on my screen via the Wii-mote setup. The guy at Radio Shack was saying that it would run out quick. I am using a different style marker (generic big fat one commonly seen in classrooms) and have room length-wise for a AAA and the N-type holder I have is a perfect fit. the inside diameter of the pen is about 3/8 of an inch. Would a AAA last longer and if so, is the holder for one of those about the same size the N-type?

I just want to make sure that I'm getting my moneys worth paying $2.50 for a single battery when I could get a pack of AAAs for that much.

Thanks,
Kevin

 
At December 18, 2008 6:21 PM , Blogger Ken Moore said...

@Kevin, I picked N batteries because they're short and there's not much space in the pen body. I couldn't tell you how long the N battery lasts... but I'd be surprised if it ran out very fast. I created the pens for fun but I don't have a practical requirement for them like you do. However, if AAAs can fit in your pen's shell that sounds like the way to go.

 
At December 18, 2008 8:51 PM , Anonymous Kevin said...

Thanks, I'll probably go with the AAA's then since they're cheaper to replace.

 
At December 28, 2008 11:41 AM , Blogger Brian said...

Ken, I had a bit of trouble figuring out which actual EXPO markers to use. I purchased the ones that you have listed but the tips are way too small for the LED holder to even snugly fit down in to them. I happened to have the same style in a chisel-tip laying around the house and was able to use one of these. The LED holder will still not fit very far down the tip of these either. I also ran into some issue when trying to fit the holder down into the tip. I had to twist it and thus it twisted the wires on the LED at the same time causing the whole pen not to work. Just thought I would mention the issues I ran into. I was able to get it to work; however, the tip is not down in the pen shell as far as I would prefer. I may try cutting this part back slightly in order for it to fit further in on my next one.

 
At December 28, 2008 6:40 PM , Blogger Ken Moore said...

@Brian - Sorry you ran into troubles. For me the "fit" of the LED holder was VERY tight - it required lots of force with the pliers to get the threading started but once it began I was able to twist and thread the holder all the way into the pen. If you come up with any worthy modifications let me know and I'll amend the post.

 
At January 1, 2009 12:36 PM , Anonymous Erin said...

Ken, your directions for making a sturdy IR pen are the best I've seen. I am very pleased with the IR pens I made and look forward to using them in the classroom. To say the LED holder fits very tight is an understatement; that is the most difficult part of this project (fitting it on the pen tip), but with MUCH patience (and sore hands)it is possible. Thanks again and happy New Year.

 

Post a Comment

Links to this post:

Create a Link

<< Home