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

Arduino Nano-Controlled Servo and DC Motor with NRF24L01 Wireless Communication

Image of Arduino Nano-Controlled Servo and DC Motor with NRF24L01 Wireless Communication

Circuit Documentation

Summary

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.

Component List

Arduino Nano

  • Microcontroller board based on the ATmega328P
  • It has a variety of digital and analog I/O pins
  • Used as the main controller for the circuit

NRF24L01

  • A 2.4GHz wireless transceiver module
  • Interfaces with the Arduino Nano for wireless communication

Electrolytic Capacitor

  • Capacitance: 10 µF (0.00001 Farads)
  • Used for voltage stabilization on the NRF24L01 module

Servo (x2)

  • A rotary actuator or linear actuator that allows for precise control of angular or linear position
  • Controlled by the Arduino Nano

L298N DC Motor Driver

  • A dual H-bridge motor driver that can drive two DC motors or one stepper motor
  • Used to control the speed and direction of the DC motor

12V Battery (Small Size)

  • Provides the power source for the motor driver and motors

DC Motor

  • A motor that converts electrical energy into mechanical energy
  • Driven by the L298N motor driver

Wiring Details

Arduino Nano

  • 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

NRF24L01

  • 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

Electrolytic Capacitor

  • - connected to NRF24L01 VCC (3V) and Arduino Nano 3V3
  • + connected to NRF24L01 GND and Arduino Nano GND

Servo (x2)

  • 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

L298N DC Motor Driver

  • 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

12V Battery (Small Size)

  • GND connected to L298N DC motor driver GND, Servo gnd (x2), and Arduino Nano GND
  • VCC connected to L298N DC motor driver 12V

DC Motor

  • pin 1 connected to L298N DC motor driver OUT1
  • pin 2 connected to L298N DC motor driver OUT2

Documented Code

Arduino Nano Code (sketch.ino)

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.