Wii Remote IR Camera Hack with Arduino Interface

Step 1: Extract the Wii IR camera

Picture of Extract the Wii IR camera


You'll need a Wii remote or "Wiimote" to start with. Normally they are about $40, in the end that is not too bad for a pretty awesome sensor. Otherwise you can check out ebay or elsewhere for used or broken Wii remotes.

You'll need to rip apart the case. It has some crazy three pronged screws. I didn't want to completely trash the case so I made a small tool to take it apart.

Now you need to desolder the 8 pins and the 2 struts holding the camera on the board. I used some desoldering braid. It wicks the solder away and makes it easy to get the camera out. Be careful, don't break the camera!

You might want to keep the rest of the parts. You might be able to scrap other parts. Also, If you decide later to use the Wiimote again, you could always put the camera back in.

Step 2: Interface Circuitry

Picture of Interface Circuitry

We'll need a small circuit to interface the IR camera to the arduino. I got all my information from other sources. Here is an exhaustive list:This fellow (kako) seems to be the first. Here are his pages translated. (Please note that the various translation services online all give slightly different results. It is useful to try several of them.)The clock is pretty simple. You need two capacitors, a 25 MHz crystal, a 1 Meg Ohm resistor and a 74AC04 inverter logic gate. These are all pretty standard parts, you can get them all from Digikey.com or other online electronics sites.We'll handle the i2c circuit in the next step

Step 3: I2c Circuit

This part is a little trickier. The i2c chip is a tiny surface mount chip, so you'll need to solder that. First you need the surface mount to DIP board. This will allow us to work with the tiny chip in a prototyping circuit. This chip is the communication device between the 5 volt arduino and the 3.3 volt Wii camera.

The chip:

Step 4: Attach it all to the Arduino

Picture of Attach it all to the Arduino




All of the IR camera to i2c and clock connections are shown in the Stephen Hobley schematic (check out the previous steps.
You'll need to connect the arduino to the i2c chip, (also shown in the schematics) and connect the servo to the arduino (I have mine on pin 9, just like in the arduino servo example.)

The arduino chip requires +5 volts and the camera requires +3.3 volts. I had a multiple output power supply, so I gave each part of the circuit what it needed. If you only have a +5v power supply you could add a 3.3 volt voltage regulator to drive the camera.

Step 5: Program the Arduino

Picture of Program the Arduino




This is pretty easy and the fellas who I've linked to worked out most of the details. Good thing, we can get straight to playing around with it.

If you need information about arduino's, just google it. I found all of my info there easily.

First thing, get the servo working. Run the servo example code in the arduino programmer to get your feet wet.

Second, download Stephen Hobley's Wii camera library and example code.

Connect the arduino to the same pins that he used. Make sure your i2c circuit and clock are all connected and the power is on and then run the code. You may need to insure that the Pvision.h file is in your arduino library so that is it properly reference when compiling.

Once running, in the serial I/O stream in the arduino programmer you should see data coming in as long as the camera sees some IR light.

I first used a match to check the camera. It worked fine. Later I used an IR led since I needed something a little more steady (and less burny.) You can use a digital camera to see if your IR LED's are working. The camera image sensor picks up the IR light that your eyes cannot see. This is a reassuring way to truly know if the LED's are working.

Step 6: Using the camera to control something.

Picture of Using the camera to control something.


Finally we can run the combined code, actuating the servo with the Wii IR camera output. This is the proof of concept type of project. After proving that this is possible we can go on to building more complicated projects with confidence that we can utilize the Wii IR camera.
#wiimote #gesture #motion sensing #camera #hack #ir camera #interface #infizeal #tricks #technologies


  1. if you require services of a certified and experienced ethical hacker for your general ethical and specialized Hacks with proof ?
    + Access various social networks (facebook, twitter,
    Instagram, Google+, etc)
    + Specialized and experienced hacking into Educational
    Institutions, Change of Grades, Clearing of Criminal Records,
    Blog Hack, Clear Credit Card Debts, Drop Money Into Credit
    Cards, Smartphone Hacks, Bank Account Hacks in various parts
    of the world etc,
    + Hack into email accounts (gmail, yahoo, aol, etc)



Post a Comment

Popular posts from this blog

How to hack your xbox 360 completely

Defusing Fork Bomb