Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Nano and L298N Motor Driver Bluetooth-Controlled Robotic System

View and Edit Project In Cirkit DesignerImage of Arduino Nano and L298N Motor Driver Bluetooth-Controlled Robotic System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control multiple motors and a water pump using an Arduino Nano microcontroller. The circuit includes a Bluetooth module for wireless communication, a motor driver for controlling the motors, a relay for switching the water pump, and a rocker switch for manual control. The circuit is powered by a 12V battery and includes a DC barrel jack for easy power connection.

Component List

  1. L298N DC Motor Driver

    • Description: Motor driver module used to control the direction and speed of DC motors.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  2. Battery 12V

    • Description: Power source for the circuit.
    • Pins: +, -
  3. Rocker Switch

    • Description: Manual switch to control the power supply.
    • Pins: 1, 2
  4. HC-05 Bluetooth Module

    • Description: Bluetooth module for wireless communication.
    • Pins: Key, VCC, GND, TXD, RXD, State
  5. Motor with Reducer

    • Description: DC motor with a gear reducer for increased torque.
    • Pins: 3 - 6 VCC, GND
  6. Arduino Nano

    • Description: Microcontroller used to control the circuit.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  7. 12V Relay

    • Description: Relay module used to switch the water pump.
    • Pins: NO, COM, NC, IN, DC-, DC+
  8. Water Pump 12V

    • Description: Water pump powered by 12V.
    • Pins: +, -
  9. 2.1mm DC Barrel Jack

    • Description: DC barrel jack for easy power connection.
    • Pins: switch, sleeve, center

Wiring Details

L298N DC Motor Driver

Battery 12V

Rocker Switch

HC-05 Bluetooth Module

Motor with Reducer

Arduino Nano

12V Relay

Water Pump 12V

2.1mm DC Barrel Jack

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:

}

This code is a basic template for the Arduino Nano. The setup function is used to initialize any settings or configurations, and the loop function contains the main code that runs repeatedly.