The following is a 16 button arcade stick using the tiva TM4C123GXL microcontroller.
This project is a 16 button Arcade Stick with an Analog thumb Joystick. This project was cloned from my former project, which was a 15 button controller with a LCD screen. This project was made to add more buttons and make it more easier for people to use and implement. https://github.com/SnrNotHere16/ArcadeStickWithScreen
Buttons/Ports
Button0 - PB0
Button1 - PB1
Button2 - PB2
Button3 - PB3
Button4 - PB4
Button5 - PB5
Button6 - PB6
Button7 - PB7
Button8 - PC4
Button9 - PC5
Button10 - PC6
Button11 - PC7
Button12 - PA2
Button13 - PA3
Button14 - PA4
Button15 - PA5
AnalogX - PE3
AnalogY - PE2
AnalogZ - PE1
The best way to test the inputs is to type "Set up USB game controllers" into the windows search bar. This should prompt this screen.
Pressing the buttons and moving the thumbstick should be read by the screen.
Schematic: https://github.com/SnrNotHere16/ArcadeStickWithoutScreen/blob/master/Schematic_PCB/16buttonTivaCGamepadSchematic.pdf
- Open LM Flash Programmer
- In Code Composer Open "Resource Explorer" and select "EK-TM4C123GXL"
4. Build and load the program then switch to device mode. This time the green LED should flash instead of the blue LED.
I ordered from JLCPCB. The gerber files are provided at https://github.com/SnrNotHere16/ArcadeStickWithoutScreen/tree/master/Schematic_PCB/GerberFIles_DrillFiles