Master Board
Overview
The Master Board is a central communication hub that coordinates multiple Micro Driver boards in complex robotic systems. It provides high-level control via Ethernet while managing real-time SPI communication with up to 6 Micro Driver boards (12 motors total).Key Features
- Ethernet communication with control PC
- SPI communication with Micro Driver boards at 1kHz
- IMU interface for inertial measurement unit
- Power distribution to Micro Driver boards
- Real-time coordination of multiple motors
- Supports up to 6 Micro Driver boards (12 motors)
System Architecture
The Master Board acts as the central coordinator in a distributed motor control system:Specifications
| Feature | Specification |
|---|---|
| Communication | Ethernet (to PC), SPI (to Micro Drivers) |
| SPI Frequency | 1kHz control loop |
| Max Micro Drivers | 6 boards (12 motors) |
| IMU Interface | I2C connection for inertial measurement |
| Power Input | 24V nominal (5V-32V range) |
| Power Output | Distributed to Micro Drivers |
External Documentation
The Master Board is maintained as a separate repository with comprehensive documentation:Master Board Repository
Complete documentation, schematics, firmware, and software interfaces
Key Documentation Sections
- Hardware Design: Schematics, PCB layout, and BOM
- Firmware: Real-time control firmware for STM32
- Software Interface: Python SDK and C++ API
- Wiring Documentation: Connection details for Micro Drivers and IMU
- Setup Instructions: Configuration and initialization
Communication Interfaces
Ethernet Connection
The Master Board uses an RJ45 Ethernet jack for communication with the control PC:
- Protocol: UDP for low-latency communication
- Control Loop: 1kHz real-time control
- Commands: Motor torques, position/velocity setpoints
- Feedback: Encoder positions, velocities, motor currents
Ethernet Cable Options
- Standard Cable
- Custom Cable
Use a standard Ethernet cable (Cat5e or better) for most applications.
SPI Bus
The SPI bus connects the Master Board to all Micro Driver boards:
- Topology: Daisy-chain configuration
- Frequency: 1kHz control loop
- Connectors: 5-pole Hirose DF13
- Wire: 0.14 mm² Kabeltronik wires
SPI Pin Assignment
| Pin | Signal | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | CLK | Clock |
| 3 | MOSI | Master Out, Slave In |
| 4 | MISO | Master In, Slave Out |
| 5 | CS | Chip Select |
IMU Interface
The Master Board supports connection to an Inertial Measurement Unit (IMU) for measuring robot orientation and acceleration.
IMU Connection
- Connector: 10-pin rectangular connector (ribbon cable)
- Extension: 4-pin Hirose DF13 connector
- Protocol: I2C communication
- Power: 3.3V or 5V (depending on IMU)
Supported IMUs
- Invensense MPU-6050
- Invensense MPU-9250
- Bosch BMI088
- Other I2C-compatible IMUs
Refer to the Master Board Wiring Documentation for detailed IMU pin assignment.
Power Distribution
The Master Board manages power distribution to all connected Micro Driver boards.Power Input
- Connector: XT30 power connector
- Voltage: 24V nominal (5V-32V range)
- Wire gauge: 1 mm² Kabeltronik wires
Power Output
- Distribution: Power supplied to all Micro Drivers
- Connection: Via 2-pin Hirose connector on one Micro Driver
- Daisy-chain: Power distributed between Micro Driver boards
Power Connector Convention
- Red wire: Positive (+24V)
- Black wire: Ground (GND)
Robot Interface Wire
The robot interface wire provides a single connection point for powering the entire robot system.
Supply Side (Power Source)
- Wire: 1 mm² Kabeltronik wires
- Connector: 4mm power connectors
- Colors: Red (+24V), Black (GND)
Robot Side
- Wire: 1 mm² Kabeltronik or custom 4-wire Ethernet cable
- Connector: XT30 power connector
- Additional wires: Optional Ethernet data lines in same cable
Software Interface
The Master Board is controlled through software libraries available in the Master Board repository:Python SDK
C++ API
C++ interface available for real-time control applications with minimal latency.ROS Integration
ROS (Robot Operating System) packages available for integration with existing robotics software.Advantages
- Centralized Control: Single point of communication for complex robots
- Ethernet Interface: Standard networking hardware and protocols
- Synchronized Control: 1kHz real-time control of all motors
- IMU Integration: Built-in support for orientation sensing
- Scalable: Supports 2-12 motors with identical interface
- Modular: Easy to add or remove Micro Driver boards
Use Cases
Multi-DOF Robots
- Quadruped robots: 8-12 degrees of freedom
- Humanoid robots: 12+ degrees of freedom
- Manipulation systems: Multiple robot arms
Applications Requiring
- Ethernet-based control
- Centralized coordination
- IMU feedback
- Synchronized multi-motor control
- Professional software interface
Compatible Robots
The Master Board is used in:- TriFinger v2 and v3: 9 motors (3 Micro Drivers)
- Quadruped 12dof: 12 motors (6 Micro Drivers)
- Solo v2 and v3: 12 motors (6 Micro Drivers)
- Bolt: 12 motors (6 Micro Drivers)
- Custom multi-motor systems
Getting Started
Hardware Setup
- Connect Master Board to power supply (24V)
- Wire SPI bus to Micro Driver boards
- Connect IMU (if used)
- Connect Ethernet cable to control PC
Troubleshooting
No Ethernet Communication
- Check network cable connection
- Verify IP address configuration
- Check firewall settings on control PC
- Test with example scripts
SPI Communication Errors
- Verify SPI wire connections
- Check wire length (keep short)
- Ensure proper power to all boards
- Check for loose connectors
Motor Not Responding
- Verify Micro Driver power
- Check SPI connection to that specific driver
- Ensure motor is enabled in software
- Check LED status on Micro Driver
Additional Resources
Master Board Repository
Complete hardware and software documentation
Wiring Documentation
Detailed wiring diagrams and pin assignments
Software SDK
Python and C++ libraries for control
Forum
Community support and discussions