Browse Source

N64 and Gamecube documentation/pinout

master
Travis Burtrum 2 years ago
parent
commit
f754902fe1
  1. 54
      readme.md
  2. 42
      src/N64Micro.cpp

54
readme.md

@ -23,33 +23,33 @@ Wiring @@ -23,33 +23,33 @@ Wiring
![DB-25 Pinout](images/db25pins.jpg)
| DB-25 Pins | Arduino Pro Micro GPIO | ESP32 GPIO | RADIO | SNES | PSX |
|---------------|------------------------|------------|----------|--------|--------|
| 1 | 1 | | - | - | - |
| 2 | 2 | | - | LATCH | DATA |
| 3 | 3 | | - | CLOCK | CMD |
| 4 | 4 | | - | - | ATT |
| 5 | 5 | | - | - | CLK |
| 6 | 6 | | - | - | - |
| 7 | 7 | | CE | - | - |
| 8 | 8 | | CSN | - | - |
| 9 | 9 | | - | - | - |
| 10 | 10 | | - | - | - |
| 11 | 0 | | - | - | - |
| 12 | - | | - | - | - |
| 13 | - | | - | - | - |
| 14 | 14 | | MISO | - | - |
| 15 | 15 | | SCLK | - | - |
| 16 | 16 | | MOSI | - | - |
| 17 | - | | - | - | - |
| 18 | 18 | | - | DATA1 | - |
| 19 | 19 | | - | DATA2 | - |
| 20 | 20 | | - | DATA3 | - |
| 21 | 21 | | - | DATA4 | - |
| 22 | - | | - | - | - |
| 23 | - | | 3.3V VCC | - | - |
| 24 | 5V VCC | | 5V VCC | 5V VCC | 5V VCC |
| 25 | GND | | GND | GND | - |
| DB-25 Pins | Arduino Pro Micro GPIO | ESP32 GPIO | RADIO | SNES | PSX | N64 | Gamecube |
|---------------|------------------------|------------|----------|--------|--------|----------|----------|
| 1 | 1 | | - | - | - | - | - |
| 2 | 2 | | - | LATCH | DATA | DATA1 | DATA1 |
| 3 | 3 | | - | CLOCK | CMD | - | - |
| 4 | 4 | | - | - | ATT | - | - |
| 5 | 5 | | - | - | CLK | - | - |
| 6 | 6 | | - | - | - | - | - |
| 7 | 7 | | CE | - | - | - | - |
| 8 | 8 | | CSN | - | - | - | - |
| 9 | 9 | | - | - | - | - | - |
| 10 | 10 | | - | - | - | - | - |
| 11 | 0 | | - | - | - | - | - |
| 12 | - | | - | - | - | - | - |
| 13 | - | | - | - | - | - | - |
| 14 | 14 | | MISO | - | - | - | - |
| 15 | 15 | | SCLK | - | - | - | - |
| 16 | 16 | | MOSI | - | - | - | - |
| 17 | - | | - | - | - | - | - |
| 18 | 18 | | - | DATA1 | - | - | - |
| 19 | 19 | | - | DATA2 | - | - | - |
| 20 | 20 | | - | DATA3 | - | - | - |
| 21 | 21 | | - | DATA4 | - | - | - |
| 22 | - | | - | - | - | - | - |
| 23 | - | | 3.3V VCC | - | - | 3.3V VCC | 3.3V VCC |
| 24 | 5V VCC | | 5V VCC | 5V VCC | 5V VCC | - | 5V VCC |
| 25 | GND | | GND | GND | - | GND | GND |

42
src/N64Micro.cpp

@ -1,15 +1,45 @@ @@ -1,15 +1,45 @@
/*
N64:
LOOKING AT THE PLUG FROM CONTROLLER
/---------\
PIN 1-> / o o o \
/-------------\
. ~~~ .
.-~ ~-.
/ o o o \
/ 1 2 3 \
|_________________|
PIN # USAGE (colors from my extension cable, check your own)
GND - red
DATA - white
VCC +3.3V ONLY - black
1: GND - red
2: DATA - white
3: VCC +3.3V ONLY - black
GAMECUBE:
LOOKING AT THE PLUG ON FRONT OF CONSOLE (not coming from controller)
7
.-------------.
/ o \
/ \
| 1 2 3 |
| o o o |
| |
\ o o o /
\ 4 5 6 /
`-. .-'
~-._.-~
PIN # USAGE (colors from my extension cable, check your own)
1: VCC 5V rumble - grey
2: DATA - yellow
3: GND - black
4: GND - black
5: UNKNOWN
6: VCC 3.3V ONLY - red
7: GND - black
I tie all 3 grounds together
*/
#define DATA_PIN 2

Loading…
Cancel
Save