TECHNIAHQROBOT / INDEPENDENT ROBOTICS REPORTINGENGLISH EDITION / 24 November 2026
ROBOTICS / OPEN PROJECTQuadruped Robots

Mini Pupper: 12-Servo Quadruped Assembly, CAD and Calibration

Mini Pupper is a Raspberry Pi-based quadruped intended for ROS navigation and legged-control experiments. The original build guide describes four leg assemblies, hip installation, servo cable lengths, body panels and calibration. Hardware variants changed over time, so choose the guide matching the production revision.

Source repository Documentation CAD and design files
Editorial source check · Project documentation and public files; no physical test claimedRevision and parts availability may change
THE TECHNICAL DOSSIERMini Pupper
MINI PUPPER V1 / COMPLETE BUILD AND ROS 2 WORKSHOP

Assemble Mini Pupper V1, calibrate 12 servos, start walking and build a map

MangDang's original Mini Pupper is a small quadruped with three powered joints per leg, a Raspberry Pi, a servo control board and an IMU. Optional LiDAR configurations provide a path to ROS 2 SLAM and navigation. Distinguish this original version from Mini Pupper 2 and Mini Pupper 4: their actuator electronics and software are not interchangeable.

Authentic original yellow MangDang Mini Pupper quadruped photo from manufacturer
Original Mini Pupper robot, MangDang manufacturer photograph.

1. Hardware inventory and revision check

ComponentFunction
Original Mini Pupper frame, 4 articulated legsThree joints per leg, correct mirrored front/rear assemblies
12 version-matched servo motorsPosition each foot through three powered axes
Original servo controller boardDistributes commanded servo positions and calibrated offsets
Raspberry Pi 4 reference computerGait application, ROS, peripheral processing
IMU and face displayBody tilt and display feedback
Approved original battery, power cables, microSDCompatible power and OS storage
Optional 2D LiDARPublishes /scan for SLAM and navigation if installed
Tools: precision drivers, caliper, multimeterServo horn alignment, fasteners and polarity

Do not apply an unregulated or higher-than-8.4-V source to the original 2S-compatible servo power system; the project's original quick-start material warns that excess voltage can destroy servos. Verify the actual revision before connecting a battery or bench supply.

2. Four legs, twelve servo axes

Mini PupperRaspberry PiFront leftFront rightRear leftRear right
Illustrative 3-joint chain per leg; printed geometry and servo IDs must be taken from the V1 manufacturing release.

3. Download the original hardware and BSP

sudo apt install -y git git-lfs
git lfs install
git clone https://github.com/mangdangroboticsclub/mini_pupper.git
cd mini_pupper
git submodule update --init --recursive
ls
cd ..
git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git

Read the original V1 mechanical and servo alignment drawings. The current main repository may also contain newer Mini Pupper generations; pin the intended revision and do not assume all files under the latest main branch target V1.

4. Assemble chassis, servo modules and cables

  1. Sort front-left, front-right, rear-left and rear-right mechanical parts and fasteners from the original V1 kit.
  2. Assemble each leg with the three servo actuators in the correct orientation and record a label for every joint.
  3. Set servo horns to their documented mechanical starting positions before tightening. Wrong horn splines can prevent calibration or overload a servo.
  4. Fit all legs into the central body and verify symmetric neutral posture with power disconnected.
  5. Install the servo driver board, Raspberry Pi, display, IMU and original power module; keep wires out of the linkage sweep.
  6. Install the optional LiDAR high enough for unobstructed scanning and secure its model-matched interface.
  7. Inspect battery polarity, servo supply voltage and fastener retention before any motor test.

5. Control and sensor architecture

Keyboard / ROS 2velocity commandRaspberry PiGait controllerServo board12 leg axesIMU and offsetsbody statePhysical power and servo pin mapping are specific to the original control board

