The following Arduino libraries are required:
The ESP32 creates a WiFi access point with these default settings in config.h
:
- SSID: “hexapod”
- Password: “hexapod_1234”
- UDP Port: 1234
- Install Arduino IDE
- Install arduino-esp32 following the Instruction
- Install Dependencies:
- Install all required libraries through Arduino Library Manager
- Build and Upload the Code:
- Select “ESP32 Dev Module” board in Arduino IDE
- Upload the code to ESP32
- The robot will perform a boot-up motion sequence
The code supports Over-The-Air (OTA) updates:
- Power on the robot
- Connect to the hexapod’s WiFi network
- Use Arduino IDE’s network port to upload new firmware
hexapod_esp32.ino
: Main Arduino sketchconfig.h
: Configuration parameters and pin mappingsmotion.h
: Motion path lookup tables for different movements