Wiimote Project » General Category » General Discussion » How to detect more than 4 IR LEDS
: [1]
: How to detect more than 4 IR LEDS  ( 3564 )
0 and 1 Guest are viewing this topic.
Karma: +0/-0
: 2
Offline Offline
« : April 01, 2010, 09:22:53 AM »

I use wiimotelib to detect 4 IR LEDS. I need to mak them 5 IR LEDS
I've read "With more than four objects visible, the camera is prone to rapidly switching between some of them. This could allow perception of more than four objects, at a reduced response speed and reliability." on  http://wiibrew.org/wiki/Wiimote

If the IR camera switches between more than 4 objects....which object does it choose to switch the 5th object with?
How do I know when it switches 2 objects
And Does it switch between only 2 objects or it doesn't have to switch always between the same 2 objects?
Karma: +28/-0
: 929
Offline Offline
Smoothboard Developer
« #1 : April 01, 2010, 11:04:47 AM »


If you would like to detect 5 IR LEDs and you are switching between them rapidly. The positions of the IR dots detected will be randomly allocated within the 4 locations. In other words, any object may be switched with the 5th object and this will go on indefinitely.

A way to track differentiate the object is that you will have to manually process the data of each object and find the previous detected position and the current location. With this, you can just find the closest point and it should be referring to the same point.

Boon Jin

Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

Karma: +0/-0
: 3
Offline Offline
« #2 : September 30, 2011, 10:53:30 PM »

One way you can do this is to group the LED's into set of 4 and turn them on and off as needed.

For example  LED's are A,B,C,D and E,F,G,H

Turn on A,B,C,D  and read the positions. Then turn them off
Turn on E,F,G,H and read the positions. Then turn them off

Depending on how fast the WII remote is at reading the values will determine how many sets of leds you can control.
Hope this helps
: [1]

Clicky Web Analytics