The aim is to create a physical pilot which will be operating Kodi server as custom BT keyboard.
I absolutely hate missing the keys on a smartphone when looking at a monitor - no tactical feedback, basically unusable for me, thus I need smth what I can use without looking at it. So the idea of a custom tiny physical keyboard appeared.
The schematics looks like this (image below):
List of parts needed:
- 1 x ESP32 C3 Super Mini (or similar).
Important!!!! Not all ESP32 C3's pinout is the same - please double or even better triple check the pin numbers!
- 2 x momentary switches
- 1 x bistable switch (turn on-off)
- 1 x battery 4.2V
- Wires (AWG28 will be absolutely enough. Can be bought for example here (yes, I know it is a link for AWG22 - every AWG less than 28 should work.))
- 1 x USB charging module for the battery (like this)
- 1 x Rotary Encoder module (I used DFRobot SEN0502)
- 1 x Arduino-compatible Joystick (I used Iduino ST1079)
Connect according to schematics and put into some nice plastic box
- The "ino" file in the repo - use Arduino IDE (I used v. 2.3.2 on Linux for reference).
- DFRobot_VisualRotaryEncoder Library
- BleKeyboard library
- NimBLE-Arduino library