6.d. Script Specifications

The user scripting language available on the Mini Maestros is more powerful than that available on the Micro Maestro. The differences are summarized in the table below.

Micro Maestro Mini Maestro 12, 18, and 24
Script size: 1KB 8 KB
Stack size: 32 126
Call stack size: 10 126
Number of subroutines: 128 unlimited
Extra commands: PEEK, POKE, PWM, SERIAL_SEND_BYTE

Script size: This is the number of bytes of persistent memory that can be used to store your code. A bigger script size allows you to store more servo motion frames and to write more complex programs.

Stack size: This is the maximum number of values that can be on the stack at the same time. A bigger stack allows you to have more variables, do bigger computations, and worry less about whether the stack will overflow.

Call stack size: This is the maximum subroutine nesting depth (the maximum number of subroutines that can be called without returning).

Number of subroutines: This is the number of different subroutines you are allowed to have.

The first 128 subroutines defined in your script are special: these subroutines can be started using a serial or native USB command, and each call from within your script requires only one byte of script space. The Micro Maestro only supports having up to 128 subroutines. The Mini Maestro 12, 18, and 24 support having an unlimited number of subroutines, but the subroutines defined after the first 128 can not be started from a serial or native USB command, and each call requires 3 bytes of script space.

Related Products

Micro Maestro 6-Channel USB Servo Controller (Partial Kit)
Micro Maestro 6-Channel USB Servo Controller (Assembled)
Mini Maestro 12-Channel USB Servo Controller (Assembled)
Mini Maestro 12-Channel USB Servo Controller (Partial Kit)
Mini Maestro 18-Channel USB Servo Controller (Assembled)
Mini Maestro 18-Channel USB Servo Controller (Partial Kit)
Mini Maestro 24-Channel USB Servo Controller (Assembled)
Mini Maestro 24-Channel USB Servo Controller (Partial Kit)
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors