This circuit integrates an Arduino Nano microcontroller with an NRF24L01 wireless transceiver module, two servo motors, an L298N DC motor driver, a DC motor, and a 12V battery. The circuit is designed to control the DC motor and servo motors wirelessly through the NRF24L01 module. An electrolytic capacitor is used to stabilize the voltage supply to the NRF24L01 module.
D11/MOSI
connected to NRF24L01 MOSI
D10
connected to NRF24L01 CSN
3V3
connected to NRF24L01 VCC (3V)
and Electrolytic Capacitor -
GND
connected to NRF24L01 GND
, Electrolytic Capacitor +
, Servo gnd
(x2), and L298N DC motor driver GND
D9
connected to NRF24L01 CE
D13/SCK
connected to NRF24L01 SCK
D12/MISO
connected to NRF24L01 MISO
VIN
connected to L298N DC motor driver 5V
and Servo vcc
(x2)D3
connected to Servo pulse
D4
connected to Servo pulse
D5
connected to L298N DC motor driver ENA
D7
connected to L298N DC motor driver IN1
D8
connected to L298N DC motor driver IN2
MOSI
connected to Arduino Nano D11/MOSI
CSN
connected to Arduino Nano D10
VCC (3V)
connected to Electrolytic Capacitor -
and Arduino Nano 3V3
GND
connected to Electrolytic Capacitor +
and Arduino Nano GND
CE
connected to Arduino Nano D9
SCK
connected to Arduino Nano D13/SCK
MISO
connected to Arduino Nano D12/MISO
-
connected to NRF24L01 VCC (3V)
and Arduino Nano 3V3
+
connected to NRF24L01 GND
and Arduino Nano GND
gnd
connected to Arduino Nano GND
vcc
connected to L298N DC motor driver 5V
and Arduino Nano VIN
pulse
connected to Arduino Nano D3
or D4
5V
connected to Servo vcc
(x2) and Arduino Nano VIN
GND
connected to Arduino Nano GND
ENA
connected to Arduino Nano D5
IN1
connected to Arduino Nano D7
IN2
connected to Arduino Nano D8
OUT1
connected to DC Motor pin 1
OUT2
connected to DC Motor pin 2
12V
connected to 12V Battery VCC
GND
connected to L298N DC motor driver GND
, Servo gnd
(x2), and Arduino Nano GND
VCC
connected to L298N DC motor driver 12V
pin 1
connected to L298N DC motor driver OUT1
pin 2
connected to L298N DC motor driver OUT2
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not contain any functional code to control the components. The user must implement the setup and loop functions to initialize the components and define the behavior of the circuit.