This circuit integrates an Arduino UNO microcontroller with an NRF24L01 wireless transceiver module, an L298N DC motor driver, a DC motor, and a 9V battery. The Arduino UNO is responsible for controlling the motor through the L298N driver and communicating wirelessly via the NRF24L01 module. The 9V battery provides power to the motor driver, which in turn controls the DC motor's operation.
3.3V
connected to NRF24L01 VCC (3V)
GND
connected to NRF24L01 GND
D13
connected to NRF24L01 SCK
D12
connected to NRF24L01 MISO
D11
connected to NRF24L01 MOSI
D10
connected to NRF24L01 CSN
D9
connected to NRF24L01 CE
D8
connected to NRF24L01 IRQ (not used)
D4
connected to L298N ENA
D3
connected to L298N IN2
D2
connected to L298N IN1
OUT1
connected to DC Motor pin 2
OUT2
connected to DC Motor pin 1
12V
connected to 9V Battery +
GND
connected to 9V Battery -
pin 1
connected to L298N OUT2
pin 2
connected to L298N OUT1
+
connected to L298N 12V
-
connected to L298N GND
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 D10
CE
connected to Arduino UNO D9
IRQ (not used)
connected to Arduino UNO D8
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Filename: sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Filename: sketch.ino
Note: The secondary Arduino UNO does not have any documented connections or specific code associated with it in the provided data. It is listed here for completeness, but further information is required to document its role in the circuit.