Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 5.11 KB

wii.md

File metadata and controls

76 lines (50 loc) · 5.11 KB

RetroSpy Setup for Wii Extenstion Controllers

Why Experimental?

Wii Extension controller support is experimental because it requires a newer faster microcontroller board and its just not as well tested as the existing Arduino hardware/software. Also its not perfect. Handling the decryption of the signal works about 90% of the time, but sometimes I am not able to correctly decrypt the data. In this case, or the case you see the big lock image, just unplug and replug in the controller and it will usually sort itself out. Additionally, I never did get non-OEM Wiimotes to work correctly, this is something I will circle back around to later.

Components and Equipment needed

  1. Teensy 3.6 with Pins (The code has been confirmed to also work with a Teensy 3.5 @ 168 Mhz)
  2. Breadboard
  3. USB cable to connect the Arduino to your computer]
  4. Wire cutters/strippers
  5. (optional) Digital multimeter or a cheap continuity tester
  6. Controller extension cable
  7. Wires to solder into the controller extension cable to go to the Teensy/Breadboard (Male to Male Dupont wires, such as these work very well)
  8. Soldering iron and solder
  9. Electrical tape and/or heat shrink tubing

Software

  1. The latest Arduino software
  2. The latest Teensyduino software
  3. Firmware for the Teensy
  4. PC software to connect to the Teensy and display the controller

#3 is included in the release package of RetroSpy. The firmware is located in the experimenta\wii folder and is called wii.ino. Just run RetroSpy.exe to launch the display software.

Instructions for making a Wii RetroSpy cable

You will need to make a splice cable, and connect the controller lines to the listed digital pin on the Teensy. evilash25 made a very good guide for building splice cables. The correct connections for Wii are:

Wii Teensy Digital Pin
3.3V Not Connected
SCL 18
3.3V Not Connected
SDA 19
GND GND

Software and Setup

Once the wiring is done, hook everything up to your game system and computer, now for the easy part.

  1. Plug in the USB cable to your Teensy and PC.

  2. Install the latest Arduino software, download the Windows Installer option.

  3. Install the latest Teensyduino software, download the Windows Installer option.

  4. Once installed, open the Arduino software, go to the Tools menu and set:

Option Value
Board Teensy 3.6
USB Type Serial
CPU Speed 240 MHz (overclock)
Optimize Fastest + pure-code with LTO
  1. You should now see "Teensy 3.6, Serial, 240 MHz (overclock), Fastest + pure-code with LTO, US English on COMX" at the bottom right corner if everything is working. If not, you may need to restart and/or replug the USB connector.

  1. Download and unzip the latest release of RetroSpy somewhere.

  2. Select File->Open and open the wii.ino file from the experimental/wii folder of the unzipped RetroSpy release.

  3. Hit the upload button (right pointing arrow) located just under the 'Edit' menu, this will upload and run the software on the Teensy. If its your first time programming the Teensy it may ask you to push the button on the board in order to program it. It should look like the following image. Once successfully uploaded, you won't have to upload software again to the Teensy again unless you want to change controller modes.

  1. Run RetroSpy.exe.

  2. The selection here should be pretty straightforward, select the 'COMX' port that the Teensy is on, select the controller you are using, select a skin, and hit 'Go'. If everything is hooked up correctly you should see your controller and inputs displaying.