Hexapod Robot STC15 Controller
A hexapod robot controlled by an STC15 microcontroller, featuring a 21-channel servo controller and 3D-printable parts.
- Other
- No license: all rights reserved by the creator
- 3D printable
Suggested by Robotheca, created by @ClimbSnail (opens in a new tab), from github.com/ClimbSnail/HexapodRobot_STC15 (opens in a new tab). Pinned to commit 5d26953 (opens in a new tab).
- Hardware license
- No license
- Software license
- No license
- Commercial use
- Unknown
No license is stated for part of this robot.
The creator chose the hardware and software licenses on Robotheca; the repository has no license file for them yet.
This repository contains executable files that Robotheca doesn't check. Only run them if you trust the creator.
Which files (1 script, 2 firmware images)
Photo
What it can do
Written by Robotheca from the project's documents.
- Walks with six legs using 21 servo motors
- Generates 10 µs precision PWM signals for analog and digital servos
- Uses timer-based time-division multiplexing to control multiple servos
- Has a beeper for audio feedback
- Measures battery voltage via ADC
- Supports serial communication on two UART ports
- Supports I2C devices such as OLED screens
- Drives an onboard LED indicator
Bill of materials
This repository has no parts list Robotheca can read yet.
Build guide
The creator's steps, each with its instructions.
- 1Prepare 3D-printable parts
- 2Assemble the hexapod structure
- 3Solder the PCB components
- 4Flash the STC15 microcontroller with the provided hex file
- 5Connect and calibrate servos
- 6Test and adjust the robot's movement
The creator's guide is written in Chinese. It has no license, so all rights stay with the creator: Robotheca doesn't show it here or translate it, and gives its own notes about the robot instead.
Read the creator's guideAsk the creator on GitHub (opens in a new tab)Wiring and electronics
Notes written by Robotheca from the project's documents.
Main parts
- STC15W4K48S4 microcontroller
- 22.1184 MHz crystal oscillator
- 21 servo motor outputs
- Piezoelectric buzzer on P40
- Battery voltage measurement circuit on P12
- Two UART ports (UART1 on P30/P31, UART2 on P10/P11)
- I2C bus on P35/SCL and P34/SDA
- Onboard LED on P55
- DHT11 sensor interface on P41
- MPU6050 IMU interface via I2C
Connections
- STC15W4K48S4 MCU controls 21 servo channels via GPIO pins
- P44 to P46 and P20 to P27 plus P00 to P07 are wired to servo connectors H1–H9 and L1–R9
- P40 drives the beeper
- P12 reads battery voltage through ADC
- P30/P31 form UART1 for serial communication
- P10/P11 form UART2 for serial communication
- P35/P34 form I2C bus for OLED and MPU6050
- P41 connects to DHT11 data pin
- P55 drives the onboard LED indicator