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

Arduino-Controlled Robot with Wireless Communication and Dual DC Motor Driver

Image of Arduino-Controlled Robot with Wireless Communication and Dual DC Motor Driver

Circuit Documentation

Summary

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.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.

L298N DC Motor Driver

  • A module that can control up to two DC motors with independent speed and direction control
  • It is capable of driving a current of up to 2A per channel.

NRF24L01

  • A 2.4GHz wireless transceiver module
  • It has configurable data rates and low power consumption features.

18650 Li-Ion Battery

  • A rechargeable battery providing a nominal voltage typically around 3.7V
  • Used as a power source for the motor driver.

18650 Battery Holder

  • A holder for the 18650 Li-Ion battery
  • It provides convenient access to the battery terminals for power supply purposes.

DC Motors

  • Four motors that convert electrical energy into mechanical rotation
  • Each motor has two terminals for power connection.

Wiring Details

Arduino UNO

  • 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

L298N DC Motor Driver

  • OUT1 and OUT2 connected to two DC Motors
  • OUT3 and OUT4 connected to two other DC Motors
  • 12V connected to 18650 Li-Ion battery Positive
  • GND connected to 18650 Li-Ion battery Negative

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 D8
  • CE connected to Arduino UNO D7

18650 Li-Ion Battery

  • Positive connected to L298N 12V
  • Negative connected to L298N GND

18650 Battery Holder

  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND

DC Motors

  • Two motors connected to L298N OUT1 and OUT2
  • Two motors connected to L298N OUT3 and OUT4

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

Additional Notes (documentation.txt)

No additional code documentation was provided.