BlueCubeMod/README.md

56 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2019-04-29 06:17:28 -04:00
# BlueCubeMod
2019-04-29 06:27:45 -04:00
ESP32 based GameCube Controller Bluetooth conversion for Nintendo Switch
2019-04-29 06:27:45 -04:00
v1:
Mac/PC/PS4 supported (tested using Dolphin Emulator on Mac, for Switch/RaspberryPi, use an 8Bitdo USB adapter)
2019-04-29 06:27:45 -04:00
v2:
Switch support only - no adapter required
2019-04-29 06:27:45 -04:00
## Wiring:
- Connect pins 23 and 18 to GameCube controller's data pin (Red)
- Connect GND to controller's ground pin (Black)
2020-02-21 13:00:58 -05:00
2020-02-21 13:05:28 -05:00
![alt text](Modding%20Resources/GameCube%20Controller%20Pinout%20SideView.jpg?raw=true)
2020-02-21 13:00:58 -05:00
2020-02-21 13:05:28 -05:00
![alt text](Modding%20Resources/GameCube%20Controller%20Pinout%20TopView.png?raw=true)
2019-04-29 06:27:45 -04:00
## Build instructions(v2):
2019-04-29 06:27:45 -04:00
- Use this esp-idf fork here: https://github.com/NathanReeves/esp-idf
2019-04-29 06:27:45 -04:00
- Set up the esp-idf environment: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/
2019-04-29 06:27:45 -04:00
- Get the BlueCubeModv2 firmware
2019-04-29 06:27:45 -04:00
- If you havent flashed an ESP32 project before, you need the port name of ESP32 for the config file. If using unix system, to get the port name of a USB device run:
`ls /dev`
- Find your device on the list and copy it. It should look something like: /dev/cu.usbserial-DO01EXOV or /dev/cu.SLAB_USBtoUART
- cd into project folder and run:
`make menuconfig`
- Paste your port name into Serial Flasher Config -> Default Serial Port
- Compile and flash the program, run:
`make flash monitor`
Resources used:
http://www.int03.co.uk/crema/hardware/gamecube/gc-control.htm
https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering
https://github.com/timmeh87/switchnotes
Thank you to [@Molorius]( https://github.com/Molorius ) for implementing the bluedroid Classic stack for esp