Motor Controller Technologies

Advanced motion control solutions powered by intelligent algorithms, versatile interfaces, and comprehensive protection systems for robotics, automation, and STEAM education.

Multi-Mode Control Interfaces

Basicmicro motor controllers support multiple communication protocols and control methods, providing flexibility for any project from hobby robotics to industrial automation.

USB Serial Interface

Virtual COM port connection enables direct communication with Motion Studio configuration software and custom applications on Windows, Linux, and macOS without additional drivers on most systems.

TTL Serial

3.3V and 5V compatible serial protocol with checksums for reliable communication. Supports addressable networks with up to 8 controllers on a single serial bus using unique device addresses.

RC Servo Pulses

Standard 1-2ms pulse width input compatible with RC receivers and servo testers. Built-in mixing mode enables differential drive robots to be controlled directly from a two-channel RC transmitter.

Analog Voltage Control

0-5V analog input for simple speed control from potentiometers or analog joysticks. Configurable center deadband and exponential response curves for precise manual control.

CAN Bus / CANopen MCP Only

Industrial CAN bus interface with CANopen protocol support for integration into automated systems, AGVs, and multi-axis motion control networks.

RS-232 Serial MCP Only

Hardware RS-232 interface for better compatibility with industrial PLCs, HMIs, and existing automation infrastructure without additional converters.

Intelligent PID Motion Control

Closed-loop control systems maintain precise speed and position regardless of load variations, enabling accurate robot navigation and repeatable robotic arm positioning.

Velocity and Position Control

The integrated PID controller continuously adjusts motor output to minimize error between the commanded setpoint and actual measured values. The proportional term responds to current error, integral corrects accumulated error over time, and derivative predicts future error to prevent overshoot and oscillation.

Auto-Tuning Technology

Motion Studio's auto-tuning feature automatically determines optimal P, I, and D coefficients for your specific motor and encoder combination. Three tuning methods are available: PD (proportional-derivative) for reliable position control, PIV (cascaded position-velocity) for smooth motion profiles, and full PID for specialized applications.

  • Automatic QPPS (quadrature pulses per second) measurement
  • Real-time graphing of setpoint vs. actual values
  • Velocity error limits for fault protection
  • Position error limits with configurable thresholds
  • Support for quadrature encoders up to 8 million pulses per second
  • Absolute encoder and potentiometer compatibility
  • Built-in commands for acceleration, deceleration, and distance control
  • Current sense feedback for torque limiting

Encoder Feedback Options

All Basicmicro controllers feature integrated quadrature decoders capable of processing up to millions encoder pulses per second. This high-speed decoding enables precise closed-loop control even with high-resolution encoders on fast-spinning motors. Absolute encoders and analog potentiometers are also supported for position feedback in applications where incremental tracking is impractical.

Comprehensive Protection Systems

Multiple layers of hardware and software protection safeguard your motor controller, motors, power supply, and connected systems from damage.

Temperature Protection

Automatic current limiting activates when board temperature exceeds 85°C, gradually reducing output to prevent thermal damage while maintaining operation. Status LEDs and Motion Studio provide real-time temperature monitoring.

Current Limiting

User-configurable maximum current limits for each motor channel. When limits are reached, motor power is automatically scaled back. Protects motors, wiring, and the controller from overcurrent conditions.

Voltage Protection

Configurable over-voltage and under-voltage cutoffs protect against battery damage and brownout conditions. LiPo cutoff mode prevents deep discharge damage to lithium batteries.

Regenerative Voltage Management

Built-in voltage clamp control works with external resistors or the VClamp accessory to safely dissipate regenerative energy when motors decelerate. Essential for power supply operation.

I/O Protection

All inputs are protected by internal current limiting and voltage clipping circuits that safely handle signals up to 5V. 3.3V logic output is compatible with both 5V and 3.3V systems without level shifters.

E-Stop & Limit Switches

Configurable pins support emergency stop switches, travel limit switches, and home position sensors. E-stop immediately halts all motor operation while limit switches prevent mechanical overtravel.

Synchronous Regenerative Motor Control

Efficient synchronous regenerative topology returns energy to the battery during braking and deceleration, extending battery life and enabling dynamic braking capabilities.