6. Flash the original Raspberry Pi system and calibrate

  1. Select a V1-compatible Raspberry Pi image from the official Mini Pupper documentation. Write it to microSD with Raspberry Pi Imager.
  2. Configure networking and SSH, then start the Pi with the original board correctly wired.
  3. Run the version-matched BSP diagnostics and launch the servo calibration application.
  4. With a stand under the robot, adjust neutral positions one leg joint at a time; save the offsets.
  5. Check all four paws have matching support height before attempting a gait.
# On a correctly installed original Mini Pupper BSP:
calibrate
# Inspect installed BSP tooling:
python3 -m pip show mini-pupper-bsp
ls /dev/i2c*
ls /dev/tty*
Official Mini Pupper calibration interface screenshot
Calibration view from the original mini_pupper_bsp source.

7. Set up ROS 2 Humble for a compatible V1 release

The original Mini Pupper ROS 2 documentation includes a Humble workflow. The PC and onboard robot must use compatible ROS distributions, transport settings and robot variants.

source /opt/ros/humble/setup.bash
sudo apt update
sudo apt install -y git python3-vcstool   python3-rosdep python3-colcon-common-extensions
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone -b ros2-dev https://github.com/mangdangroboticsclub/mini_pupper_ros.git
vcs import < mini_pupper_ros/.minipupper.repos
cd ~/ros2_ws
rosdep update
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install
source install/setup.bash
export ROBOT_MODEL=mini_pupper

Inspect the checkout's exact launch and package names before starting a physical gait. This is a historical branch-specific workspace, not a generic install command for Mini Pupper 2 or 4.

8. First gait and joystick / keyboard test

# On the robot's correctly installed ROS 2 BSP:
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 launch mini_pupper_bringup bringup.launch.py
# On the workstation:
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 topic list
ros2 run teleop_twist_keyboard teleop_twist_keyboard

Stand the robot on a clear, flat floor only after a supported neutral-pose test. Start with minimal keyboard velocity and stop immediately if a foot drags, a servo stalls or body orientation is inconsistent. Never test on a desk edge.

9. Python ROS 2 command monitor

import rclpy
from rclpy.node import Node
from geometry_msgs.msg import Twist

class VelocityMonitor(Node):
    def __init__(self):
        super().__init__("mini_pupper_velocity_monitor")
        self.create_subscription(Twist, "/cmd_vel", self.on_cmd, 10)
    def on_cmd(self, msg):
        self.get_logger().info(
            f"forward={msg.linear.x:.3f}, yaw={msg.angular.z:.3f}"
        )

rclpy.init()
node = VelocityMonitor()
try:
    rclpy.spin(node)
except KeyboardInterrupt:
    pass
finally:
    node.destroy_node()
    rclpy.shutdown()

This read-only program prints requested commands and does not drive the robot. Confirm the gait controller actually subscribes to /cmd_vel before assuming keyboard commands will work.

10. Optional SLAM with a connected LiDAR

LiDAR /scan+ robot odometryROS 2 SLAMscan matchingOccupancy mapfor navigation
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 topic list | grep scan
ros2 launch mini_pupper_slam slam.launch.py
# After map generation and with the map topic active:
ros2 run nav2_map_server map_saver_cli -f ~/mini_pupper_map

SLAM requires a compatible LiDAR and odometry topics. If the required launch file is not present in the selected release, inspect the workspace launch list instead of guessing alternative package names.

11. Troubleshooting and commissioning checklist

SymptomFirst investigation
Uneven legs or immediate fallRecheck horn alignment, calibration offsets and mirrored axes
BSP calibration missingCheck the V1 image and correct installed BSP package
Robot does not move from ROS 2Check bringup, DDS discovery and /cmd_vel subscriber
Servo becomes hotStop; inspect collision, voltage and joint mechanical binding
No /scan for mappingVerify optional LiDAR is physically installed and its driver is active
Bad occupancy mapInspect scan timing, robot odometry and excessive body pitch

Before the first walk, confirm all 12 servo assignments, neutral posture, battery specification, firmware image, ROS version and emergency recovery. The original Mini Pupper is not the newer brushless Stanford Pupper V3.

BUILD / PROGRAM / TEST

Complete practical guide: Mini Pupper

