QB045/QB075 130 DC Motor Module
1.Product Introduction
The 130 motor module is a common DC motor module that can convert electrical energy into mechanical energy to make your equipment move.
The 130 motor module controls the rotation direction and speed of the motor by controlling the input signal. There will be two control pins on the module, one for forward turn (IN+) and one for reverse control (IN-). By applying different level signals (high or low) to these pins, operations such as forward, backward, and stop can be achieved.
Application reference: small robot, intelligent car, fan and other projects.
2.Parameter Specification
Parameter |
Value//Description |
---|---|
Operating voltage |
3.3V~5V |
Operating temperature |
-10°C~+50°C |
Output current |
200mA |
Size |
4.72cm*2.38cm |
3.Wiring Diagram
130 DC Motor Module |
UNO |
---|---|
VCC |
5V |
GND |
GND |
NI+ |
Digital Pin 5 |
NI- |
Digital Pin 6 |
4.Sample Code
1//www.acebott.com
2void setup(){
3 pinMode(5, OUTPUT);//Set pin 5 to output mode
4 pinMode(6, OUTPUT);//Set pin 6 to output mode
5}
6void loop(){
7 digitalWrite(5,HIGH);
8 digitalWrite(6,LOW);//130 DC motor module is turning forward
9 delay(1000);
10 digitalWrite(5,LOW);
11 digitalWrite(6,LOW);//130 DC Motor Module stops
12 delay(1000);
13 digitalWrite(5,LOW);
14 digitalWrite(6,HIGH);//130 DC Motor Module reversal
15 delay(1000);
16 digitalWrite(5,LOW);
17 digitalWrite(6,LOW);//130 DC Motor Module stops
18 delay(1000);
19}
5.Test Result
After the code is uploaded to the controller board, the 130 DC Motor Module will turn forward for 1 second, stop for 1 second, reverse for 1 second, stop for 1 second.
6.Related Resources
7.Get One Now
B2B Business: info@acebott.com