Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - zainey

Pages: 1 2 3 4 5
IR Pens / Re: Wiimouse
« 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.


IR Pens / Re: Wiimouse
« 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.


I have been able to use two programs running side by side on one PC to communicate independently with one wiimote, using one bluetooth dongle. 

With a PC and Wii it may be a different situation. See if you can pair the balanceboard (essentially a wiimote) with both a PC and a Wii at the same time. I do not know if the bluetooth protocol allows this.

If so, the PC could run a program like glovepie to obtain the controller status.

Reading data from the controller should be straightforward, however writing or overwriting data on the controller could cause conflicts with the wii.

Also, some data written to the control registers of the controller cannot be read back. So if the Wii sets some unreadable control register then glovepie or other sniffer program won't be able to detect it. 

If will either work or not work.

Good luck.


Maybe you guys should read this .....

Alternatively, for the programming free method, run FreeTrack 2.2 side-by-side with your application and use the FreeTrack camera view and sensitivity (threshold) slider to improve your IR Tracking.

I suggest opening FreeTrack AFTER your your main application, as it reinitialises the Wiimote control registers to the more sensitive base settings.

The same applies if you close the application and reopen it again.

Good Luck.



I have tried the "crossed" circularly polarized 3d cinema glasses from Real3d and they do not work with my 940nm IR LEDs.

Likewise, normal plane polarized glasses don't seem to work for me either.

I was viewing the IR LEDS through my digital camera.

Maybe proper IR polarizers are required .....

If you have some better information, please let us know.




This is an untested idea.

Use a circular polarizer on the IR microphone and the wiimote.

You need to set them up so they are 'crossed', as this blocks the IR light transmission from the IR transmitter to the wiimote, but leaves the respective IR pen channel and IR microphone channels unblocked.

For the circular polarizer, I would try getting one of those disposable clear 3D glasses from the cinema. The left and right sides are oppositely polarized, or 'crossed' as previously described.

The polarization effect may still work in the near infra-red region of the leds used.

Good luck.

General Discussion / Re: Dual Screen IWB
« on: March 25, 2010, 07:54:19 AM »

In principle, there is no theoretical limt to how many wiiremotes can be tiled together in a wall-board.

The easiest setup would be to tile the whiteboard panels in a single row so the wiiremotes could be mounted linearly up high.

Each panel would have to be individually calibrated, however the common overlap points would only need to be calibrated once.

The wall-board program would automatically sort out which wiimote has the focus for a given pen location.

At a minimum, four ir pens could be tracked at once across the wall-board.

Also, if more range for a large wall-board was needed, then a small telescopic lens could be fitted to each wiiremote.


Comments and Feedback / Recent posts
« on: February 28, 2010, 07:26:37 PM »

I would like to see more recent posts shown in the "Recent Posts" list.

The number of posts listed should preferably be at least 15 or 20.

This would reduce the chances of missing a recent post for an irregular visitor (not having to look every day, or even twice a day).

Another option is to put up a "Recent Post" tab on the home page, which would drop down a "Recent Post" list.

This would save time having to click onto forums and scrolling to the bottom of the page.

This is not the only website that makes searching a little inconvenient.


Other Projects / Re: nunchuk wires. what is gray wire for?
« on: February 18, 2010, 07:35:32 PM »


I had a closer look at a wired nunchuk and found the following:

1. At the plug, the 3.3V pin (Pin 1) is internally bridged with Pin 3, to provide an "attach" signal to the Wii Remote.

    There are only four wires going into the back of the 6 pin plug, and a separate wire for the shielding.

2. The grey/black wire from the Nunchuk circuit board is the earth shielding connection for the cable.

   The grey/black wire is wired internally to earth (to Pin 6).

I confirmed these connections using lead wires inserted into the spring slots located on the face of the plug, and a multimeter.

As for the DET marking, I found no such markings on or inside the Nunchuk.


Other Projects / Re: nunchuk wires. what is gray wire for?
« on: February 17, 2010, 09:32:07 PM »
Technically, the nunchuk only needs 4 wires for operation. Power, ground, clock and data.

The fifth wire is connected to the plug so the Wii Remote knows that the Nunchuk, or other extension, is connected.