The original Mini Pupper uses twelve leg servo positions and a Raspberry Pi-based control system. Correct horn alignment and BSP version matter more than the first gait choice.

1. Files, parts and fabrication

  1. Download the original Mini Pupper CAD and print files. Sort the parts into front-left, front-right, rear-left and rear-right assemblies.
  2. Acquire the matching servos, controller, Pi and battery. Use the original horn alignment drawing and check joint movement before fitting each leg to the chassis.
  3. Keep servo cables identified by leg and joint. Install the Pi and board with cable clearance and accessible power disconnect.

2. Software installation and configuration

  1. Flash the original BSP image onto the storage device, or use the matching mini_pupper_bsp checkout and install procedure. Do not install the Mini Pupper 2 BSP on the original.
  2. After the documented reboot run the BSP test script. Start calibrate on the Pi or via the documented remote display method.
  3. Install the matching ROS stack only after the basic driver and calibration tests work. Verify the selected robot variant in any launch configuration.

Commissioning diagram

  1. 1Pi BSP
  2. 2Servo calibration offsets
  3. 3Twelve joint targets
  4. 4Leg motion and body pose
  5. 5Gait controller
Offset and direction errors propagate from one servo into the entire paw position; correct them before gait tests.
Mermaid diagram source
flowchart TD
  N0["Pi BSP"]
  N1["Servo calibration offsets"]
  N2["Twelve joint targets"]
  N3["Leg motion and body pose"]
  N4["Gait controller"]
  N0 --> N1
  N1 --> N2
  N2 --> N3
  N3 --> N4

3. Power-on preparation and first movement

  1. Support the body so all paws can move freely. Check every servo's neutral position and leg direction in the calibration interface.
  2. Compare front and rear paws for symmetry. A horn outside its intended range must be reassembled with power disconnected.
  3. Use the documented stationary stand function and lower the robot only when the paws are aligned and stop behavior is verified.

4. Programming exercise

On the original BSP installation, run the official diagnostic and calibration tools. They may interact with hardware; keep the body supported and clear.

Bash Documented hardware diagnostic
cd ~/mini_pupper_bsp
./test.sh
calibrate

Follow the reported BSP test results and calibration interface. Record the offsets only after confirming the physical neutral positions.

5. Progress to practical operation

  1. Start with a stable standing pose on a flat surface, then verify the stationary stop.
  2. Select the documented slow gait in the compatible controller. Test a short straight segment and inspect paw placement and body tilt.
  3. Add camera or ROS navigation only after repeatable manual locomotion. Fast gait or running requires a controller and limits appropriate to this model.

6. Software and hardware diagnostics

One paw points inward
Check horn alignment, servo channel and calibration before applying another offset.
Calibration command absent
Verify BSP branch and installation; check that the original robot is selected.
Body falls when released
Return to support and inspect joint direction, neutral offsets and battery state.

Technical basis: MangDang original Mini Pupper BSP and assembly instructions. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.

BUILD ROUTE

Mini Pupper legs, servos and body variants

Documented kit or self-sourced quadruped

This sequence covers the original Mini Pupper. Mini Pupper 2 and 2 Pro use different hardware and instructions.

From parts to first test 7 steps

  1. Order original-version components

    Use the design and assembly references to identify the original frame, servo modules, Raspberry Pi, board, battery, specified screws and bearings. Confirm quantities and cable lengths before ordering.

    Reference 1 ↓
  2. Prepare the controller image

    Use mini_pupper_bsp to select the original board's supported image. For the documented advanced manual installation, clone the BSP repository, enter mini_pupper_bsp and run ./install.sh, reboot, then run ./test.sh from the repository.

    Reference 3 ↓
  3. Build the leg assemblies

    Follow the illustrated assembly's leg section. Match left/right orientation, place the servos and horns at the indicated neutral alignment and check free motion.

    Reference 2 ↓
  4. Build the hips and fit the body frame

    Follow the hip and body-frame sections, keeping joint orientation consistent. Install electronics with the power disconnected.

    Reference 2 ↓
  5. Connect all twelve servos

    Label the designated short and long cables; use the assembly guide's connector diagram to connect the correct joint to each port before fitting the covers.

    Reference 2 ↓
  6. Calibrate before standing

    On the supported BSP desktop run calibrate; from an Ubuntu desktop connected via ssh -X ubuntu@ROBOT_IP, run the same command. Follow the tool's prompts to adjust offsets and verify all twelve joints with the robot supported before standing.

    Reference 3 ↓
  7. Add ROS after basic motion works

    Use the original mini_pupper repository and its matching ROS setup to test teleoperation or navigation after the stand and basic gait checks succeed.

    Reference 5 ↓

