Wiimote Project

Hardware Support => IR Pens => Topic started by: bartgoemaere on October 13, 2010, 09:59:36 AM

Title: Wiimouse
Post by: bartgoemaere on October 13, 2010, 09:59:36 AM
IR-Mouse for use with the Wiimote Whiteboard

I've made a new IR-pen, let's say kind of an IR-pen.
It's a recycled computermouse, with the LED at the tip, pointing up.
Pressing the mouse button turns on the LED. This way, you can use the IR-mouse at the projected surface.

see http://www.ictronse.be/SG/wiimouse.html (http://www.ictronse.be/SG/wiimouse.html) for details

Title: Re: Wiimouse
Post by: zainey on October 14, 2010, 09:01:44 PM


That WiiMouse seems to be a really interesting idea.

At first I thought it was a wireless mouse, but it appears to be build from a wired one.

If you are considering a next step, a wireless version of your WiiMouse might be an interesting project.

You could possibly wire up the IR LED from the Left Mouse Button to the Right Mouse Button as well. The IR LED would be used for position detection only. The wireless mouse button and scroll button commands would work normally as a mouse.

Going further, a second IR LED, or other means for detecting the orientation of the mouse on the screen could be used, for precision optical tracking by the mouse itself to smooth the coarser output from the Wiimote tracking.

Thanks for your interesting post.
Title: Re: Wiimouse
Post by: bartgoemaere on October 18, 2010, 01:52:30 AM
Hi Zainey,

your first idea seems interesting.
I would say, take a wireless mouse, disconnect the existing LED at the bottom and connect an infrared LED at the tip, pointing up. Use the "power-switch" - if it exists- to power the LED (meaning the LED is constantly lid when using the mouse). In the wiimote software, don't use the LED as click, but only as move. The normal click (left and right) and scroll-functions will still be available. Nice idea!

The second idea I don't quite get it. You probably need some other software to do that?

When I have some time, I'll try the first idea.

Title: Re: Wiimouse
Post by: zainey on October 18, 2010, 09:29:11 AM

Prior to your posting about the WiiMouse (which is highly original), I was thinking about some more far out WiiMouse idea.

It occured to me to convert a Wireless Nunchuk to Whiteboard WiiMouse.

The C and Z buttons would be the right and left mouse buttons. They would be wired in parallel with a transistor circuit which would turn the IR LED on when either was pressed.

The nice aspect of the wireless nunchuk is the rechargeable lithium battery. This should supply lots of power for one or more IR Leds, and it can be recharged via a USB cable.

The second nice aspect is the remaining analog X-Y joystick. There are two potentiometers with 8 bit resolution  (one per axis) which could be interfaced into a keypad, switches or a force sensor for the pen tip.  

At the moment I have basically put the two small circuit boards comprising the wireless nunchuk onto a breadboard, and demonstrated that it still works as a nunchuk.

My next step (when I feel adventurous) is to switch an IR Led from the C and Z mouse buttons. I have to learn up on some simple transistor theory but I know I can do this.

I plan to get the mouse functionality working through GlovePie.

These kinds of projects are educational and empowering, and they should be taught in school.

Also, its a wonder the Chinese manufacturers haven't woken up to converting their nunchuks to whiteboard mouse pens. Its an easy modification for them.