Sunday, April 25, 2010

Light Follower - 2 Axis


Here it is - My rendition of a 2-axis light follower. I went ahead and clipped the IR Cam from the wiimote to cut down on weight. I put the camera along with the required oscillator in a project box (from radio shack). I also included an LED on the box; it lights up when light is seen by the camera. A serial port is used to connect the box to the microcontroller.
Here are some Pictures:


Here is a video:

video

http://www.youtube.com/watch?v=y41o7KieRgw

Here is a link to the code:

Would you like me to build you a project box with a lovely Wiimote Camera? Let's talk!

5 comments:

  1. Impressive!!!
    How did you connect the IR camera to arduino?

    ReplyDelete
  2. The camera is a I2C communication device (a Two Wire Interface). The atmega series in the arduinos support I2C. Analog Pins 4 and 5 on the arduino board are designated for I2C Data and Clock.

    I found the correct code from others who figured it out first.

    ReplyDelete
  3. Thank you for your response!
    I searched for instructions on interfacing the Wiimote camera to arduino, and got little confused!... :(
    A clock circuit is definitely needed. But, could you please tell if LTC4301L (bus voltage converter) is necessary?
    Thanks again!

    ReplyDelete
  4. It is recommended; However I did not use the level converter. If you wanted to do everything as 'up to spec' as possible then you should. There is no information out there on voltage limitations of the Wiimote's Camera.

    ReplyDelete