your tonic is long time ago but i ask the same question. How to keep the 1,2,3,4 dots in good order?
I think about the sequencing of dots like this: 5 steps . Switch IR leds on/off like this :
1 0 0 0 ,1 1 0 0 ,1 1 1 0 , 1 1 1 1, 0 0 0 0.
I don't know the interval between the steps.
Someone can tell us what the best way.
for more than 4 points, maybe needed to synchronise the sequence with computer. (computer control the sequence and then you can separate the dots by packs. 1,2,3,4 for this and 5,6,7,8 for that).
Bye
Thanks.
Hi,
Having the multiple IR dots switched on and off will result in the Wiimote to output the dots in a random order. If the IR dot does not go off (continuously detected), the order of the dots will remain unchanged.
Therefore, you will need to do additional processing to check to previous position and current position of the detected IR dots to match the IR dot to the correct position.
I have experimented before using a microcontroller to generate ID for each LED to match a specific sequence. However, due to the Wiimote's output data rate of only about 100Hz it will be quite difficult to do any real time detection.
Regards,
Boon Jin