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

Arduino UNO and L298N Motor Driver-Based Bluetooth-Controlled Robotic Car with Ultrasonic Sensor

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver-Based Bluetooth-Controlled Robotic Car with Ultrasonic Sensor

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control multiple DC motors using an Arduino UNO, an L298N motor driver, an HC-05 Bluetooth module, and an ultrasonic sensor. The circuit is powered by a 12V battery and includes connections for power, ground, and signal lines between the components. The Arduino UNO is programmed to control the motor driver and read data from the Bluetooth module and ultrasonic sensor.

Component List

  1. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver that allows control of the speed and direction of two 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. HC-05 Bluetooth Module

    • Description: A Bluetooth module used for wireless communication.
    • Pins: Key, VCC, GND, TXD, RXD, State
  3. 12V Battery

    • Description: A power source providing 12V DC.
    • Pins: VCC, GND
  4. DC Motor

    • Description: A motor that converts electrical energy into mechanical energy.
    • Pins: pin 1, pin 2
  5. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  6. Ultrasonic Sensor

    • Description: A sensor used to measure distance by using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND

Wiring Details

L298N DC Motor Driver

HC-05 Bluetooth Module

12V Battery

DC Motor

Arduino UNO

Ultrasonic Sensor

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 Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.