The Motoron M2H18v20 Dual High-Power Motor Controller makes it easy to control DC motors from a Raspberry Pi (Model B+ or newer) through an I²C interface. The M2H18v20 operates from 6.5 V to 30 V and can deliver continuous output currents up to 20 A per motor. This version ships with aluminum standoffs, header pins, and terminal block options included but not soldered in.
The M2H18v20 controller operates from 6.5 V to 30 V (absolute maximum, not intended for use with 24 V batteries) and can deliver continuous output currents up to 20 A per motor. The M2H18v20 can be distinguished from other types of M2H controllers by its larger discrete MOSFETs and the number 150 on top of the tall silver electrolytic capacitors.
This version is a kit with the following connectors included but not soldered in:
- One 2×20 stackable female header
- Three 2-pin 5mm screw terminal blocks
- One 1×25 breakaway male header (you can cut or break this into smaller header strips to install as desired)
It also includes a set of four M2.5 standoffs (11 mm length), screws, and nuts that can be used to secure the board at the proper height
The M2H18v20 is also available with connectors soldered, or as a standalone board without connectors.
Terminal block warnings:
1) The 5mm blue terminal blocks are rated for up to 16 A, so for higher-current applications we recommend getting an unsoldered version and then soldering thick wires directly to the board.
2) The included terminal blocks are taller than the headers, so precautions must be taken when stacking multiple Motoron M2H modules assembled with 5mm terminal blocks. As shown in the picture below, the terminal block pins should be trimmed, and the nuts included with the standoffs can be used as extra spacers.
Features and specifications
- Two motor control channels allow for independent control of up to two bidirectional brushed DC motors
- Reverse-voltage protection on motor power supply
- Logic voltage range: 3.0 V to 5.5 V
- Control interface: I²C
- I²C clock speed: up to 400 kHz
- Optional cyclic redundancy checking (CRC)
- Configurable motion parameters:
- Max acceleration/deceleration forward/reverse
- Starting speed forward/reverse
- Direction change delay forward/reverse
- PWM frequency: eight options available from 1 kHz to 80 kHz
- Current sensing
- Configurable hardware current limiting
- Command timeout feature stops motors if the Raspberry Pi stops functioning
- Configurable automatic error response
- Motor power supply (VIN) voltage measurement
- Optional pins make it easy to power the Raspberry Pi from reverse-protected motor power through an external regulator (not included)
- Two status LEDs
- Motor direction indicator LEDs
- Motoron Python library simplifies getting started using the Motoron with a Raspberry Pi
- Size: 65 mm × 56 mm
- Weight: 29 g. Not including standoffs.
- Channels: 2
- Model: Motoron M2H18v20
- Interface: I²C
- Minimum operating voltage: 6.5 V
- Maximum operating voltage: 30 V. Absolute maximum; higher voltages can permanently destroy the motor drivers. Recommended maximum is approximately 24 V, which leaves a safety margin for ripple voltage on the supply line. Not recommended for use with 24V batteries.
- Continuous output current per channel: 20 A. Typical results at room temperature with both channels running at 90% duty cycle.
- Reverse voltage protection?: Y
- Connectors soldered?: N