#7474th of 171 in Learning and cookbooksFor science, health and research, robotics

microduck-build-tutorial

Build guide and code for a Raspberry Pi biped robot walking with an ONNX policy

Stars
1.9k
License
MIT
Last commit
Sep 2026
Last release
Sep 2026
Language
Python
Stars, last 12 weeks+1,913
5 Sept 2026: 1 stars12 Sept 2026: 777 stars19 Sept 2026: 999 stars26 Sept 2026: 1,100 stars3 Oct 2026: 1,159 stars10 Oct 2026: 1,206 stars17 Oct 2026: 1,268 stars24 Oct 2026: 1,452 stars31 Oct 2026: 1,613 stars7 Nov 2026: 1,724 stars14 Nov 2026: 1,802 stars21 Nov 2026: 1,866 stars28 Nov 2026: 1,914 stars

1 on 5 Sept 20261,914 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Microduck is a small biped robot build with two parts: Python deployment code for a Raspberry Pi Zero 2 W, and a MuJoCo/MjLab reinforcement learning environment that exports walk.onnx. The Pi code reads a BNO08x IMU, takes keyboard or Bluetooth gamepad input, and drives 14 Dynamixel XL330 servos through an OpenRB-150. The README, in Chinese and English, covers the BOM, wiring, servo IDs, a prebuilt SD card image and first run.

Who it is for: Hobbyist roboticists building a Dynamixel biped with an RL walking policy

Strengths

  • Prebuilt microduck.img.xz includes OS, virtualenv, walk.onnx and a headless gamepad service
  • Full build path: BOM, servo ID table, wiring diagrams, flashing, Wi-Fi setup and first run
  • Includes the MuJoCo/MjLab training environment, so walk.onnx can be retrained and replaced
  • Makefile targets for sync, run, stop, IMU and servo voltage checks over SSH

Weaknesses

  • Requires specific hardware: 14 XL330 servos, OpenRB-150, BNO08x IMU, 3D-printed parts
  • Targets only a Raspberry Pi Zero 2 W, which supports 2.4GHz Wi-Fi only
  • Image ships with default user password 'password' that must be changed by hand
  • Gamepad service turns off Wi-Fi while connected, so SSH drops until the pad is off

What it needs

  • Needs Raspberry Pi Zero 2 W, ROBOTIS OpenRB-150, Dynamixel XL330-M288-T servos, BNO080/BNO085/BNO086 IMU, MuJoCo/MjLab
  • Models: ONNX

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#72zero-to-sglangCourse on LLM inference: build a mini-sglang, then read SGLang source2.4k starsno license52 out of 100
#73machine-learning-zoomcampFree ML engineering course from regression to Kubernetes deployment15k stars+177 (+1.2%) in 30 daysno license51 out of 100
#75langchain-courseCourse code for building LangChain and LangGraph agents in Python1.8k starsApache-2.051 out of 100
#76wfgyPrompt-protocol collection and RAG/agent failure troubleshooting maps for LLM workflows1.8k starscustom license51 out of 100
#77fastbookJupyter notebooks for the fastai and PyTorch deep learning book and course25.5k starscustom license50 out of 100