Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, an HC-06 Bluetooth module, an L298N DC motor driver, and two motors with reducers. The Arduino UNO serves as the central controller, interfacing with the HC-06 for Bluetooth communication and controlling the motors via the L298N motor driver.
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
HC-06
- Description: A Bluetooth module for wireless communication.
- Pins: RXD, TXD, GND, VCC
Motor with reducer (Motor 1)
- Description: A DC motor with a gear reducer.
- Pins: 3 - 6 VCC, GND
Motor with reducer (Motor 2)
- Description: A DC motor with a gear reducer.
- Pins: 3 - 6 VCC, GND
L298N DC motor driver
- Description: A dual H-Bridge motor driver for controlling 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
Wiring Details
Arduino UNO
- D0 connected to HC-06 RXD
- D1 connected to HC-06 TXD
- GND connected to HC-06 GND and L298N GND
- 5V connected to HC-06 VCC and L298N 12V
- D7 connected to L298N IN4
- D6 connected to L298N IN3
- D5 connected to L298N IN2
- D4 connected to L298N IN1
HC-06
- RXD connected to Arduino UNO D0
- TXD connected to Arduino UNO D1
- GND connected to Arduino UNO GND
- VCC connected to Arduino UNO 5V
Motor with reducer (Motor 1)
- 3 - 6 VCC connected to L298N OUT1
- GND connected to L298N OUT2
Motor with reducer (Motor 2)
- 3 - 6 VCC connected to L298N OUT3
- GND connected to L298N OUT4
L298N DC motor driver
- OUT1 connected to Motor 1 3 - 6 VCC
- OUT2 connected to Motor 1 GND
- OUT3 connected to Motor 2 3 - 6 VCC
- OUT4 connected to Motor 2 GND
- GND connected to Arduino UNO GND
- 12V connected to Arduino UNO 5V
- IN4 connected to Arduino UNO D7
- IN3 connected to Arduino UNO D6
- IN2 connected to Arduino UNO D5
- IN1 connected to Arduino UNO D4
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 documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the microcontroller.
