Simple IR Pen for Wiimote Whiteboard

My previous foray into using a Wiimote with my laptop led me down the path of building a USB sensor bar so that I can use the Wiimote to control the pointer movements. This approach worked better than expected, but it doesn’t work so well if you want finer control of your mouse pointer. For example, when I was demonstrating the Wiimote integration with my laptop I was quite nervous about the demo not working, and this was made apparent by the shaky lines that I was drawing with the Mouse Gestures. As a result some of the Mouse Gestures did not register.

A better approach would be to do what Johnny Lee did with the Wiimote to create the Wiimote Whiteboard. Johnny Lee used the Wiimote as an IR camera pointed at a projector screen, and created a pen with an LED which the Wiimote can track. This approach provides for more accuracy and smoother movements of the pointer.

The barrier of entry to the Wiimote Whiteboard is creating the IR pen. Johnny Lee suggests wiring up a circuit containing an IR LED, momentary switch, resistor, and power supply, then shoving it into a pen. If you google “IR pen” you will also come up with some complicated solutions. One guy even tried to cram the circuit into a highlighter casing.

Simple IR Penlight for Wiimote Whiteboard

My solution is really quite straightforward. In fact you only need to go to your local electronics store and pick up two items: an LED keyring torch; and an IR LED. When purchasing an LED keyring torch, make sure that you can easily replace the LED. I used this LED keyring torch from Jaycar Electronics. I then pulled the torch apart, pulled out the LED, and replaced it with an IR LED. This solution meant I didn’t have to do any soldering or fiddling around. It all fit together into a nice compact form factor that cost me less than $10, and took no longer than 10 minutes to switch the LED.

12 thoughts on “Simple IR Pen for Wiimote Whiteboard

  1. Nick

    Hi Robert,

    The keyring didn’t have enough power for it to be detected properly by the Wiimote. The IR LED tend to pulse, which wasn’t very good for drawing or dragging windows around. It did however work for simple navigation such as point and click.

    Cheers,
    Nick.

    Reply
  2. Pingback: IR Pen version 2 at Nick Carroll, PhD

  3. Marco

    I want share with you a veru powerfull software to be used with the wiimote whiteboard

    http://code.google.com/p/ardesia/

    Ardesia enables you to make colored free-hand annotations on your computer screen, record it and share on the network.

    This is especially useful when making presentations, to highlight things or point out things of interest.

    The tool facilitates the online presentations and demos showing in real time your computer screen to anyone in the network.

    Ardesia is XInput-Aware, so if you have a mouse, a graphic tablet, a touch screen, a wiimote whiteboard or a commercial whiteboard; you can draw lines with different strength, select color, erase things and draw arrows.

    You can free-hand draw geometrical shapes using the shape recognizer, insert text with the keyboard and highlight screen areas. You can draw upon the desktop or select an image as background.

    Reply
  4. Marco

    Ardesia 0.4 is out!
    http://code.google.com/p/ardesia/

    Ardesia allows to draw and sketchup everywhere

    The binary package is released for Ubuntu Lucid and Windows 7
    you can use Ardesia with all the linux flavours, the source code
    is free and released under the GPL terms

    You can use it with a wiimote whiteboard or a graphic tablet;
    in this way the lines are writing lighter or darker depending on
    the pen pressure

    You can export your work in the pdf format to create simple presentation, tutorial or document

    Ardesia allow to record and the stream on icecast streaming server
    thanks to the vlc media player and streamer

    …Ardesia is free and simple as you are; Try it now!

    Reply
  5. Pietro

    WiildOs 1.3.2 is out,
    WiildOs is an educational live and installable GNU/Linux distro build
    from the Ardesia stuff and thinking for teaching purposes. It includes
    the software that enable you to use a wiimote whiteboard.

    WiildOs includes lubuntu-desktop, python-whiteboard, ardesia, sankore,
    spotlighter, curtain, florence-ramble, wmgui, wiican, easystroke,
    whyteboard, vmg, shutter, gimp, tuxpaint, tuxmath, tuxtype, dia,
    scribus, audacity, stellarium, xournal, gcompris, geogebra, wxmaxima,
    openoffice.org, jokosher, musescore, solfege, stellarium, dasher,
    eviacam and more!

    More info on http://code.google.com/p/ardesia/wiki/WiildOs

    Build a wiildOs4win wubi like installer that allow to install wiildOs
    inside windows without partitioning the hard disk.
    http://ardesia.googlecode.com/svn/wiki/wiildOs/wiildOs4win.exe

    Changelog
    - new kernel 2.6.35; this add the support to some new devices including
    the toshiba bluettoth
    - thunderbird in now the default mailer instead of sylpheed
    - firefox is the default browser instead of chromium
    - removed xscreensaver for performance issue
    - remove all the gnome office suite; we use openoffice suite
    - fix the wiican program; now you can you use the wiimote as controller
    usinf the infrared camera or the accelerometers in a visual user
    friendly way

    Reply
  6. Jackie Lee

    The IR Pen should support handwriting. most of the IR Pen DIYed don’t support handwriting, need a button, its not friendly.

    Our IR Pen support wiimote and we are the professional company that producing portable interactive whiteboard.

    Our IR Pen support handwriting, friendly, durable and beautiful. Hope you can learns more about it.

    Reply