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

Arduino UNO and HC-06 Bluetooth Controlled DC Motor System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO and HC-06 Bluetooth Controlled DC Motor System with Battery Power

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a power source, a motor driver, multiple DC motors, an Arduino UNO microcontroller, an HC-06 Bluetooth module, and an LED. The circuit is designed to control the DC motors via the motor driver, with the Arduino UNO serving as the central control unit. The HC-06 module allows for wireless communication, and the LED serves as an indicator.

Component List

  1. 18650 Li-Ion Battery

    • Pins: Positive, Negative
    • Description: A rechargeable lithium-ion battery.
    • Purpose: Provides power to the circuit.
  2. DC Motor

    • Pins: pin 1, pin 2
    • Description: A motor that runs on direct current.
    • Purpose: Converts electrical energy into mechanical motion.
  3. HC-06 Bluetooth Module

    • Pins: RXD, TXD, GND, VCC
    • Description: A Bluetooth module for wireless communication.
    • Purpose: Enables wireless communication with the Arduino UNO.
  4. Arduino UNO

    • 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
    • Description: A microcontroller board based on the ATmega328P.
    • Purpose: Serves as the central control unit for the circuit.
  5. L298N DC Motor Driver

    • 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
    • Description: A dual H-Bridge motor driver.
    • Purpose: Controls the speed and direction of the DC motors.
  6. LED: Two Pin (green)

    • Pins: cathode, anode
    • Description: A green light-emitting diode.
    • Purpose: Serves as an indicator.

Wiring Details

18650 Li-Ion Battery

DC Motor 1

DC Motor 2

HC-06 Bluetooth Module

Arduino UNO

L298N DC Motor Driver

LED: Two Pin (green)

Documented Code

Arduino UNO Code

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 UNO. The setup function is used to initialize any settings, and the loop function contains the main code that runs repeatedly.