When a motor slows down or brakes, it acts as a generator producing electrical energy. Basicmicro's synchronous regenerative design captures this energy and returns it to the power source. For battery-powered robots, this means extended runtime and reduced thermal load on the controller.

Braking Modes

Three braking behaviors are available depending on the commanded duty cycle and motor state:

  • Regenerative braking: Energy returned to battery when motor voltage exceeds supply voltage
  • Dynamic braking: Rapid stops by reversing motor direction, requires encoder feedback
  • Resistive braking: Motor coasts to stop when duty cycle reaches zero
  • VClamp accessory dissipates excess regenerative energy as heat when using power supplies

Power Supply Compatibility

While batteries naturally absorb regenerative current, switching power supplies cannot accept reverse current flow. The voltage clamp feature, combined with the VClamp accessory board, redirects excess energy through high-wattage resistors to prevent damage to both the controller and power supply.

MCL Scripting Language MCP Only

Transform your MCP motor controller into a standalone programmable motion controller with the built-in MCL scripting language, eliminating the need for external PLCs or microcontrollers in many applications.

MCL (Motion Control Language) is a BASIC-like programming language that runs directly on the MCP's 32-bit Cortex M4 processor. Programs are compiled and stored in flash memory, executing independently without external control systems. This reduces system complexity, cost, and potential failure points.

Language Capabilities

  • Variable types: Byte, Word, Long, Float for flexible data handling
  • Arrays for storing sensor data and motion profiles
  • Control structures: IF/THEN, loops, GOTO for program flow
  • Direct motor control commands: power, speed, position
  • Access to all system variables: temperature, voltage, current, encoder counts
  • Serial output for communication with external devices
  • Mathematical operators including floating-point arithmetic
  • User-definable I/O control for auxiliary devices

Example: Temperature Monitoring

; MCL script to monitor and report temperature main puts 0,[real TOFLOAT SYSTEMP/10.0\2,13] pause 100 goto main

Development Environment

Motion Studio includes a full-featured MCL editor with syntax highlighting, compile-time error checking, and a built-in terminal for debugging output. Programs are downloaded directly to the controller over USB and can be configured to run automatically at power-on.

Developer Libraries & Tools

Comprehensive software support for popular development platforms accelerates integration and reduces time-to-working-prototype.

Motion Studio Software

Free Windows application for complete controller configuration, real-time diagnostics, PID auto-tuning, and firmware updates. Features include real-time graphing of motor performance, configuration backup/restore, and the MCL scripting editor for MCP controllers.

Official Libraries

Platform Library Features
Arduino RoboClaw Arduino Library Hardware/software serial, all packet commands, example sketches
Python roboclaw_python Cross-platform, pip installable, async support
Raspberry Pi Packet Serial / Standard Serial GPIO serial, USB serial, multi-controller support
ESP32 roboclaw_esp32 Hardware serial, WiFi-enabled remote control
Teensy Compatible with Arduino library High-speed serial, multiple hardware UARTs

Available on GitHub

All official libraries and example code are available on the Basicmicro GitHub repository, with documentation and application notes on the Resources section of basicmicro.com.

Technology by Product Line

Choose the right controller family based on your application requirements.

Feature RoboClaw OEM RoboClaw MCP Series
Target Application Robotics, STEAM Education Product Integration Industrial, OEM, Commercial
Peak Current 300A 30A 300A
Voltage Range 6V - 60V 6V - 34V 10V - 60V
Form Factor Enclosed / Open Board PCB Mountable (0.1" pitch) Rugged Enclosed
USB Interface
TTL Serial
RS-232 Serial
CAN Bus ✓ (CAN, CANOpen, SimpleCAN)
MCL Scripting
User I/O Pins Limited Limited Up to 8 configurable
Quadrature Decoder ✓ (8M pps) ✓ (8M pps) ✓ (8M pps)
Auto-Tune PID
Regenerative Braking
Built-in BEC 5V (mA varies by model) 5V (mA varies by model) 5V (mA varies by model)

Ready to Get Started?

Explore our motor controller product lines and find the right solution for your robotics, automation, or educational project.

View Motor Controllers View Documentation
Logo