×

Moottorinohjain LC tehnology

Lainattua linkistä

"The HG7881 (L9110S) Dual Channel Motor Driver Module is a compact board that can be used to drive very small robots.

This tiny module has two independent HG7881 (L9110S) motor driver chips which can each drive up 800mA of continuous current. The boards can be operated from 2.5V to 12V enabling this module to be used with both 3.3V and 5V microcontrollers.

A set of male header pins is used to connect this module to your robot's microcontroller brain. The motors are attached via two sets of screw terminals.

A PWM Pulse Width Modulation signal is used to control the speed of a motor and a digital output is used to change its direction. This module can also be used to drive a single four line two phase stepper motor. Four holes make this board easy to mount onto your robot or other project.

Motor Control Interface
Pin Description
B-IA Motor B Input A (IA)
B-IB Motor B Input B (IB)
GND Ground
VCC Operating Voltage 2.5-12V
A-IA Motor A Input A (IA)
A-IB Motor A Input B (IB)

 

Motor Truth Table
IA IB Motor State
L L Off
H L Forward
L H Reverse
H H Off

We recommend applying a PWM signal to input IA to control the motor speed and a digital output to input IB to control its direction.

Note that the actual direction that "forward" and "reverse" turn your motor will depend on how it is oriented and wired. If your motor spins the wrong way, either swap the motor wires that connect to the output terminals or change the way the IA and IB bits get set in your program."

Opetellaan Arduinon ohjelmoinita ja peruskytkentöjä