Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, motors, a motor driver, a Bluetooth module, a battery mount, and a rocker switch. The circuit is designed to control motors via Bluetooth communication and is powered by a 4 x AAA battery pack.
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
Motor amarillo motorreductor hobby
- Description: A small DC motor with a gearbox.
- Pins: vcc, GND
Motor and wheels
- Description: A motor with attached wheels for movement.
- Pins: vcc, GND
Rocker switch
- Description: A switch to control the power supply.
- Pins: output, input
L298N DC motor driver
- Description: A dual H-Bridge 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
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
4 x AAA Battery Mount
- Description: A battery holder for four AAA batteries.
- Pins: -, +
Wiring Details
Arduino UNO
- 3.3V connected to VCC of HC-05 Bluetooth Module
- 5V connected to 5V of L298N DC motor driver
- GND connected to - of 4 x AAA Battery Mount, GND of L298N DC motor driver, and GND of HC-05 Bluetooth Module
- D1 connected to RXD of HC-05 Bluetooth Module
- D0 connected to TXD of HC-05 Bluetooth Module
Motor amarillo motorreductor hobby
- vcc connected to vcc of motor and wheels and OUT1 of L298N DC motor driver
- GND connected to GND of motor and wheels and OUT2 of L298N DC motor driver
Motor and wheels
- vcc connected to vcc of Motor amarillo motorreductor hobby and OUT1 of L298N DC motor driver
- GND connected to GND of Motor amarillo motorreductor hobby and OUT2 of L298N DC motor driver
Rocker switch
- output connected to 12V of L298N DC motor driver
- input connected to + of 4 x AAA Battery Mount
L298N DC motor driver
- 5V connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO and - of 4 x AAA Battery Mount
- OUT1 connected to vcc of Motor amarillo motorreductor hobby and motor and wheels
- OUT2 connected to GND of Motor amarillo motorreductor hobby and motor and wheels
- OUT3 connected to GND of Motor amarillo motorreductor hobby and motor and wheels
- OUT4 connected to vcc of Motor amarillo motorreductor hobby and motor and wheels
- 12V connected to output of Rocker switch
HC-05 Bluetooth Module
- VCC connected to 3.3V of Arduino UNO
- GND connected to GND of Arduino UNO
- RXD connected to D1 of Arduino UNO
- TXD connected to D0 of Arduino UNO
4 x AAA Battery Mount
- - connected to GND of Arduino UNO and L298N DC motor driver
- + connected to input of Rocker switch
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Additional Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.