Arduino Mega 2560 Bluetooth-Controlled Robotic Car with Voice Recognition and Ultrasonic Obstacle Detection
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Mega 2560 microcontroller, various sensors, actuators, and communication modules. The circuit is designed to interface with multiple components such as LEDs, resistors, motors, a Bluetooth module, a voice recognition module, and an ultrasonic sensor. The Arduino Mega 2560 serves as the central control unit, orchestrating the operations of the connected components.
Component List
LED: Two Pin (green)
- Pins: Cathode, Anode
- Description: A green LED used for visual indication.
Resistor
- Pins: Pin1, Pin2
- Description: A resistor with a resistance of 200 Ohms.
- Properties:
- Resistance: 200 Ohms
Arduino Mega 2560
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL
- Description: A microcontroller board based on the ATmega2560.
HC-05 Bluetooth Module
- Pins: Key, VCC, GND, TXD, RXD, State
- Description: A Bluetooth module for wireless communication.
L293D Motor Driver
- Pins: B1, B2, A1, EN_B, EN_A, A2, GND, VCC, +, -, MPIN_1, MPIN_2, MPIN_3, MPIN_4
- Description: A motor driver IC used to control DC motors.
DC Mini Metal Gear Motor
- Pins: IN1, IN2
- Description: A small DC motor with metal gears.
9V Battery
- Pins: +, -
- Description: A 9V battery used as a power source.
Voice Recognition Module
- Pins: GND, VCC, RDX, RTX
- Description: A module used for voice command recognition.
Ultrasonic Sensor
- Pins: +VCC, Trigger, Echo, GND
- Description: A sensor used for distance measurement.
Wiring Details
LED: Two Pin (green)
Cathode is connected to:
- 9V Battery (-)
- Ultrasonic Sensor (GND)
- Arduino Mega 2560 (GND)
- HC-05 Bluetooth Module (GND)
- Voice Recognition Module (GND)
- L293D Motor Driver (GND)
Anode is connected to:
- Resistor (Pin2)
Resistor
Pin1 is connected to:
- Arduino Mega 2560 (D8 PWM)
Pin2 is connected to:
- LED: Two Pin (green) (Anode)
Arduino Mega 2560
GND is connected to:
- 9V Battery (-)
- LED: Two Pin (green) (Cathode)
- Ultrasonic Sensor (GND)
- HC-05 Bluetooth Module (GND)
- Voice Recognition Module (GND)
- L293D Motor Driver (GND)
VIN is connected to:
- 9V Battery (+)
D19/RX1 is connected to:
- HC-05 Bluetooth Module (TXD)
D18/TX1 is connected to:
- HC-05 Bluetooth Module (RXD)
D2 PWM is connected to:
- L293D Motor Driver (EN_B)
D3 PWM is connected to:
- L293D Motor Driver (EN_A)
D13 PWM is connected to:
- Ultrasonic Sensor (Echo)
D52 is connected to:
- L293D Motor Driver (A1)
D50 is connected to:
- L293D Motor Driver (A2)
D48 is connected to:
- L293D Motor Driver (B2)
D46 is connected to:
- L293D Motor Driver (B1)
D38 is connected to:
- Ultrasonic Sensor (Trigger)
D36 is connected to:
- Voice Recognition Module (RDX)
D34 is connected to:
- Voice Recognition Module (RTX)
HC-05 Bluetooth Module
VCC is connected to:
- 9V Battery (+)
- Ultrasonic Sensor (+VCC)
- Voice Recognition Module (VCC)
- L293D Motor Driver (VCC)
GND is connected to:
- 9V Battery (-)
- LED: Two Pin (green) (Cathode)
- Ultrasonic Sensor (GND)
- Arduino Mega 2560 (GND)
- Voice Recognition Module (GND)
- L293D Motor Driver (GND)
TXD is connected to:
- Arduino Mega 2560 (D19/RX1)
RXD is connected to:
- Arduino Mega 2560 (D18/TX1)
L293D Motor Driver
EN_B is connected to:
- Arduino Mega 2560 (D2 PWM)
EN_A is connected to:
- Arduino Mega 2560 (D3 PWM)
A1 is connected to:
- Arduino Mega 2560 (D52)
A2 is connected to:
- Arduino Mega 2560 (D50)
B2 is connected to:
- Arduino Mega 2560 (D48)
B1 is connected to:
- Arduino Mega 2560 (D46)
MPIN_1 is connected to:
- DC Mini Metal Gear Motor (IN2) (2 instances)
MPIN_2 is connected to:
- DC Mini Metal Gear Motor (IN1) (2 instances)
MPIN_3 is connected to:
- DC Mini Metal Gear Motor (IN2) (2 instances)
MPIN_4 is connected to:
- DC Mini Metal Gear Motor (IN1) (2 instances)
VCC is connected to:
- 9V Battery (+)
- Ultrasonic Sensor (+VCC)
- HC-05 Bluetooth Module (VCC)
- Voice Recognition Module (VCC)
GND is connected to:
- 9V Battery (-)
- LED: Two Pin (green) (Cathode)
- Ultrasonic Sensor (GND)
- Arduino Mega 2560 (GND)
- HC-05 Bluetooth Module (GND)
- Voice Recognition Module (GND)
+ is connected to:
- 9V Battery (+)
- is connected to:
- 9V Battery (-)
DC Mini Metal Gear Motor
IN1 is connected to:
- L293D Motor Driver (MPIN_2) (2 instances)
- L293D Motor Driver (MPIN_4) (2 instances)
IN2 is connected to:
- L293D Motor Driver (MPIN_1) (2 instances)
- L293D Motor Driver (MPIN_3) (2 instances)
9V Battery
+ is connected to:
- Arduino Mega 2560 (VIN)
- HC-05 Bluetooth Module (VCC)
- Ultrasonic Sensor (+VCC)
- Voice Recognition Module (VCC)
- L293D Motor Driver (VCC)
- L293D Motor Driver (+)
- is connected to:
- Arduino Mega 2560 (GND)
- LED: Two Pin (green) (Cathode)
- Ultrasonic Sensor (GND)
- HC-05 Bluetooth Module (GND)
- Voice Recognition Module (GND)
- L293D Motor Driver (GND)
- L293D Motor Driver (-)
Voice Recognition Module
GND is connected to:
- 9V Battery (-)
- LED: Two Pin (green) (Cathode)
- Ultrasonic Sensor (GND)
- Arduino Mega 2560 (GND)
- HC-05 Bluetooth Module (GND)
- L293D Motor Driver (GND)
VCC is connected to:
- 9V Battery (+)
- Ultrasonic Sensor (+VCC)
- HC-05 Bluetooth Module (VCC)
- L293D Motor Driver (VCC)
RDX is connected to:
- Arduino Mega 2560 (D36)
RTX is connected to:
- Arduino Mega 2560 (D34)
Ultrasonic Sensor
+VCC is connected to:
- 9V Battery (+)
- HC-05 Bluetooth Module (VCC)
- Voice Recognition Module (VCC)
- L293D Motor Driver (VCC)
GND is connected to: