This project is designed to play Pong with two players using NES controllers which output to a VGA compatible monitor.
You will need two NES controllers which will take in 3 wires (not including power and ground). Hook up the connections as shown in the bidirectional I/O.
Bidirectional: 1. NES_Controller_Left[0] data 2. NES_Controller_Left[1] clock 3. NES_Controller_Left[2] latch 4. NES_Controller_Right[0] data 5. NES_Controller_Right[1] clock 6. NES_Controller_Right[2] latch 7. NC 8. NC You will also need the hook up the output to a VGA breakout board. I created my own using a perfboard and some resistors but you can use the TinyTapeout VGA PMOD, just ensure that you hook up r0,r1 on the VGA PMOD both to r from the output as my design only uses 1 bit for each signal.
Output: 1. h_sync 2. v_sync 3. r 4. g 5. b 6. 7. 8.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | h_sync | NES_Controller_Left[0] | |
1 | v_sync | NES_Controller_Left[1] | |
2 | r | NES_Controller_Left[2] | |
3 | g | NES_Controller_Right[0] | |
4 | b | NES_Controller_Right[1] | |
5 | NES_Controller_Right[2] | ||
6 | |||
7 |