Circuit Diagram
This provides a visual reference for wiring of the components. They aren't true to scale, just meant to be used as reference. The LEDs are embedded into the arcade button housing. They appear separate in the diagram for clarity.
To power this project, we're connecting microUSB to a computer's USB port. This doesn't require any external power like from a battery.
- D12, D11, D10, D9 from Adafruit Feather to Arcade button
- A0, A1, A2, A3 from Adafruit Feather to Arcade button
- Ground from Adafruit Feather to Arcade buttons
The buttons and LEDs will share a common ground. To make wiring easier, we'll connect the grounds in series.
Number Of Buttons
You can wire up to six different buttons to the Adafruit Feather using data pins 12-9. The LEDs can be wired to analog pins 0-5. If you need more buttons, you'll have to use multiplexing which is beyond the scope of this learning guide.
USB Power
This project does not require a battery. It uses the USB port from the computer . The Adafruit Feather has an on-board battery charger to use lipoly batteries but there isn't enough space in the enclosure to house a battery. However, the case can be modified to fit a battery – Just need to increase the height of the case. Note you still need to plug it into USB to use it as a keyboard
Text editor powered by tinymce.