ESP32 Arduino sketch for the Idea2 Kart-E robot. This repository contains the main sketch esp32code__2_.ino implementing BLE control, BFS pathfinding on a 20x20 grid, motor control for Cytron MDD20A and ultrasonic obstacle detection.
esp32code__2_.ino— Main Arduino sketch (ESP32)README.md— This fileLICENSE— MIT license.gitignore— Common ignores for Arduino/ESP32 projects
- Open the sketch folder in the Arduino IDE or VS Code with the Arduino extension / PlatformIO.
- Select the ESP32 board (e.g., ESP32 Dev Module) and correct COM port.
- Upload
esp32code__2_.inoto the board.
X,Y— send target coordinates (e.g.5,3) to plan and execute a pathstop— emergency stopM,n— manual move n cells forward (calibration)T,deg— manual turn by degrees (calibration)
This project is released under the MIT License — see LICENSE for details.