Wiimote IR blob tracking camera object here
Graham Stabler
Posts: 2,510
Please find attached my object for using the small camera found in the remote control for the wii console. This camera has an I2C interface and can provide high resolution position information for up to 4 blobs of light. This can be used for all manner of cool things.
Here is one of the demos that is included in the files:
www.youtube.com/watch?v=TOoXNzTXhe4
Giving an idea of what is possible.
The code is mostly assembly so fast and light on memory, I do have a spin version but I don't know when I will get a chance to clean it up.
One little tip. If you want to track LEDs then use IR LEDs and make sure you take the red/black plastic from the front of the remote and glue it on the front of the camera to block out ambient light. Another tip is to use high brightness surface mount IR leds without lenses. If the led has a lens it becomes very directional and hard for the camera to see at some angles. I have some nice kingbright units KP-3216F3C that work well.
I'll try and get some more demos up and running in the near future.
Graham
Here is one of the demos that is included in the files:
www.youtube.com/watch?v=TOoXNzTXhe4
Giving an idea of what is possible.
The code is mostly assembly so fast and light on memory, I do have a spin version but I don't know when I will get a chance to clean it up.
One little tip. If you want to track LEDs then use IR LEDs and make sure you take the red/black plastic from the front of the remote and glue it on the front of the camera to block out ambient light. Another tip is to use high brightness surface mount IR leds without lenses. If the led has a lens it becomes very directional and hard for the camera to see at some angles. I have some nice kingbright units KP-3216F3C that work well.
I'll try and get some more demos up and running in the near future.
Graham