Skip to the content
PCBKitNew board
2 layers44.1 × 18.4 mmLegEncoderBoard, the printed circuit board in 3D

LegEncoderBoard

01binary/str1ker20

A human-scale mech integrated with Robot Operating System

Size
44.1 × 18.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
32
Pads
115
Tracks, vias
430, 45
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Feb 2020
Updated
18 Aug 2026

Overview

LegEncoderBoard is an open-source printed circuit board by 01binary, from the 01binary/str1ker repository on GitHub. It is a 2-layer board of 44.1 × 18.4 mm with 45 parts on 32 nets, routed with 430 tracks and 45 vias.

It is built around the SN74LVC3G17DCTR, AS5047P-ATST and BAT54, with the MMBT3904 among its other parts. Its parts include 17 resistors, 9 capacitors, 3 diodes, 3 transistors and 2 ICs.

Main components

4

README

boards/LegRobotBoardTeensy/readme.md

Leg Robot Board

A board that controls the mobile platform with four mecanum wheels:

  • Leg Actuators
  • Leg Actuator Potentiometers
  • Leg Wheels
  • Leg Wheel Encoders
  • 9-DOF IMU
  • Enabled and PWM activity LEDs
  • Wheel Speed 7-Segment LED Indicators

Modules

The following components are placed onto the board as modules:

ModuleFunction
Teensy 4.1ROS Node
Adafruit 9-DOF IMUTF2 Transform

Devices

The following external components are connected to the board via JST-XH locking connectors:

