ESP32 is a feature-rich MCU (microcontroller unit) with integrated Wi-Fi and Bluetooth connectivity for a wide-range of applications. S2 is supported by micropython for fast POC development.
HW: ESP32 WROOM FW: MicroPython v1.18
- define a dict to store all numbers segment mapping
- mapping ABCDEFGH segments to PINs, one bit by one
74HC595 shift register IC
- use 3 GPIO (clock, latch, data), capable of output 8bits (Q0~Q7) in parallel diagram: https://microcontrollerslab.com/esp32-74hc595-4-digit-7-segment-display/
ESP32 act as Bluetooth Low Energy NUS (Nordic UART Service) app. Receive / Send data to BLE Client (phone or PC)
ESP32 act as mouse, keyboard. ref to: https://www.bilibili.com/read/cv15067064
This is Android app to interact with ESP32 BLE API26 (Oreo)