How to build Blacky: the whole process
17 steps to build Blacky, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the official sources.
Blacky is a 12-DoF quadruped robot using a Raspberry Pi 4 and CLS6336 servos. The repository provides printable structural parts, a lighter design with easier module installation, and a custom PCB with a cooling fan.
Buy parts
- Prepare Pi4 and Servos
Use a pi4 and CLS6336servo for the 12Dof robot.
Print and make
- Find and Order the PCB
Find the Gerber files in this repository, or visit the EasyEDA link.
- Print the PLA Boots
3D-print the boots in PLA and add an M3 sponge mat.
Assemble
- Integrate the Power Chip
The board already has a cooling fan; the next step is to integrate the power chip into the board.
- Assemble the Lightweight Structure
Assemble the cured SLA print with a carbon fiber tube; the structure is lighter and makes other modules easy to install.
Software
- Set Raspberry Pi Wi-Fi
- Copy files to boot
After flashing the image, copy this repository into the boot folder and overwrite duplicate files.
- Boot and connect over SSH
Power on normally and provide a stable network for initialization. During the first initialization, an external display and keyboard can show progress; afterward, connect by SSH and follow the prompts to change the password and IP.
- Switch to USTC mirrors
Replace raspbian.raspberrypi.org in /etc/apt/sources.list and archive.raspberrypi.org in /etc/apt/sources.list.d/raspi.list with USTC mirrors, then update the packages.
- Configure pip through pqi
Install pqi, run pqi, and use pqi use ustc to configure the pip source as USTC.
- Use domestic NTP servers
Edit /etc/ntp.conf and replace the four pool entries from pool 0.debian.pool.ntp.org through pool 3.debian.pool.ntp.org with four server entries using cn.pool.ntp.org.
- Download the quadruped project
Clone the StanfordQuadruped repository and enter the StanfordQuadruped directory.
- Run the project installer
Run install.sh. If installation or downloading fails, execute it repeatedly.
Calibrate and test
- Set time and install ntpdate
Set the system time to 2020-11-08 20:42:00 and install ntpdate.
- Prepare servo calibration
Stop the robot service, enter the StanfordQudruped directory, and start pigpiod.
- Calibrate every servo
Run the calibration program and calibrate every servo. When a link must be horizontal, align each link’s joint center so the line between the servo spline and the bolt joining the upper and lower links is as horizontal as possible; then start the robot service.
- Calibrate the Hip and Leg
Calibrate the hip and leg.
Common problems
- V3 PCB lacks a valid EasyEDA design link #30