Wiimote friends!This is a comprehensive knowledgebase on the 'need to know' issues when making your own IR-Pen. Covering basic eletronic principles and desirable IR-Led qualities. How you design and construct your pen is totally up to you. I have linked to my instructional videos as the bottom, but I also suggest you Google IR-Pen and read the Forum posts to find many other concepts.
Lesson 1: Use the correct power sourceMake sure the minimum voltage from you power source exceeds the max voltage of the diode.
Example:
Vishay 6400 has a Maximum Forward Voltage = 1.6v
NIMH 1.2v Rechargeable AAA/AA Min Voltage = 0.8v
1.6/0.8 = 2
To ensure IR-LED is correctly powered 2x 1.2v Batteries are required
(You calculate using Minimum Source Voltage and Maximum Forward Voltage to ensure Diode is always adequately powered)
Lesson 2: Use a resistorThey saves blowing IR-LED's and prolongs the life of diode and battery. They only cost about 15 cents.
To calculate the required resistor you need the Maximum Source Voltage, Diode Typical Forward Voltage and Diode Forward Current. Smart people (not me) will use
Ohm's Law, the rest just use an online calculator like
http://led.linear1.org/1led.wiz.
Example:
Vishay 6400 Typical Forward Voltage = 1.35v
2x 1.2v Rechargeable AAA/AA Batteries = 2.4v
Diode Forward Current = 100ma
Put this data into the online calculator and you will get a 12ohm Resistor.
(You use the Maximum Source Voltage and the Typical Diode Forward Voltage to ensure Diode is adequately protected)
This is main data from Vishay's Datasheet for the TSAL6400 used to calculate the above. I have circled the necessary information. The Power Source data will need to come from its manufacturer too.

See below for full datasheet's
Lesson 3: IR LED's are polarity sensitiveThe long connector (anode) is positive and the short connector (cathode) is negative. If you look carefully at the LED the cathode is the flat piece inside.
Lesson 4: Get a wide viewing angle IR-LEDI have tried a few 30 degree and a really strong 25 degree LED and all work best when directed into the wiimote, rather than the whiteboard as I intend to use it (thus not very good at angles). (Vishay 6400 seems to be the way).

Viewing angle graphs like this can usually be found on the IR-LED Datasheet (this is random example and not related to the IR-LED pics below)
Lesson 5: Use the correct IR-Led WavelengthThe filter at the front of the Wiimote filters certain wave lengths. The preffered wave length is 940nm. Some IR-Led's have lower wavelengths still in the Infrared Spectrum but are filtered by the wiimote. Thanks to

inio

for his knowledge, the theory is explained here:
http://www.wiimoteproject.com/ir-pens/what-is-the-wiimotes-preferred-peak-wavelength-t867.0.htmlLesson 6: Get a strong IR-LED Having tried a few 20ma LED's have found too week at distance, 100ma is the ideal strength. (again Vishay 6400 seems to be the way).
Vishay Data Sheets
Lesson 7: How do I know my IR-LED works???Easy look at it through your mobile phone camera (cool little trick). You will be able to see the importance of the viewing angle, with the 25 degree from the side it looks like a dim light in the distance, front on it is very bright. (Remember 25 degree's means 12.5 degree's either side of 0 degree's. Thus not very wide, even over a long distance)
These photo's are from a camera phone of a: 25 Degree viewing angle, 1.2v AAA, 12ohms Resistor, 100ma LED. Note you can "see" the light and how difficult it will be for an IR sensor to detect the light from angles greater than 35 degree's, but also how strong it is at 0 degree's.

LED @ 90 degree's

LED @ 20 degree's

LED @ 0 degree's
Lesson 8: ScematicA basic IR-Pen scematic:
Lesson 9: Read all the instructions & feedbackI left this to last knowing most people like me won't even read the first lesson, until they get totally stuck or until they finally got it to work and then read the instructions to check they did it right!
benpaddlejonesIRPENmach1 failed because I only read the ingredients list (2x AAA batteries) but didn't read the complete instructions that said I should only use 1 of the 2 batteries!

benpaddlejonesIRPENmach2: failed because I reverse wired it and assumed it was a busted LED!

benpaddlejonesIRPENmach3: works (mostly thanks to the really smart dude at
www.altronics.com.au) but only if it is directed at the wiimote because of its small viewing angle!

benpaddlejonesIRPENmach4: Works AWESOME

see my video:
http://www.wiimoteproject.com/videos/enhancing-teaching-learning-with-the-wiimote-interactive-whiteboard-t983.0.htmlbenpaddlejones
may your wiimote be with you!