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.
Parameter Specification #
Parameters | Value/Description |
Operating voltage | 3.3V~5V |
Operating temperature | -10°C~+50°C |
Output current | 200mA |
Size | 4.72cm*2.38cm |
Wiring Diagram #
Note: The Expansion board is attached to esp32 controller board.
130 DC Motor Module | ESP32 |
VCC | 5V |
GND | GND |
NI+ | Pin 17 |
NI- | Pin 16 |
Sample Code #
void setup(){
pinMode(16, OUTPUT);//Set pin 16 to output mode
pinMode(17, OUTPUT);//Set pin 17 to output mode
}
void loop(){
digitalWrite(16,HIGH);
digitalWrite(17,LOW);//130 DC motor module is turning forward
delay(1000);
digitalWrite(16,LOW);
digitalWrite(17,LOW);//130 DC Motor Module stops
delay(1000);
digitalWrite(16,LOW);
digitalWrite(17,HIGH);//130 DC Motor Module reversal
delay(1000);
digitalWrite(16,LOW);
digitalWrite(17,LOW);//130 DC Motor Module stops
delay(1000);
}
Note: If you are using an Arduino board, then change the pin16 in the program to PIN6, change the pin17 in the program to PIN7, and then connect the hardware pin to PIN6, PIN7 and upload the program.
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.
Related Resources #
Get One Now #
B2B Business: info@acebott.com