Skip to the content
2 layers79.5 × 44 mmPRO MICRO SCHEMATIC, the printed circuit board in 3D

Quadruped robot powered by an Arduino Pro Micro (ATmega32U4). Operates on 5V power, utilizing 12 servo motors for inverse kinematics and an animated OLED display face through Software I2C.

Size
79.5 × 44 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
27
Pads
81
Tracks, vias
75, 2
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Jul 2026
Updated
27 Aug 2026

Overview

PRO MICRO SCHEMATIC is an open-source printed circuit board by ryanhsiehrh, from the ryanhsiehrh/QUADRUPED-ROBOT-OLED repository on GitHub. It is a 2-layer board of 79.5 × 44 mm with 19 parts on 27 nets, routed with 75 tracks and 2 vias.

Its parts include 3 ICs, 1 resistor, 1 diode, 1 connector and 1 switch. It belongs with the robots and motor control and lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

README

README.md

QUADRUPED-ROBOT-OLED

Quadruped robot powered by an Arduino Pro Micro (ATmega32U4). Operates on 5V power, utilizing 12 servo motors for inverse kinematics and an animated OLED display face through Software I2C.

What it does

  • Inverse Kinematics: Calculates real-time 3D leg positions (X, Y, Z) across 12 servos (3 per leg) for smooth walking, turning, and custom body movements.
  • Animated OLED Face: Runs an expression state machine on a 0.96 inch OLED display. The eyes pan side-to-side, blink every 3 seconds, and automatically close when the robot sits down.
  • Software I2C Communication: Since the Pro Micro's hardware I2C pins (Pins 2 & 3) were already being used for servo signal lines, the OLED screen is driven via software I2C on analog pins A0 (SDA) and A1 (SCL).
  • 50Hz Servo Interrupts: Uses FlexiTimer2 to keep servo updates running smoothly in the background.
  • Serial Control: Responds to string commands sent from the Arduino Serial Monitor at 9600 baud.

Hardware Setup & Pin Mapping

Electronics

  • Board: Arduino Pro Micro (ATmega32U4, 5V / 16MHz)
  • Servos: 12x SG90 Micro Servos
  • Display: 0.96" SSD1306 OLED Screen ($128 \times 64$, Yellow/Blue split)
  • Power: External 5V power supply for the servos (common ground connected to the Arduino).
  • LM2596S Step Down Module: used to step down 12V power supply to 5V if needed

Pinout

ComponentFunctionArduino Pro Micro Pin
OLED DisplaySDA (Data)A0 (Software I2C)
OLED DisplaySCL (Clock)A1 (Software I2C)
Leg 0 (Back Left)Coxa / Femur / TibiaPins 2, 3, 4
Leg 1 (Front Left)Coxa / Femur / TibiaPins 5, 6, 7
Leg 2 (Back Right)Coxa / Femur / TibiaPins 8, 9, 10
Leg 3 (Front Right)Coxa / Femur / TibiaPins 16, 14, 15

PCB Design

  • Simple 2-layer design with a solid ground plane on the back
  • Uses barrel jack for power connection
  • Specific area to hold the LM2596S Step Down Module
  • Contains SPDT switch to toggle power to servo motors ON or OFF

Schematic:

PCB:


Serial Commands

Set your Serial Monitor to 9600 Baud and Newline. Type any of the following commands:

  • w 0 1 – Stand Up (wakes up face display)
  • w 0 0 – Sit Down (closes eyes on display)
  • w 1 x – Walk Forward x steps
  • w 2 x – Walk Backward x steps
  • w 3 x – Turn Right x steps
  • w 4 x – Turn Left x steps
  • w 5 x – Hand Shake emote (x times)
  • w 6 x – Hand Wave emote (x times)
  • w 7 x – Side-to-Side body sway (x times)
  • w 8 x – Bounce body emote (x times)
  • w 9 x – Up and Down stretch (x times)

