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

Arduino UNO Controlled DC Motor with Bluetooth Interface and Ultrasonic Sensing

Image of Arduino UNO Controlled DC Motor with Bluetooth Interface and Ultrasonic Sensing

Circuit Documentation

Summary

This circuit integrates various components to perform a set of functions that are not explicitly defined in the provided information. The circuit includes an Arduino UNO microcontroller, which serves as the central processing unit, interfacing with an HC-05 Bluetooth module, an HC-SR04 Ultrasonic Sensor, a L298N DC motor driver, and multiple DC motors. A solar panel and an NPF570 battery provide power, managed by a TP4056 charging module and a 24/12V buck converter. A rocker switch is used to control power flow to one of 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

  • Module for controlling up to two DC motors with a maximum current of 2A per channel.
  • It can also be used to control the direction of the motors.

DC Motor

  • A generic motor that converts electrical energy into mechanical energy.
  • The circuit includes three instances of DC motors.

HC-05 Bluetooth Module

  • A wireless communication module that can be used for serial communication.
  • It operates on Bluetooth 2.0 technology.

Solar Panel

  • A photovoltaic panel that converts sunlight into electrical energy.

NPF570 Battery

  • A rechargeable battery that stores electrical energy for use by the circuit.

24/12V Buck Converter

  • A DC-DC converter that steps down voltage from a higher level to a lower level.

HC-SR04 Ultrasonic Sensor

  • A sensor that measures distance by emitting ultrasonic waves and measuring the time it takes for the echo to return.

Rocker Switch

  • A switch that allows for the breaking or connection of an electrical circuit.

TP4056

  • A charging module designed for Lithium-Ion batteries with protection features for charging and battery safety.

Wiring Details

Arduino UNO

  • 3.3V connected to HC-05 EN
  • 5V connected to HC-05 VCC and HC-SR04 VCC
  • GND connected to L298N GND, NPF570 Battery -, TP4056 B-, and DC Motor (instance 3) pin 1
  • Vin connected to TP4056 IN+ and 24/12V Buck 5V
  • D5 connected to HC-SR04 TRIG
  • D4 connected to HC-SR04 ECHO
  • D1 connected to HC-05 RXD
  • D0 connected to HC-05 TXD

L298N DC Motor Driver

  • OUT1 connected to DC Motor (instance 1) pin 2
  • OUT2 connected to DC Motor (instance 1) pin 1
  • 12V connected to NPF570 Battery +, Rocker Switch 2, and TP4056 B+
  • OUT3 connected to DC Motor (instance 2) pin 2
  • OUT4 connected to DC Motor (instance 2) pin 1

DC Motor (instance 3)

  • pin 2 connected to Rocker Switch 1

Solar Panel

  • + connected to 24/12V Buck VIN+
  • - connected to Arduino UNO GND, TP4056 IN-, and 24/12V Buck VIN- and GND

TP4056

  • OUT- and OUT+ are not connected in the provided net list.

Documented Code

Arduino UNO - sketch.ino

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

}

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

}

Arduino UNO - documentation.txt

The provided code file named "documentation.txt" is empty and does not contain any code or comments.