This circuit is designed to control multiple DC motors using an Arduino UNO as the main microcontroller. It includes an L298N DC motor driver to handle the motor control operations, an NRF24L01 module for wireless communication, and a power supply consisting of an 18650 Li-Ion battery and its holder. The Arduino UNO is responsible for interfacing with the NRF24L01 module and the L298N motor driver, sending control signals to the motors.
3.3V
connected to NRF24L01 VCC (3V)
5V
connected to 18650 battery holder VCC
GND
connected to 18650 battery holder GND
and NRF24L01 GND
D13
connected to NRF24L01 SCK
D12
connected to NRF24L01 MISO
D11
connected to NRF24L01 MOSI
D8
connected to NRF24L01 CSN
D7
connected to NRF24L01 CE
D5
connected to L298N IN4
D4
connected to L298N IN3
D3
connected to L298N IN2
D2
connected to L298N IN1
OUT1
and OUT2
connected to two DC MotorsOUT3
and OUT4
connected to two other DC Motors12V
connected to 18650 Li-Ion battery Positive
GND
connected to 18650 Li-Ion battery Negative
VCC (3V)
connected to Arduino UNO 3.3V
GND
connected to Arduino UNO GND
SCK
connected to Arduino UNO D13
MISO
connected to Arduino UNO D12
MOSI
connected to Arduino UNO D11
CSN
connected to Arduino UNO D8
CE
connected to Arduino UNO D7
Positive
connected to L298N 12V
Negative
connected to L298N GND
VCC
connected to Arduino UNO 5V
GND
connected to Arduino UNO GND
OUT1
and OUT2
OUT3
and OUT4
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
No additional code documentation was provided.