Trouble Getting Wiimote to Recognize Arduino Nano

Im trying to make an arduino nano and BNO055 act like a wiimotion plus to upgrade the wii's IMU, and I've been taking code from this github and following instructions from wiibrew on extension controllers and the wiimotion plus (wmp) itself.

So far, i have sda and scl hooked up to the A4/5 pins on the arduino nano, and 10k pullup resistors. Im playing wiisports, which checks for the presence of a wiimotion plus, and I've been receiving a bunch of requests to register 254 (0xfe), which makes sense, as wiibrew states:

Games attempt to detect the Wii Motion Plus by trying to read the two-byte expansion identifier at 0xA600FE (they try up to 3 times, then wait 8 seconds, then check again). If a Wii Motion Plus is not present, or it has already been activated, then the attempt to read those bytes will fail with error 7.

and the expansion identifier for an inactive wmp is 0x0005, I've been writing two bytes, 0x00 and 0x05, to that register. But it doesn't accept it and the wiimote still keeps searching up the registers (as shown by my logs):

15:31:07.957 -> WM+ tester
15:31:19.167 -> Handling request to register 254
15:31:19.167 ->       Sending bytes: 0,5,5,1,0,0,232,3,
15:31:19.167 -> Handling request to register 254
15:31:19.167 ->       Sending bytes: 0,0,0,0,0,0,197,0,
15:31:19.167 -> Handling request to register 254
15:31:19.214 ->       Sending bytes: 196,0,192,0,193,0,194,0,
15:31:19.260 -> Handling request to register 254
15:31:19.260 ->       Sending bytes: 198,0,1,0,0,46,50,0,
15:31:19.260 -> Handling request to register 254
15:31:19.260 ->       Sending bytes: 0,0,0,0,0,0,0,0,
15:31:19.307 -> Handling request to register 254
15:31:19.307 ->       Sending bytes: 0,0,0,0,0,0,0,0,
Now, after it reads this, it [i]should[/i] move on to activating the wmp by writing 0x04 to 0xfe, but for some reason it keeps checking thinking that there's nothing there and i don't know why. Here is my code if anyone can help me.

WiiMotionPlusV2.ino (7.51 KB)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.