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

Arduino UNO-Based Bluetooth-Controlled Robotic Car with MPU-6050 and L298N Motor Driver

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

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an MPU-6050 accelerometer and gyroscope, an HC-05 Bluetooth module, an L298N DC motor driver, two DC motors, and a 6V battery pack. The circuit is designed to control the DC motors based on sensor inputs and communicate wirelessly via Bluetooth.

Component List

  1. 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
  2. MPU-6050

    • Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
    • Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
  3. HC-05

    • Description: A Bluetooth module used for wireless communication.
    • Pins: EN, VCC, GND, TXD, RXD, STATE
  4. L298N DC Motor Driver

    • Description: A dual H-bridge motor driver that allows control 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
  5. DC Motor (x2)

    • Description: Standard DC motors used for various applications.
    • Pins: pin 1, pin 2
  6. Battery AAx4 6V

    • Description: A battery pack consisting of four AA batteries providing 6V.
    • Pins: VCC, GND

Wiring Details

Arduino UNO

MPU-6050

HC-05

L298N DC Motor Driver

DC Motor 1

DC Motor 2

Battery AAx4 6V

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 the components used, their wiring details, and the code running on the Arduino UNO microcontroller.