pdf-icon

Module DCMotor

SKU:M021

Description

DC MOTOR is built with MEGA328 and L293DD micro controllers, implemented 4 driver channels. A DC power input is designed for power supplement. Through M-BUS the DC in can automatically power the M5 core at top. DC motor module can drive RJ12 interface encoder-motor easily and quickly, such as LEGO ev3 Motor.(This product is not affiliated with or endorsed by LEGO. LEGO is a trademark of the LEGO Group of companies)

Series Communication: I2C (0x56).

Features

  • Communication Protocol: I2C (Address: 0x56)
  • DC input: 6-12V
  • DC connector type: XT30 (female)
  • 4x motor drive channels (for LEGO EV3-RJ12 port coding motors)
  • 2x I2C HY2.0-4P interface (expanded by A port of M5Core)

Include

  • 1x DC MOTOR module
  • 1x 10cm motor cable
  • 1x DC connector

Specifications

Specifications Parameters
Communication Protocol I2C (Address: 0x56)
Motor driver chip L293DD
Power input voltage DC: 6-12V
Power Connector Specifications XT30 (female)
Motor interface specification ZH1.5-6P
Net Weight 17g
Gross Weight 48g
Product size 54 * 54 * 12mm
Packing Size 95 * 65 * 25mm
Shell Material Plastic ( PC )

EasyLoader

download EasyLoader

What is EasyLoader?
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to download driver

PinMap

Mega328 ISP Download interface Pin foot definition

MBUS PinMap

Schematic

Example

Arduino

To get the complete Arduino code, please click here

UIFlow

How to use Module dc_motor on the UIFlow 1.0 graphical programming platform and related API instructions.

NOTE

If you want to change the firmware inside MEGA328 chip which has implemented the motor driver code by default, you can overwrite through ISP port. Below shows the location of ISP port.