Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » General Category » General Discussion » How to detect more than 4 IR LEDS
Pages: [1]
  Print  
Author Topic: How to detect more than 4 IR LEDS  (Read 1929 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 2
Offline Offline
View Profile
« on: April 01, 2010, 06:22:53 PM »

Hello,
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?
Thanks
Logged
Guru
*
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #1 on: April 01, 2010, 08:04:47 PM »

Hi,

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.

Regards,
Boon Jin
Logged

Smoothboard
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!

BoonJin[/url
*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile WWW Email
« Reply #2 on: October 01, 2011, 07:53:30 AM »

Hi.
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
Marc
Logged
Pages: [1]
  Print  
 
Jump to:  

Clicky Web Analytics