Parts, files and official manuals 5 references

WORKSHOP / HANDS-ON GUIDE

Original 12-servo quadruped

Practical implementation notes for Mini Pupper. Use the exact hardware and software revision specified in the project documentation.

Tools and equipment

  • Hex drivers
  • small screwdriver
  • microSD writer
  • original-version BSP board
  • Raspberry Pi
  • matched servos
  • multimeter

Component illustration

  1. 1Body frame
  2. 2Hip
  3. 3Knee
  4. 4Foot
Functional component schematic, not a physical photograph, dimensional drawing or complete wiring pinout. Match actual components to the released mechanical drawings.

Control architecture

  1. 01Joystick / ROS
  2. 02Pi controller
  3. 03BSP and servo board
  4. 04Twelve leg servos
Logical command path for this revision. Feedback, safety limits and power connections must be checked against the original documentation.

Mechanical preparation and assembly

Build each of the four leg modules with the horn alignment from the original guide. Fit the hip mechanisms and mount them to the body frame. Place the controller and Pi before connecting cables; identify the designated servo wires by length and joint.

Electrical setup and calibration

Follow the original port mapping and connector orientations; connect all twelve servos while battery is disconnected. Match left/right and front/rear directions. Record neutral offsets with paws raised and run the board-specific calibration tool.

Software setup and programming

Install the original BSP image or use its documented manual installation on a compatible system, then reboot and run the BSP test script. Use the calibration application on the Pi or via SSH with X forwarding before installing the optional matching ROS navigation stack.

First test and acceptance criteria

After verifying all twelve positions, command a supported stand and check that the paws are symmetric. Only then try a slow gait on a clear floor.

Programming and configuration example

The installer is intended for the matched Mini Pupper OS; calibration is interactive and requires the robot to be supported.

BASH Revision-specific example
git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git
cd mini_pupper_bsp
# Use the branch for the original Mini Pupper.
./install.sh
# Reboot, then from the same directory:
./test.sh
calibrate

Troubleshooting

If the calibration GUI cannot bring a leg to neutral, inspect horn assembly and the port mapping. Do not force the horn through the offset range or mix Mini Pupper 2 BSP with the original.

Technical reference: project release documentation. The assembly references above provide the revision-specific drawings and BOM. Examples are editorial walkthroughs or documented commands; they have not been physically tested by TechniaHQRobot.

Avoid mixing the three hardware editions

The original Mini Pupper guide documents a revision change after 15 April 2022, when hip and body pieces began using molded construction. Older 3D-printable files remain relevant to some self-builds but are not identical to newer shipped kits.

Mini Pupper 2 and 2 Pro each have separate assembly instructions. Confirm the edition before choosing firmware, servo numbering or the mechanical CAD.

How four legs are assembled

The original guide builds one leg and mirrors it for the opposite side. It specifies M2 bolts, bearings and the correct direction for each link; parts that face inward on one side may face outward on the other.

Position each servo output shaft at the designated middle mark before fitting the horn. Label cable identifiers before enclosing the body, as the guide uses different cable lengths for some motor positions.

Calibration and ROS commissioning

The workflow continues from mechanical assembly to servo calibration and software installation on the Raspberry Pi. Test a supported standing pose before attempting navigation or vision modules.

Optional lidar and cameras need physical brackets and software configuration. A ROS package or accessory listing does not establish out-of-box autonomous behavior.