This DET wire ( possibly meaning detect ) , is connected from 3.3 V to Pin 3.

At both end of the Nunchuk extension cable, the 3.3 V pin is connected to Pin 3.

At the Wii Remote end of the cable, a loopback wire within the plug connects the 3.3 V pin to Pin 3.

At the Nunchuk end of the cable, the circuit board for the socket is soldered between the 3.3 V pin and Pin 3.

The so-called detection wire is terminated at both ends of the cable, and the signal is not carried through the cable.

It appears the Nunchuk must also need acknowledgement that it is connected to the Wii Remote.  :-\

Some of this detailed information is described in the patent documents for the Wii Remote, which can be found on the net.


General Hardware Talk / Wii Remote Motionplus extension cable.
« on: February 10, 2010, 05:18:03 AM »


I cannot find any mention of a wired, or wireless extension for the Wii motionplus dongle.

So I made a wired extension cable for the MotionPlus dongle.

And it works.

In GlovePie 0.43 it reports true to hasMotionplus, and gives all the angular rates.

I tested it out with the lednerg motionplus script and it shows up the disparity in respective motions between the Wiimote x,y,z and MotionPlus yaw, pitch and roll. 

How to

I just needed to run six wires in a cable from the Wiimote to the MotionPlus dongle. So simple in principle.

The Nunchuk extension cable won't work, because Pin 4 is terminated and Pin 3 is tied to the 3.3 V pin via a loopback wire at the Wiimote end. 

This is the proof of principle prototype to test the concept out.

I use a male-male 6 pin firewire cable and cut one end off. On the free side of the cable I soldered-on solid sheathed wire ends suitable for making a connection to the Motionplus dongle.

Here is the connection trick. I inserted the wire ends into the spring slots on the face of the dongle connector.

Machined wire-wrap pins also fit solidly into the spring slots. However there is a tendency to bend the brass strips if inserted on the wrong side of the tongue. As another precaution, place a thin insulator in the slot so the opposing pins don't accidently bridge the gap. Lead wires can conveniently be inserted snugly into the other end of the machined pins.


The freed motionplus dongle could be put to use for measuring angular rates for all kinds of things without the Wiimote being in the way, provided the attachment cable does not present a problem.

Not only that but the Nunchuk should still work fine if you want to combine external accelerometers and a joystick.

What next

Make a wireless verion please - It can't be that difficult in this day and age.


Programmers Den / Re: GlovePIE and Mouse complications
« on: January 05, 2010, 12:17:43 AM »


This advice may help you.

The top left corner is reported by glovepie as (0,0), but the centre of the screen is actually at (512, 384).

To fix the 'stuck cursor' problem you need to be aware of this origin translation and the Y-direction is upside down.

Also try // commenting out your modules // until something actually works properly.


Project Ideas / Wiimote as wireless scientific sensor
« on: December 14, 2009, 10:00:54 PM »


Saw this article at Wired you may be interested in.

Use of a Wiimote and laptop as a cheap data logger for geophysical data.


Project Ideas / Make a 3D Wii Whiteboard - Concept Video Included
« on: December 05, 2009, 08:09:05 PM »


I found a "3D" viewing technology that could "easily" be adapted from the existing Wii Remote and Wii Whiteboard technology.

Basically it uses a flat viewing page which is moved in front of a projector, in which video effects such as magnification or 3D cross-sections can be superimposed.

The video system co-ordinates the images shown on the page by sensing the spatial location of the infrared LEDS at the corners.

See here:




Its not head tracking but it uses Wii controllers to do things audio visually.

WiiWhorld :

Whorld is a free, open-source, live visual synthesizer for sacred geometry. It uses math to create a seamless animation of mesmerizing psychedelic images. You can VJ with it, make unique digital artwork with it, or sit back and watch it like a screensaver. The WiiWhorld project makes it possible to control the Whorld visualizer with the Nintendo Wiimote.


Fractice is software by Chris Korda:

And to connect your Wiimote, you can use this script, in conjunction with the free, powerful game controller-mapping software for Windows, GlovePIE:



Id still like to see people push fractals in different aesthetic directions, but I find this fascinating, nonetheless. Curious to see what folks do with it.


Pages: 1 2 3 4 5