Author Topic: Wiimote I2C connectivity  (Read 9408 times)

Offline tlauwers

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: March 12, 2008, 05:18:58 PM
Hey,

I'm new to Wiimote hacking, and am trying to figure out what's possible before digging in.  I've got an interest in robotics, and would love to develop a daughterboard for the Wiimote which communicates over I2C.  From my web research it looks like reading data to the Wiimote is possible as long as you format the data in the same way as the nunchuk or classic controller.  However, does anyone know if it is possible to arbitrarily write to a peripheral over the I2C bus?  A daughterboard wouldn't be much fun unless you could use the Wiimote to tell it to turn on motors, LEDs, or servos.

Secondly, if writing is possible, can one tell the Wiimote to start sending data automatically over the I2C bus?  For example, can I, with a single bluetooth command tell the Wiimote to stream the accelerometer data over I2C to the peripheral?  I don't expect this to be possible, but it'd be awesome if it was!

-Tom



Offline ZaPPZion

  • *
  • Posts: 137
  • Karma: +11/-1
    • View Profile
Reply #1 on: March 13, 2008, 06:33:27 PM
You should check another thread:
http://www.wiimoteproject.com/other/red-laser-and-i2c-bus-done-t579.0.html
that guy hacked the wiimote to send info of the camera to his pc through I2C and RS232



Offline inio

  • Wiki Admin
  • *
  • Posts: 124
  • Karma: +5/-0
    • View Profile
    • my Wii Remote projects
Reply #2 on: March 14, 2008, 11:54:57 AM
That was talking about talking to the camera over I2C.  This question is about using the extension port (also I2C).

To answer your question, yes.  Reads and Writes to the extension memory space turn into I2C commands.  I'm not sure what the exact mapping is though - shouldn't be too hard to figure out though.

If you learn more, please contribute here in addition to the usual places.