A spider robot powered by Arduino Nano and ESP32, featuring ultrasonic sensing capabilities. This project aims to provide an accessible entry point into robotics and programming through a DIY approach.
- 8 DOF quadruped design (2 servos per leg)
- Wireless control through ESP32 wifi access point
- Obstacle detection using ultrasonic sensor
- Custom PCB design for component integration
- Arduino based control system
- Lightweight and modular construction
| Quadruped Robot Movement |
|---|
Click on the thumbnail to watch robot in action.
- 1× Arduino Nano
- 1× ESP32 development board
- 8× MG90 servo motors (or compatible)
- 1× HC-SR04 ultrasonic sensor
- Custom Circuit Board and electronic components
- Chassis components (laser-cut or 3D printed)
- M3 screws and nuts
- LiPo battery (7.4V recommended)
(Arduino) Microcontroller Connections:
- D2-D9 : Servo control signals
- A3 : Ultrasonic TRIG
- A2 : Ultrasonic ECHO
- TX : Esp32 RX
- RX : Esp32 TX
- GND : Esp32 GND
| FrontSide | BackSide |
|---|---|
- Install Arduino IDE and required libraries
- Upload provided code:
main_controller.inoto Arduino Nanoremote_controller.inoto ESP32
// WiFi credentials in esp32_wireless.ino
const char* ssid = "Custom_Wifi_Name";
const char* password = "Custom_Password";- Power on the robot
- Connect to the ESP32's WiFi network
- Access control interface at
192.168.4.1 - Available commands:
- Forward/Backward movement
- Left/Right turns
- Increase/Decrease Speed
- Obstacle avoidance mode
- Wave/Bow/Dance
Common issues and solutions:
-
Erratic servo movement
- Check power supply voltage
- Verify servo connections
- Calibrate servo positions in code
-
WiFi connection issues
- Reset ESP32
- Verify credentials
- Check signal strength
- Fork the repository
- Create a feature branch
- Submit a pull request
This project is licensed under the MIT License - see LICENSE file for details.
- Thanks to the Arduino and ESP32 communities
- Inspired by various open-source robotics projects and research papers (One of the research paper is present in assets Dir)
Currently in active development. New features and improvements are welcome through pull requests.
For questions or suggestions, please open an issue in the repository or message me from https://ahmadimran.com/contact
