pdf-icon

Module 4EncoderMotor

SKU:M138

Description

4EncoderMotor Module is a 4-channel encoder motor driver module that utilizes the STM32+BL5617 solution. It is suitable for various applications such as robot motion control, automation equipment, smart vehicles, laboratory equipment, and industrial automation systems.

4EncoderMotor Module supports multiple control modes, including duty cycle control, absolute position positioning, and speed adjustment. Users can easily implement functions such as forward rotation, reverse rotation, stop, and braking for the motors. This module adopts I2C communication and allows for the modification of the slave address, providing flexible control options. With the input of AB pulse encoder signals, it can accurately detect the motor's motion state and position.

To ensure the stability and safety of the motor system, the module also integrates the INA199 power monitoring, which continuously monitors the voltage and current status in real-time, ensuring that the motor operates within the appropriate power range. Additionally, the 4EncoderMotor Module features an onboard power input switch. Users can choose between DC 5V or external DC 6-12V power input to meet the requirements of different application scenarios.

Features

  • 4 channel coded motor drive
  • AB Pulse signal input
  • Duty cycle, absolute position positioning, speed adjustment control mode
  • I2C communication mode
  • Power supply current and voltage monitoring

Includes

  • 1x 4EncoderMotor Module
  • 1x DC5521 Female To XT30 Female Cable
  • 4x KF2510-2P 100mm

Applications

  • Robot motion control
  • Automation equipment
  • Intelligent vehicle
  • Industrial automation system

Specification

Resources Parameters
Coded motor drive IC BL5617
Supported maximum current 3.0A
Power 10W Max
External DC power source 6-12V
I2C communication address 0x24
Operating temperature 0-40°C
Product Size 54*54*13.1mm
Package Size 94*67*25mm
Product Weight 15.9g
Package Weight 46.4g

Schematic

schematics

PinMap

I2C communication and current and voltage detection

STM32 MCU_IIC_SDA(PB11) MCU_IIC_SCL(PB10) PB0 PB1
Core(Basic) G21 G22
Core2 G21 G22
CoreS3 G12 G11
Motor Voltage Detect ADC1_OUT
Current Detect ADC2_OUT

Code motor direction control pin

STM32 PB14/PB15 PB12/PB13 PB4/PB5 PA15/PB3
BL5617 (Direction) MCU_DIR_M1R/MCU_DIR_M1F MCU_DIR_M2R/MCU_DIR_M2F MCU_DIR_M3R/MCU_DIR_M3F MCU_DIR_M4R/MCU_DIR_M4F

Code motor speed PWM control

STM32 PA9 PA8 PA11 PA10
BL5617 (PWM) MCU_PWM_M1 MCU_PWM_M2 MCU_PWM_M3 MCU_PWM_M4

Coding motor A/B signal detection

STM32 PA6/PA7 PA4/PA5 PB9/PB8 PB7/PB6
Encodering motors E1_A/E1_B E2_A/E2_B E3_A/E3_B E4_A/E4_B

Module Size

module size

Protocol

detail

UIFlow

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

Examples

Arduino

Internal Firmware

Below is the firmware upgrade for the 4EncoderMotor Module.
EasyLoader is a simple and fast program flasher. It comes with a product-related example program that allows you to perform a series of functionality tests after a simple flashing process.

Download Windows Version Easyloader

Video

  • 4EncoderMotor Module Function Description

FAQ

Question: What is the difference between 4EncoderMotor Module and DCMotor Module (M021)?

Product Protocol Chip Motor Type Channel
4EncoderMotor Module I2C STM32+BL5617 DC Motor/Encoder Motor 4
DC Motor Module(M021) I2C MEGA328+L293D DC Motor/Encoder Motor 4