Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, an L298N motor driver, two hobby motors, an HC-05 Bluetooth module, a buzzer, two red LEDs, a toggle switch, and a 18650 Li-Ion battery. The circuit is designed to control the motors and LEDs, receive commands via Bluetooth, and provide audio feedback through the buzzer.
Component List
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
L298N 2A Dual Motor Driver Module with PWM Control
- Description: A dual H-bridge motor driver module that allows control of the speed and direction of two DC motors.
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT4, OUT3, ENA, IN1, IN2, IN3, ENB, IN4
Motor amarillo motorreductor hobby
- Description: A small DC motor with a gearbox for hobby projects.
- Pins: vcc, GND
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
18650 Li-Ion
- Description: A rechargeable lithium-ion battery.
- Pins: Positive, Negative
LED: Two Pin (red)
- Description: A red LED with two pins.
- Pins: cathode, anode
Buzzer
- Description: A small audio signaling device.
- Pins: PIN, GND
Toggle Switch
- Description: A simple on/off switch.
- Pins: Vcc, Sig, Gnd
Wiring Details
Arduino UNO
- 5V connected to VCC of HC-05 Bluetooth Module
- GND connected to GND of HC-05 Bluetooth Module, GND of buzzer, GND of L298N Motor Driver, Negative of 18650 Li-Ion, cathode of both LEDs
- Vin connected to 5V of L298N Motor Driver
- D7 connected to PIN of buzzer
- D6 connected to anode of both LEDs
- D5 connected to IN4 of L298N Motor Driver
- D4 connected to IN3 of L298N Motor Driver
- D3 connected to IN2 of L298N Motor Driver
- D2 connected to IN1 of L298N Motor Driver
- D1 connected to RXD of HC-05 Bluetooth Module
- D0 connected to TXD of HC-05 Bluetooth Module
L298N 2A Dual Motor Driver Module with PWM Control
- OUT1 connected to vcc of first hobby motor
- OUT2 connected to GND of first hobby motor
- OUT4 connected to vcc of second hobby motor
- OUT3 connected to GND of second hobby motor
- 12V connected to Sig of Toggle Switch
HC-05 Bluetooth Module
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- RXD connected to D1 of Arduino UNO
- TXD connected to D0 of Arduino UNO
18650 Li-Ion
- Positive connected to Vcc of Toggle Switch
- Negative connected to GND of Arduino UNO
LED: Two Pin (red)
- cathode connected to GND of Arduino UNO
- anode connected to D6 of Arduino UNO
Buzzer
- PIN connected to D7 of Arduino UNO
- GND connected to GND of Arduino UNO
Toggle Switch
- Vcc connected to Positive of 18650 Li-Ion
- Sig connected to 12V of L298N Motor Driver
- Gnd not connected
Code Documentation
Arduino UNO Code
void setup() {
}
void loop() {
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where you place the main code that runs repeatedly.
Additional Documentation
The additional documentation file is empty and can be used to add further details or notes about the circuit and its operation.