Arduino UNO Voice-Controlled Robotic Car with Joystick and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a joystick module, an L298N DC motor driver, a 12V battery, a voice recognition module, a buzzer, and two DC motors. The circuit is designed to control the DC motors based on inputs from the joystick and voice recognition module, with feedback provided via a 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
Joystick Module
- Description: A module with a joystick for analog input.
- Pins: SW, VRY, VRX, VCC, GND
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
Battery 12V
- Description: A 12V battery for powering the motor driver.
- Pins: +, -
Voice Recognition Module
- Description: A module for recognizing voice commands.
- Pins: GND, VCC, RDX, RTX
Buzzer
- Description: A simple buzzer for audio feedback.
- Pins: PIN, GND
DC Motor (Motor 1)
- Description: A DC motor.
- Pins: pin 1, pin 2
DC Motor (Motor 2)
- Description: A DC motor.
- Pins: pin 1, pin 2
Wiring Details
Arduino UNO
- 5V: Connected to VCC of the Joystick Module and Voice Recognition Module.
- GND: Connected to GND of the Joystick Module, Voice Recognition Module, and Buzzer.
- A0: Connected to VRX of the Joystick Module.
- A1: Connected to VRY of the Joystick Module.
- D12: Connected to IN4 of the L298N DC Motor Driver.
- D11: Connected to IN3 of the L298N DC Motor Driver.
- D10: Connected to IN2 of the L298N DC Motor Driver.
- D9: Connected to IN1 of the L298N DC Motor Driver.
- D3: Connected to PIN of the Buzzer.
- D1: Connected to RTX of the Voice Recognition Module.
- D0: Connected to RDX of the Voice Recognition Module.
Joystick Module
- VCC: Connected to 5V of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
- VRX: Connected to A0 of the Arduino UNO.
- VRY: Connected to A1 of the Arduino UNO.
L298N DC Motor Driver
- IN4: Connected to D12 of the Arduino UNO.
- IN3: Connected to D11 of the Arduino UNO.
- IN2: Connected to D10 of the Arduino UNO.
- IN1: Connected to D9 of the Arduino UNO.
- 12V: Connected to + of the 12V Battery.
- GND: Connected to - of the 12V Battery.
- OUT1: Connected to pin 2 of DC Motor 1.
- OUT2: Connected to pin 1 of DC Motor 1.
- OUT3: Connected to pin 2 of DC Motor 2.
- OUT4: Connected to pin 1 of DC Motor 2.
Battery 12V
- +: Connected to 12V of the L298N DC Motor Driver.
- -: Connected to GND of the L298N DC Motor Driver.
Voice Recognition Module
- VCC: Connected to 5V of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
- RTX: Connected to D1 of the Arduino UNO.
- RDX: Connected to D0 of the Arduino UNO.
Buzzer
- PIN: Connected to D3 of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
DC Motor (Motor 1)
- pin 1: Connected to OUT2 of the L298N DC Motor Driver.
- pin 2: Connected to OUT1 of the L298N DC Motor Driver.
DC Motor (Motor 2)
- pin 1: Connected to OUT4 of the L298N DC Motor Driver.
- pin 2: Connected to OUT3 of the L298N DC Motor Driver.
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 document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.