Libraries

Install these via the Arduino Library Manager or online:

  • U8g2 (for operating OLED screen)
  • FlexiTimer2 (for 50Hz timer interrupts)
  • SerialCommand (for parsing serial input strings)
  • Servo (standard servo motor library)

3D Printed Parts

The chassis and leg components are based on Regis Hsu's Spider Robot Design on Thingiverse.


How to Run

  1. Center Servos: Before attaching the legs, upload servo_90.ino to set all 12 servos to their $90^\circ$ midpoint.
  2. Assemble: Mount the leg horns at $90^\circ$ angles relative to the chassis.
  3. Upload Firmware: Open QUADRUPED-ROBOT-OLED.ino, select Arduino Leonardo, and flash the sketch.
  4. Test: Open Serial Monitor, make sure Newline is enabled, and send w 0 1 to stand the robot up!

Demo Video

Watch the Quadruped Robot video here!


Credits

  • Original base code by panerqiang@sunfounder.com (2015).
  • Bluetooth remote (not used in this project) and emote modifications by RegisHsu (2015).
  • Pro Micro migration, custom movement emotes, software I2C OLED face animation, Kicad schematic and PCB developed by Ryan Hsieh.

Parts

19
QtyValueFootprintReferences
12Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalM1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12
11kResistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P12.70mm_HorizontalR1
1Arduino_Pro_MicroArduino:Sparkfun_Pro_MicroU1
1ER_OLEDM0.96_1x-I2CConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalU3
1Jack-DCConnector_BarrelJack:BarrelJack_HorizontalJ1
1LEDLED_THT:LED_D3.0mmD1
1LM2596S-5-MountLibrary:LM2596S-5-MountU2
1SW_SPDTButton_Switch_THT:SW_E-Switch_EG1271_SPDTSW1

Similar boards

  • 2 layers43.9 × 27.7 mmTcd1304-4v, the printed circuit board in 3D

    Tcd1304-4v

    OpnTec/open-spectrometer-hardware

    Open source VIS spectrometer

    19 parts1.5k
  • 2 layers50 × 60 mmDebate Device, the printed circuit board in 3D

    Debate Device

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    19 parts915
  • 2 layers102.9 × 96.7 mmISA adapter, the printed circuit board in 3D

    ISA adapter

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    19 parts805
  • 2 layers60 × 39 mmPs2usb, the printed circuit board in 3D

    Ps2usb

    rasteri/HIDman

    Adapting USB devices to work on old computers

    19 parts432
  • 2 layers70.1 × 43.2 mmIaq device, the printed circuit board in 3D

    Iaq device

    nkitanov/iaq_board

    IAQ Board is a DIY (Do-It-Yourself) device for measuring internal air quality

    19 parts396
  • 2 layers80 × 80 mmGB BRK CPU G1, the printed circuit board in 3D

    GB BRK CPU G1

    Gekkio/gb-hardware

    Game Boy -related custom hardware by gekkio

    19 parts379CC-BY-4.0
  • 2 layers25.4 × 25.4 mmIna169, the printed circuit board in 3D

    Ina169

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    19 parts282
  • 2 layers58.4 × 28.6 mmNew rele, the printed circuit board in 3D

    New rele

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    19 parts269

Questions

How big is the PRO MICRO SCHEMATIC PCB?

It measures 79.5 × 44 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PRO MICRO SCHEMATIC use?

19 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PRO MICRO SCHEMATIC KiCad files?

From the ryanhsiehrh/QUADRUPED-ROBOT-OLED repository on GitHub, at the commit this page was made from: the board is Kicad Files/PRO_MICRO_SCHEMATIC.kicad_pcb and its schematic Kicad Files/PRO_MICRO_SCHEMATIC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PRO MICRO SCHEMATIC design in my own project?

Its repository states no licence, so its author keeps all rights: ask ryanhsiehrh before reusing the design.