Control a Batocera-powered arcade system running on a Lenovo mini PC using an Arduino Micro that emulates a keyboard.
Use this project to control a Lenovo mini PC and Batocera-powered arcade machine using an extra arcade button wired to an Arduino Micro connected to a USB port.
- Power on a Lenovo mini PC
- Wake up a Lenovo mini PC from suspended mode
- Shutdown Batocera Linux
- Suspend Batocera Linux
- Close focused app
- Arduino Micro (ATmega32U4)
- USB Cable
- Arcade button
- Arcade button wiring
- Lenovo mini PC
- Program the Arduino Micro with the hid-pc-control.ino file
- Connect the programmed Arduino Micro to the keyboard USB port on a Lenovo Mini PC
- Wire an extra arcade button to pin 2 and ground of the Arduino Micro
- Copy multimedia_keys.config to /userdata/system/configs
- Enable suspend mode in the Batocera config file
- Enable Alt+p in the Lenovo mini PC BIOS power config