Arduino UNO Controlled DC Motor with Bluetooth Interface and Ultrasonic Sensing
View and Edit Project In Cirkit Designer
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.3Vconnected to HC-05EN5Vconnected to HC-05VCCand HC-SR04VCCGNDconnected to L298NGND, NPF570 Battery-, TP4056B-, and DC Motor (instance 3)pin 1Vinconnected to TP4056IN+and 24/12V Buck5VD5connected to HC-SR04TRIGD4connected to HC-SR04ECHOD1connected to HC-05RXDD0connected to HC-05TXD
L298N DC Motor Driver
OUT1connected to DC Motor (instance 1)pin 2OUT2connected to DC Motor (instance 1)pin 112Vconnected to NPF570 Battery+, Rocker Switch2, and TP4056B+OUT3connected to DC Motor (instance 2)pin 2OUT4connected to DC Motor (instance 2)pin 1
DC Motor (instance 3)
pin 2connected to Rocker Switch1
Solar Panel
+connected to 24/12V BuckVIN+-connected to Arduino UNOGND, TP4056IN-, and 24/12V BuckVIN-andGND
TP4056
OUT-andOUT+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.