03 / PRACTICAL QUESTIONS

Molded parts, calibration and ROS configuration

Answers are based on published source material and project documentation. Their order does not represent search volume.

01Can I build Mini Pupper completely from STL files?

The design reference links STL and Fusion 360 resources, but servos, bearings, fasteners, the Pi and electronic components are purchased. Later kits use molded body and hip parts.

Sources Official project documentation

02Why do the build pictures not match my kit?

The original guide notes hardware changes after April 2022. A newer body may have molded parts that differ from the original prints.

Sources Official project documentation

03What makes a leg move in the wrong direction?

Check whether the left/right joint orientation and servo horn center position match the manual, then run the calibration utility before testing a gait.

Sources Official project documentation

04Can I use a Mini Pupper 2 guide on the first model?

No assumption of interchangeability is safe. Wiring, MCU behavior, assembly order and part inventory differ across editions.

Sources Official project documentation

05How do I calibrate the 12 joints?

Install the board-support package and follow the calibrate command and official GUI or CLI process. It is version-dependent and should be completed before gait tests.

Sources Official project documentation

06Does a lidar module guarantee SLAM navigation?

The accessory provides sensing hardware; the supported ROS installation and calibration still need configuration. Review the current documentation for the particular kit edition.

Sources Official project documentation

Mini Pupper: parts cost, software updates and maintenance

This practical ownership section complements the original assembly and programming instructions. Public files do not guarantee that all components can still be purchased or that every build is supported.

ItemProject record
Cost record / BOM targetCurrent model-specific build price requires supplier quote
Software licenceApache-2.0 (main repository); some BSP submodules have GPL exceptions
Hardware licenceCheck individual CAD/design releases; source permission not established by the software license
Simulation availabilityROS and gait/control resources; supported ROS version depends on hardware edition
Build difficultyIntermediate to advanced

How to obtain the robot or its parts

Use the Mini Pupper documentation and hardware release to identify whether an assembled product, kit or self-sourced parts are offered. Price the matching revision, not a photograph or an old bill of materials. Include actuators, controller, supply, wiring, tools, fabrication, shipping, tax and spare parts. A historical BOM target is not a current delivered quote.

  • Project documentation
  • Source repository and version history
  • CAD / fabrication files
  • Revision-specific workshop source

How the hardware and software work together

Mechanical path: Body frame → Hip → Knee → Foot.

Operational signal path (conceptual); not a manufacturer circuit diagram.
  1. Joystick / ROS
  2. Pi controller
  3. BSP and servo board
  4. Twelve leg servos

Feedback, fault detection and the approved stop function constrain the command path.

Install the original BSP image or use its documented manual installation on a compatible system, then reboot and run the BSP test script. Use the calibration application on the Pi or via SSH with X forwarding before installing the optional matching ROS navigation stack.

Install, update and recover the software

Keep the exact hardware revision, repository commit, operating system, dependencies, controller firmware and calibration in a local build manifest. Read the project’s setup instructions before installing. Use an isolated environment and a separate checkout for upgrades; compare release notes, regenerate only the documented configuration, and first repeat a simulation or read-only test. Back up calibration and original firmware files where the project supports it. Restore only a documented compatible release if the new version fails.

Project-specific verification: After verifying all twelve positions, command a supported stand and check that the paws are symmetric. Only then try a slow gait on a clear floor.

Power, battery replacement and cycle life

Select the model-specific pack and charging instructions; compare walking current at the same speed and surface.

Battery cycle life and robot service life are different. Equivalent full cycles (EFC) can be estimated as cumulative discharged energy (Wh) divided by initial usable pack energy (Wh). State of health (SOH) is measured usable capacity divided by baseline usable capacity × 100%, under comparable conditions. Example only: 1,800 Wh discharged from a 600 Wh reference pack equals 3 EFC; neither number is a specification for this robot. Ask for the manufacturer’s cycle rating, temperature limits, capacity-retention criterion and warranty. Do not use an arbitrary percentage as a replacement threshold.

