Saturday, September 4, 2010

Interfacing a Wii Nunchuk to a Microchip PIC Microcontroller Over I2C

May 26, 2010 by admin  
Filed under Video Reviews

Reading data over I2C from a Chinese knock-off Wii Nunchuk to a Microchip PIC18F4550 microcontroller. Simple demonstration displaying the data on a LCD and showing how the data changes when the Nunchuk is used. Recorded on a Panasonic TZ5 at 720p 15FPS. Used SUPER to drop bitrate and framerate (to 10FPS). 470MB down to 70MB

Game Copy Wizard

Comments

2 Responses to “Interfacing a Wii Nunchuk to a Microchip PIC Microcontroller Over I2C”
  1. DotMusclera says:

    @St3venAU Initilization for an authentic Nunchuk is to I2C send [start] 0xA4 0×40 0×00 [stop]. My code is to I2C send [start] 0xA4 0xF0 0×55 [stop] [start] 0xA4 0xFB 0×00 [stop]. I can’t link the source, but search “Kalman Filtered Nunchuck & Wii Motion Plus” and you’ll find it.

    I’m in the process of getting a website up to document this more.

  2. St3venAU says:

    nice work. i’ve ordered one off ebay myself. it was the cheapest way to get hold of an xyz accelerometer.

    what did you have to do different compared to the genuine Nintendo ones?

Copy Protected by Tech Tips's CopyProtect Wordpress Blogs.