PDA

View Full Version : PVision library for Arduino (Pixart/Wiimote to Arduino)



shobley
03-01-2009, 04:15 PM
Based on the work of Kako, I just uploaded my first bash at a C++ object library for the Arduino that interfaces to the Pixart sensor on the Wiimote.

You will of course have to desolder the sensor and build a "harness" circuit to provide the Pixart camera with what it needs - 3.3v and 25Mhz clock.

All feedback greatly appreciated...

http://stephenhobley.com/blog/2009/03/01/pixartwiimote-sensor-library-for-arduino/

iBot
03-01-2009, 05:07 PM
The pixart cameras are really neat.

This is a board we did for the RoboNova with regulator and FET for the I2C level conversion.
http://robosavvy.com/Builders/i-Bot/HPIM0814.JPG

http://robosavvy.com/Builders/i-Bot/HPIM0817.JPG

I kept the IR filter and cut it to fit. This seems to help cut out normal lights.

The small green board is a Robobuilder 3 axis accelerometer which takes advantage of the 3.3V and the level conversion too.

I bought two faulty Wiimote on ebay and both had good sensors. The sensor is fairly easy to remove. While the signal pins are tiny, the holes do not seem to be plated through, so once clear of solder on the bottom they remove OK. Just the tabs at the side to unsolder a bit at time after that.

I am only tracking single IR sources so far, so waiting to see what others do with your library