Author Topic: How to detect more than 4 IR LEDS  (Read 4584 times)

Offline Menna

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: 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

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?

Offline boonjin

  • *
  • Posts: 929
  • Karma: +28/-0
  • Smoothboard Developer
    • View Profile
    • Smoothboard
Reply #1 on: 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!


Offline marcwolf

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
    • Marcwolf's home
Reply #2 on: 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