Electronics
3D Print Files
Software
Dependencies
The following Arduino libraries are required:
Network Configuration
The Pico creates a WiFi access point with these default settings in config.h:
- SSID: “hexapod”
- Password: “hexapod_1234”
- UDP Port: 1234
Programming Steps
- Install Arduino IDE
- Install arduino-pico
- Build and Upload the Code:
- Select “Raspberry Pi Pico W” or “Raspberry Pi Pico 2W” board in Arduino IDE
- Upload the code to Pico
- The robot will perform a boot-up motion sequence
OTA Updates
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
On Arduino IDE under Tools, make sure Flash Size ... FS: 1MB
File Structure
hexapod_esp32.ino: Main Arduino sketchconfig.h: Configuration parameters and pin mappingsmotion.h: Motion path lookup tables for different movementsPicoPWM.h,PicoPWM.cpp: Pico’s PWM class