Add ESP32-S3 BLE-to-RS422 bridge firmware for Carryout G2

NimBLE-based Nordic UART Service (NUS) bridge on ESP32-S3-DevKitC-1.
Transparent passthrough: BLE client writes → UART1 TX → RS-422 → G2,
and G2 → RS-422 → UART1 RX → BLE notifications. USB serial serves as
debug monitor and fallback input.

Uses two MAX485 modules (one locked TX, one locked RX) with a SparkFun
BSS138 level converter for 3.3V/5V translation. Wiring schematic and
RJ-12 pinout documented in docs/ble-bridge-wiring.md.
This commit is contained in:
Ryan Malloy 2026-02-11 14:33:10 -07:00
parent 1192b31166
commit 068f38d7eb
5 changed files with 372 additions and 0 deletions

5
.gitignore vendored
View file

@ -10,3 +10,8 @@ build/
.env
*.so
.ruff_cache/
# PlatformIO
.pio/
.pioenvs/
.piolibdeps/