This circuit is designed to control a set of MRB Planetary gearbox motors using an Arduino UNO microcontroller and an L298N DC motor driver. The system is powered by a 12V battery, with a buck converter stepping down the voltage to power the Arduino UNO. The HC-05 Bluetooth Module is included for wireless communication, likely for remote control purposes.
5V
connected to HC-05 Bluetooth Module VCC
and L298N DC motor driver 5V
GND
connected to Buck Converter OUT-
and HC-05 Bluetooth Module GND
Vin
connected to Buck Converter OUT+
D13
connected to L298N DC motor driver IN1
D12
connected to L298N DC motor driver IN2
D11
connected to L298N DC motor driver IN3
D10
connected to L298N DC motor driver IN4
D1
(TX) connected to HC-05 Bluetooth Module TXD
D0
(RX) connected to HC-05 Bluetooth Module RXD
OUT1
and OUT2
connected to one pair of MRB Planetary gearbox motor +
and -
OUT3
and OUT4
connected to another pair of MRB Planetary gearbox motor +
and -
12V
and GND
connected to 12V Battery +
and -
VCC
connected to Arduino UNO 5V
GND
connected to Arduino UNO GND
TXD
connected to Arduino UNO D1
RXD
connected to Arduino UNO D0
+
connected to Buck Converter IN+
and L298N DC motor driver 12V
-
connected to Buck Converter IN-
and L298N DC motor driver GND
IN+
and IN-
connected to 12V Battery +
and -
OUT+
connected to Arduino UNO Vin
OUT-
connected to Arduino UNO GND
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The code provided is a template and does not contain any functional code to control the motors or communicate with the Bluetooth module. This will need to be implemented based on the specific requirements of the project.