Getting started with the Maestro Servo Controller
For a full list of products shown in this video, see its YouTube description.
The Micro Maestro is the smallest of Pololu?s second-generation USB servo controllers. The Maestros are available in four sizes and can be purchased fully assembled or as partial kits:
Maestro family of USB servo controllers: Mini 24, Mini 18, Mini 12, and Micro 6.
- Micro Maestro ? fully assembled
- Micro Maestro ? partial kit
- Mini Maestro 12 ? fully assembled
- Mini Maestro 12 ? partial kit
- Mini Maestro 18 ? fully assembled
- Mini Maestro 18 ? partial kit
- Mini Maestro 24 ? fully assembled
- Mini Maestro 24 ? partial kit
The Mini Maestros offer higher channel counts and some additional features (see the Maestro comparison table below for details).
Micro Maestro 6-channel USB servo controller bottom view with quarter for size reference.
The Micro Maestro is a highly versatile servo controller and general-purpose I/O board in a highly compact (0.85"×1.20") package. It supports three control methods: USB for direct connection to a computer, TTL serial for use with embedded systems, and internal scripting for self-contained, host controller-free applications. The channels can be configured as servo outputs for use with radio control (RC) servos or electronic speed controls (ESCs), as digital outputs, or as analog inputs. The extremely precise, high-resolution servo pulses have a jitter of less than 200 ns, making these servo controllers well suited for high-performance applications such as robotics and animatronics, and built-in speed and acceleration control for each channel make it easy to achieve smooth, seamless movements without requiring the control source to constantly compute and stream intermediate position updates to the Micro Maestro. Units can be daisy-chained with additional Pololu servo and motor controllers on a single serial line.
A free configuration and control program is available for Windows and Linux, making it simple to configure and test the device over USB, create sequences of servo movements for animatronics or walking robots, and write, step through, and run scripts stored in the servo controller. The Micro Maestro?s 1 KB of internal script memory allows storage of servo positions that can be automatically played back without any computer or external microcontroller connected.
Because the Micro Maestro?s channels can also be used as general-purpose digital outputs and analog inputs, they provide an easy way to read sensors and control peripherals directly from a PC over USB, and these channels can be used with the scripting system to enable creation of self-contained animatronic displays that respond to external stimuli and trigger additional events beyond just moving servos.
Bottom view with dimensions (in inches) of Pololu Micro and Mini Maestro servo controllers.
The Micro Maestro is available fully assembled with 0.1? male header pins installed as shown in the product picture or as a partial kit, which ship with these header pins included but unsoldered, allowing the use of different gender connectors or wires to be soldered directly to the pads for lighter, more compact installations. The Mini Maestro 12, 18, and 24 are also available fully assembled or as partial kits. The Micro and Mini Maestros have 0.086? diameter mounting holes that work with #2 and M2 screws.
- Three control methods: USB, TTL (5V) serial, and internal scripting
- 0.25?s output pulse width resolution (corresponds to approximately 0.025° for a typical servo, which is beyond what the servo could resolve)
- Pulse rate configurable from 33 to 100 Hz (2)
- Wide pulse range of 64 to 3280 ?s (2)
- Individual speed and acceleration control for each channel
- Channels can be optionally configured to go to a specified position or turn off on startup or error
- Channels can also be used as general-purpose digital outputs or analog inputs
- A simple scripting language lets you program the controller to perform complex actions even after its USB and serial connections are removed
- Comprehensive user?s guide
- Free configuration and control application for Windows makes it easy to:
- Configure and test your controller
- Create, run, and save sequences of servo movements for animatronics and walking robots
- Write, step through, and run scripts stored in the servo controller
- Two ways to write software to control the Maestro from a PC:
- Virtual COM port makes it easy to send serial commands from any development environment that supports serial communication
- Pololu USB Software Development Kit allows use of more advanced native USB commands and includes example code in C#, Visual Basic .NET, and Visual C++
- TTL serial features:
- Supports 300 ? 200000 bps in fixed-baud mode, 300 ? 115200 bps in autodetect-baud mode (2)
- Simultaneously supports the Pololu protocol, which gives access to advanced functionality, and the simpler Scott Edwards MiniSSC II protocol (there is no need to configure the device for a particular protocol mode)
- Can be daisy-chained with other Pololu servo and motor controllers using a single serial transmit line
- Can function as a general-purpose USB-to-TTL serial adapter for projects controlled from a PC
- Our Maestro Arduino library makes it easier to get started controlling a Maestro from an Arduino or compatible boards like our A-Stars
- Board can be powered off of USB or a 5 ? 16 V battery, and it makes the regulated 5V available to the user
- Compact size of 0.85" × 1.20" (2.16 × 3.05 cm) and light weight of 0.17 oz (4.8 g) with headers
- Upgradable firmware
Maestro Comparison Table
|Micro Maestro||Mini Maestro 12||Mini Maestro 18||Mini Maestro 24|
|Analog input channels:||6||12||12||12|
|Digital input channels:||0||0||6||12|
|Width:||0.85" (2.16 cm)||1.10" (2.79 cm)||1.10" (2.79 cm)||1.10" (2.79 cm)|
|Length:||1.20" (3.05 cm)||1.42" (3.61 cm)||1.80" (4.57 cm)||2.30" (5.84 cm)|
|Weight(1):||3.0 g||4.2 g||4.9 g||6.0 g|
|Configurable pulse rate(2):||33?100 Hz||1?333 Hz||1?333 Hz||1?333 Hz|
|Pulse range(2):||64?3280 ?s||64?4080 ?s||64?4080 ?s||64?4080 ?s|
|Script size(3):||1 KB||8 KB||8 KB||8 KB|
1 This is the weight of the board without header pins or terminal blocks.
2 The available pulse rate and range depend on each other and factors such as baud rate and number of channels used. See the Maestro User?s Guide for details.
3 The user script system is more powerful on the Mini Maestro than on the Micro Maestro. See See the Maestro User?s Guide for details.
The Micro and Mini Maestros are available with through-hole connectors preinstalled or as partial kits, with the through-hole connectors included but not soldered in. The preassembled versions are appropriate for those who want to be able to use the product without having to solder anything or who are happy with the default connector configuration, while the partial kit versions enable the installation of custom connectors, such as right-angle headers that allow servos to be plugged in from the side rather than the top, or colored header pins that make it easier to tell which way to plug in the servo cables. The following picture shows an example of a partial-kit version of the 24-channel Mini Maestro assembled with colored male header pins:
24-channel Mini Maestro (partial kit version) assembled with colored male header pins.
Application Examples and Videos
Micro Maestro as the brains of a tiny hexapod robot.
- Serial servo controller for multi-servo projects (e.g. robot arms, animatronics) based on BASIC Stamp or Arduino platforms.
- PC-based servo control over USB port
- PC-based control of motors by interfacing with an ESC over USB
- PC interface for sensors and other electronics:
- Read a gyro or accelerometer from a PC for novel user interfaces
- General I/O expansion for microcontroller projects
- Programmable, self-contained Halloween or Christmas display controller that responds to sensors. The picture to the right and the video below show a self-contained hexapod robot that uses three micro servos and two digital distance sensors for autonomous walking.
- Self-contained servo tester
An example setup using a Micro Maestro to control a ShiftBar and Satellite LED Module is shown in the picture below and one of the videos above. Maestro source code to control a ShiftBar or ShiftBrite is available in the Example scripts section of the Maestro User?s guide.
Connecting the Micro Maestro to a chain of ShiftBars. A single 12V supply powers all of the devices.