Skip to content

Device hardware choice

FunkyFab edited this page Mar 6, 2022 · 1 revision

The constraints for choosing the proper device are:

  • Being able to detect when a pedal is pressed, for 2 pedals
  • Being able to emulate a keyboard

As I've already done several projects using ESP8266 and ESP32 devices, so tried to found some solutions in that directions. The USB port of ESP8266 and first generation of ESP32 unfortunately can't emulate a USB keyboard. But latest ESP32 (ESP32S2) have 2 USB ports, 1 can be used for serial communication, and the other one for .. well, anything you can do on a using port, including emulating a keyboard.

The boards embedding an ESP32S2 can exist with different layouts, and one is particularly convenient: the ESP32-S2 DevKitC, which has its 2 USB ports directly accessible through USB type C plugs.

This board is reasonably cheap (15€ on AliExpress), so I decided to choose this board for the heart of my device.

Clone this wiki locally