Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino-Controlled NRF24L01 Wireless DC Motor Driver System

Image of Arduino-Controlled NRF24L01 Wireless DC Motor Driver System

Circuit Documentation

Summary

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.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • Features digital I/O pins, analog input pins, and various power pins
  • Utilized for controlling peripherals and handling wireless communication

L298N DC Motor Driver

  • Module for controlling up to two DC motors
  • Provides H-bridge support for direction and speed control
  • Powered by an external power source (9V battery in this case)

DC Motor

  • Standard electric motor powered by DC voltage
  • Controlled by the L298N motor driver for rotational movement

9V Battery

  • Provides the power source for the motor driver and the DC motor
  • Voltage supply for the L298N DC motor driver

NRF24L01

  • 2.4GHz wireless transceiver module
  • Enables wireless communication with other NRF24L01 equipped devices
  • Connected to the Arduino UNO for SPI communication

Wiring Details

Arduino UNO

  • 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

L298N DC Motor Driver

  • OUT1 connected to DC Motor pin 2
  • OUT2 connected to DC Motor pin 1
  • 12V connected to 9V Battery +
  • GND connected to 9V Battery -

DC Motor

  • pin 1 connected to L298N OUT2
  • pin 2 connected to L298N OUT1

9V Battery

  • + connected to L298N 12V
  • - connected to L298N GND

NRF24L01

  • 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

Documented Code

Arduino UNO (Primary Controller)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Filename: sketch.ino

Arduino UNO (Secondary Controller)

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.