DeviceFunction
8x IBT2 Motor DriversWheel Motor Drivers, Leg Actuator Drivers (8 pin IDC connector: 3V3, GND, L_EN, R_EN, LPWM, RPWM, L_IS, R_IS)
4x Feedback Rod Linear Actuator PotentiometersLeg Actuator Potentiometers (3 pin JST-XH connector: 3V3, SIG, GND)
4x Leg (Wheel) Encoder BoardWheel Encoders (8 pin IDC connector: A, B, I, 3V3, and four GND's

Functionality

PWM

There are four legs and each has two motors: a linear lift actuator and a brushed DC motor that runs the wheel.

Each PWM channel gets its own EN (Enabled) signal. The current sense signals (L_IS, R_IS) are included in the connector layout and sent over the wire, but not used anywhere on the board because there aren't enough pins for them. A multiplexer can be added later if the signals are desired.

ADC

The linear lift actuators have built-in multi-turn potentiometers. These are routed to Teensy ADC pins.

Quadrature

The wheel encoders are connected to each of the four wheels, outputting A, B, and I pulses counting rotations (1000 pulses per revolution).

Number Displays

Four 7-segment common anode LED number displays with decimal points display the speed of each wheel from 0.0 to 1.0. They are driven by an LED multiplexer.

The LED multiplexer is mapped to four 2-digit LED displays with decimal point as follows:

Display functionIS31FL3730 pins
Digit common anodesSW1–SW8
Segments A, B, C, D, E, F, G, DPCS1–CS8

The 3621BH common-anode LED displays have the following pin footprint:

12345
1COM0BCED
2GDPAFCOM1

The digit segments are mapped as follows:

DigitSegments
digitA - Top of upper square
F - Left of upper square
B - Right of upper square
G - Link of both squares
E - Left of lower square
C - Right of lower square
D - Bottom of lower square
DP - Decimal point

Pin Mapping

This board is essentially a shield. Labeled locking connectors are provided for all of the devices, PWM enabled/activity is indicated by LEDs, and wheel speeds are indicated by number displays.

PinFunctionGroup
A16Actuator 1 Potentiometer SIGFront Left Leg (Actuator)
D32Quadrature Encoder 1 AFront Left Leg (Wheel)
D33Quadrature Encoder 1 BFront Left Leg (Wheel)
D22Quadrature Encoder 1 IndexFront Left Leg (Wheel)
D26Motor Driver 1 ENFront Left Leg (Wheel)
D27Motor Driver 2 ENFront Left Leg (Actuator)
D0Motor Driver 1 RPWMFront Left Leg (Wheel)
D1Motor Driver 1 LPWMFront Left Leg (Wheel)
D2Motor Driver 2 RPWMFront Left Leg (Actuator)
D3Motor Driver 2 LPWMFront Left Leg (Actuator)
A17Actuator 2 Potentiometer SIGFront Right Leg (Actuator)
D34Quadrature Encoder 2 AFront Right Leg (Wheel)
D35Quadrature Encoder 2 BFront Right Leg (Wheel)
D23Quadrature Encoder 2 IndexFront Right Leg (Wheel)
D28Motor Driver 3 ENFront Right Leg (Wheel)
D29Motor Driver 4 ENFront Right Leg (Actuator)
D4Motor Driver 3 RPWMFront Right Leg (Wheel)
D5Motor Driver 3 LPWMFront Right Leg (Wheel)
D6Motor Driver 4 RPWMFront Right Leg (Actuator)
D7Motor Driver 4 LPWMFront Right Leg (Actuator)
A2Actuator 3 Potentiometer SIGRear Left Leg (Actuator)
D36Quadrature Encoder 3 ARear Left Leg (Wheel)
D37Quadrature Encoder 3 BRear Left Leg (Wheel)
D24Quadrature Encoder 3 IndexRear Left Leg (Wheel)
D30Motor Driver 5 ENRear Left Leg (Wheel)
D31Motor Driver 6 ENRear Left Leg (Actuator)
D8Motor Driver 5 RPWMRear Left Leg (Wheel)
D9Motor Driver 5 LPWMRear Left Leg (Wheel)
D10Motor Driver 6 RPWMRear Left Leg (Actuator)
D11Motor Driver 6 LPWMRear Left Leg (Actuator)
A3Actuator 4 Potentiometer SIGRear Right Leg (Actuator)
D38Quadrature Encoder 4 ARear Right Leg (Wheel)
D39Quadrature Encoder 4 BRear Right Leg (Wheel)
D25Quadrature Encoder 4 IndexRear Right Leg (Wheel)
D20Motor Driver 7 ENRear Right Leg (Wheel)
D21Motor Driver 8 ENRear Right Leg (Actuator)
D12Motor Driver 7 RPWMRear Right Leg (Wheel)
D13Motor Driver 7 LPWMRear Right Leg (Wheel)
D14Motor Driver 8 RPWMRear Right Leg (Actuator)
D15Motor Driver 8 LPWMRear Right Leg (Actuator)
A5I2C SCLIMU, LED Driver
A4I2C SDAIMU, LED Driver

Buses

DeviceBusAddress
IMUI2C0x28 (ADR tied to GND to set address)
IS31FL3730I2C0x74

Bill of Materials

ComponentDescription
IS31FL3730LED Driver/Multiplexer
CL3621BHLED Displays (2-Digit, 7-Segment, 10-Pin Common Anode) for Wheel Speeds
XL-1608SURC-06Red LED for EN signals
150080BS75000Blue LED for LPWM/RPWM signals
RC0603FR-07150RL150 Ohm LED Resistor
RC0603FR-07470RL470R Red LED Resistor
RCG06031K00FKEA1K LED Resistor
RC0603FR-072K2L2.2K Series Resistor (ADC channels)
CR0603-FX-4701ELF4.7K Pull-Up Resistor for LED Multiplexer
CRCW060310K0FKEA10K 555 Timer Pull-Up Resistor, Transistor Base Resistor
HoAR0603-1/10W-20KR-1%-TCR2520K LED Driver Current Setting Resistor
CRCW0603100KFKEA100K Transistor Base Pull-Down Resistor
RC0603FR-07360KL360K 555 Timer Resistor
C0402C103J4RACTU10nF 555 Timer Capacitor
CL10B473KB8NNNC47nF Decoupling Capacitor (ADC channels)
CC0603KRX7R9BB104100nF IMU Capacitor
CC0603JRX7R7BB1051uF 555 Timer Capacitor
SN74HC08DRIC Gate
MMBT3904LT1GLED Transistor
TLC555CDR555 Timer
JST_XH_B3B-XH-AActuator Potentiometers (3V3, SIG, GND)
Molex 0702460802Motor Drivers (LPWM, RPWM, L_EN, R_EN, L_IS, R_IS, 3V3, GND)
Teensy 4.1Teensy 4.1 without Headers
ICM-648-1-GT-HTTeensy IC DIP Socket, 48P
Needle HeadersTeensy Needle Headers for DIP Socket
DIP Socket 10 pinLED number displays IC socket

Parts

45
QtyValueFootprintReferences
5100KResistor100K:CRCW0603100KFKEAR1, R5, R10, R16, R17
5BAT54EnvelopeDiode:BAT54WS-7-FCR1, CR2, CR3, CR4, CR5
41uFCapacitor1uF:CC0603JRX7R7BB105C3, C5, C6, C7
4MountingHoleMountingHole:MountingHole_2.5mm_PadH1, H2, H3, H4
310nFCapacitor10nF:GRM1885C1H103JA01DC2, C8, C9
322RResistor22:RC0603FR-0722RLR13, R14, R15
3470KResistor470K:RC0603FR-07470KLR3, R8, R12
347KResistor47K:RC0603FR-0747KLR2, R7, R11
3MMBT3904Transistor:MMBT3904LT1GQ1, Q2, Q3
2100nFCapacitor100nF:CC0603KRX7R9BB104C1, C4
2150RResistor150:RESC1607X60NR6, R9
2BLUELEDLedBlue:150080BS75000_ModifiedD2, D3
11KResistor1K:RCG06031K00FKEAR4
1AS5047P-ATSTAS5047P-ASST:AS5047P-ASSTU1
1Conn_01x04Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ2
1Conn_01x05Connector_IDC:IDC-Header_2x04_P2.54mm_VerticalJ1
1REDLEDLedRed:NCD0603R1D1
1SN74LVC3G17DCTRSchmittBuffer:SN74LVC3G17DCTRU2

Questions

How big is the LegEncoderBoard PCB?

It measures 44.1 × 18.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LegEncoderBoard use?

45 parts, built around the SN74LVC3G17DCTR, AS5047P-ATST, BAT54 and MMBT3904. 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 LegEncoderBoard KiCad files?

From the 01binary/str1ker repository on GitHub, at the commit this page was made from: the board is boards/LegEncoderBoard/LegEncoderBoard.kicad_pcb and its schematic boards/ArmEncoderBoard/ArmEncoderBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LegEncoderBoard design in my own project?

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

More from 01binary/str1ker

6
  • 2 layers178.2 × 110.9 mmLegRobotBoardTeensy, the printed circuit board in 3D

    LegRobotBoardTeensy

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    179 parts20
  • 2 layers174 × 121.1 mmMainRobotBoardTeensy, the printed circuit board in 3D

    MainRobotBoardTeensy

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    163 parts20
  • 2 layers87.5 × 55 mmArmRobotBoardTeensy, the printed circuit board in 3D

    ArmRobotBoardTeensy

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    53 parts20
  • 2 layers34 × 34 mmArmEncoderBoard, the printed circuit board in 3D

    ArmEncoderBoard

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    34 parts20
  • 2 layers58.4 × 46.5 mmArmPowerBoard, the printed circuit board in 3D

    ArmPowerBoard

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    14 parts20
  • 2 layers54.5 × 33 mmAudioBoardTeensy, the printed circuit board in 3D

    AudioBoardTeensy

    01binary/str1ker

    A human-scale mech integrated with Robot Operating System

    12 parts20

Similar boards

  • 4 layers116 × 112 mmBldc esc, the printed circuit board in 3D

    Bldc esc

    EwoudVV/bldc-esc

    A custom STM32 motor controller for BLDC and PMSM motors.

    453 parts2
  • 4 layers90 × 70 mmRobot hub rev3, the printed circuit board in 3D

    Robot hub rev3

    dustin-lehmann/TWIPR

    See https://github.com/dustin-lehmann/TWIPR/wiki for descriptions on how to use the hardware and software

    278 parts1
  • 2 layers89 × 107.5 mmProtosync, the printed circuit board in 3D

    Protosync

    r8bx/protosync

    57 parts
  • 2 layers200 × 100 mmTrx mobo concept 2, the printed circuit board in 3D

    Trx mobo concept 2

    hwstar/Lefty-MOBO

    Lefty Double Conversion Transceiver Motherboard

    422 parts2CC0-1.0
  • 4 layers154 × 81 mmSystem candidate, the printed circuit board in 3D

    System candidate

    bernardopg/ps28-modern-amp

    Infinity Primus PS28 amplifier modernization: TPA3255 engineering, validation and safety-gated workflow

    269 parts1
  • 4 layers90.8 × 47 mmPickit, the printed circuit board in 3D

    Pickit

    ananevego/ProjectFreeCad

    Конвертер библиотечных footprint-файлов KiCad .kicadmod в самостоятельные библиотеки FreePCB2 .fpl. Написан на Python 3.10+, внешние зависимости не нужны.

    122 parts
  • 4 layers50 × 75 mmAccoustic Sensing Node, the printed circuit board in 3D

    Accoustic Sensing Node

    irocobble/CA_LR_ES

    Open-source ESP32-S3 edge computing module with LoRa, GPS, external flash, MicroSD, and expansion support for long-range IoT applications.

    129 parts
  • 4 layers50 × 50 mmLFX FC R2, the printed circuit board in 3D

    LFX FC R2

    nguyencanhanh/luckfox-rv1103-drone

    AI quadcopter on one RV1103 (Luckfox Pico Mini B): Linux + RISC-V MCU flight loop, SITL with 3D pilot view, KiCad flight-controller board

    142 partsMIT