Common problems, wear and service plan

WhenInspection and evidence
Before operationInspect servo horns, leg geometry and foot grip; confirm the correct board support package and servo offsets for V1 versus other revisions.
After a fault or impactFollow the original port mapping and connector orientations; connect all twelve servos while battery is disconnected. Match left/right and front/rear directions. Record neutral offsets with paws raised and run the board-specific calibration tool.
After software or parts changeRecord versions and replaced part serials; compare the same approved test with the earlier baseline. Stop on new errors or unexpected movement.
At manufacturer service intervalsUse the documented interval and authorized service procedures. No universal calendar or lubricant is assumed.
At end of serviceAsk about spare-part availability, data removal, battery take-back and local electronics recycling.

What is not established by the published files

The project documentation must provide any claimed rated service life, battery cycle endurance, duty limits, warranty and repair intervals for the exact hardware. Without a cited endurance test, report those values as not established, not zero and not an estimate. For a DIY build, keep a parts-replacement log and report conditions when measuring reliability.

05 / SOURCES

Original documentation

  1. ROS and software repository
  2. Original Mini Pupper assembly
  3. Official design and STL index
  4. Software and board support
  5. Mini Pupper 2 assembly

Found a changed specification? Submit a correction with its source ↗

← Back to the open-source index

How to install the software mentioned on this page

Choose only the tools required for your project. The commands below describe development and simulation setup, not proof of compatibility with a specific physical robot. Match the versions in the original project and test offline before connecting hardware.

Python Windows, macOS, Linux

Install the Python release required by your robot or library. On Windows use the official installer; on Ubuntu use the distribution package. Create a separate virtual environment for each project.

Installation / setup commands

python -m venv .venv
# Windows PowerShell:
.\.venv\Scripts\Activate.ps1
# Linux or macOS:
source .venv/bin/activate

Verify the installation

python --version python -m pip --version

Official instructions: https://www.python.org/downloads/

Git Windows, macOS, Linux

Install Git from the official download page or your package manager. On Ubuntu the commands below install the command-line client; on Windows run Git for Windows.

Installation / setup commands

sudo apt update
sudo apt install git

Verify the installation

git --version

Official instructions: https://git-scm.com/downloads

Git LFS Windows, macOS, Linux

Install Git, then install Git LFS using the official package instructions for your OS. Initialize it for the current account before cloning a repository that stores large model files.

Installation / setup commands

git lfs install

Verify the installation

git lfs version

Official instructions: https://git-lfs.com/

ROS 2 (Jazzy example) Ubuntu 24.04 for Jazzy; other distributions have different instructions

On Ubuntu 24.04 first configure the official ROS apt repository using the documented ros2-apt-source procedure. Then install Jazzy desktop. Use the distribution required by your robot; for example Humble normally uses Ubuntu 22.04.

Installation / setup commands

sudo apt update
sudo apt install ros-jazzy-desktop
source /opt/ros/jazzy/setup.bash

Verify the installation

ros2 --help

Official instructions: https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debs.html

colcon Ubuntu ROS 2 workspace

Install the build tool extensions with the system package manager after setting up ROS 2's official repository.

Installation / setup commands

sudo apt update
sudo apt install python3-colcon-common-extensions

Verify the installation

colcon --help

Official instructions: https://colcon.readthedocs.io/en/released/user/installation.html

rosdep Ubuntu ROS workspace

Install rosdep, initialize it once if it has not been initialized already, then update its package database.

Installation / setup commands

sudo apt install python3-rosdep
sudo rosdep init
rosdep update

Verify the installation

rosdep --version

Official instructions: https://docs.ros.org/en/jazzy/Tutorials/Intermediate/Rosdep.html

Ubuntu PC / virtual machine

Choose the Ubuntu release supported by your robot SDK, ROS or simulator. Download the official ISO or use a supported virtual machine. Back up the computer before installing or changing partitions.

Verify the installation

lsb_release -a

Official instructions: https://ubuntu.com/download/desktop