How omnia-makers/esp32_boat works
This is an ESP32 BLE remote-control system for a motor and servo. A user operates the web client, which sends joystick or slider commands over Web Bluetooth; the ESP32 receives and parses them, then applies motor power and servo position. The README documents client controls and feedback, plus command variants and hardware setup. The sketch and client implementation were not sampled, so their internal wiring is represented only where documented; feedback details are not linked to an unsampled firmware path.
Main entry points: DataParser.cpp Command Parser · bluetooth.cpp BLE Server · index.html Joystick Client · power.cpp Motor Control
Components 11
Web Client
- Joystick Client
client/index.html - Web Bluetooth
BLE Transport
- Arduino Sketch
connect/connect.ino - BLE Server
connect/bluetooth.cpp
Command Control
- Command Parser
connect/DataParser.cpp
Hardware Actuation
- Motor Control
connect/power.cpp - Servo Control
connect/servo.cpp
Other components
- Operator
- ESP32 BLE
- Motor and L298N
- Servo Motor
Connections 10
- Operator → Joystick Client: operates
- Joystick Client → Web Bluetooth: sends controls
- Web Bluetooth → ESP32 BLE: writes commands
- Arduino Sketch → BLE Server: initializes BLE
- ESP32 BLE → BLE Server: hosts server
- BLE Server → Command Parser: dispatches writes
- Command Parser → Motor Control: sets motor power
- Command Parser → Servo Control: sets servo angle
- Motor Control → Motor and L298N: drives
- Servo Control → Servo Motor: positions