กลับไปหน้ารวมไฟล์
automation-through-voice-recognition-and-microcontroller-b842cc-en.md

Project is about automating manual task through voice inputs. Tasks such as drawing curtains on and off, opening and closing door lock and similar tasks.

I decided to build the voice automation system to execute tasks without manual labor

(I have developed one application which is of drawing curtains on and off through voice commands )

The system can be used for other task too.

This is how it works.

Firstly the Voice recognition module is connected to U.S.B –

T.T.L(Transistor–Transistor logic ) module and the U.S.B – T.T.L module is

connected to the computer through U.S.B port. The above connection is being

carried out for training the Voice recognition Module for trainer’s (user’s) voice

commands.

This trained voice module will only recognize the voice of the trainer (user).

Access Port is the software which is used for training the voice

recognition module by sending hexadecimal commands.

After the commands have been recorded into the Voice recognition module.

The Voice recognition module is connected to the microcontroller (Arduino

Nano) with the help of connecting cables(jumper cables).

The L298N dual H-bridge motor controller is been connected to the

microcontroller (Arduino Nano). The L289N motor driver module is powered

through a 12 volt battery supply The module can drive DCmotors that have

voltages between 5 and 35 V. The L289N motor driver module ispowered

through a 12 volt battery supply.

Then the two D.C motors are connected to the dual motor controller.

After the connection has been established, Arduino I.D.E is used for writing the

code and uploading the code(sketch) to the microcontroller(Arduino Nano).

After the code has been written successfully the code is uploaded to the

microcontroller.

Then the Voice recognition module recognizes the voice commands

voice commands are then given through a Microphone and then the

microcontroller processes the commands and executes the assigned

operation for the particular voice command

Example of voice commands –

1) “curtains on ”

2) “curtains off”

The L298N dual H-bridge motor driver is connected with the two 12 volt D.C

motors and the 12 volts of power supply is provided to the motor driver.

Then the L289N motor controller is connected to the microcontroller (Arduino Nano).

After connecting the motor driver to the microcontroller, the voice recognition

module (which is trained for the voice commands) is connected to the microcontroller.

After the connection has been set up and the power supply is being provided for motor

driver and microcontroller, voice commands are given as :-

When the user says “curtains on” the motors begin to rotate(one motor in clockwise

and another motor in anticlockwise direction ) and the curtains attached with it are

automatically drawn in

When the user says “curtains off” the motor which was rotating in clockwise directions

rotates in anticlockwise direction and the motor which was rotating in anticlockwise

direction rotates in clockwise directions, thus drawing out the curtains attached to it

Thus the automation of drawing of the curtains through the voice commands is

implemented.

EXPANDED TECHNICAL DETAILS

Acoustic Interface Automation

This project leverages the power of voice recognition to control home appliances, providing a hands-free interactive environment.

  • Access Port / Serial Voice Hub: The Arduino interfaces with a dedicated voice recognition module (like the VR3) or a PC-based voice-to-text service. The firmware captures specific "Trigger Words" (e.g., "Lights", "Fan") sent via the serial port.
  • State-Machine Relay Control: When a valid command is recognized, the Arduino toggles high-power relay modules. The firmware includes a "Memory" feature that resumes the last-known appliance state even after a power interruption.

Security

  • Keyword Authentication: (Advanced version) Includes a "Safe Word" trigger that must be spoken before the system accepts any further appliance commands, preventing accidental triggers from ambient conversation.

ข้อมูล Frontmatter ดั้งเดิม

title: "Automation Through Voice Recognition and Microcontroller"
description: "Automate manual tasks (curtains drawing on and off) by giving voice commands through microcontroller (Arduino Nano)."
author: "phalk"
category: ""
tags:
  - "embedded"
  - "home automation"
  - "smart appliances"
views: 2899
likes: 1
price: 2450
difficulty: "Intermediate"
components:
  - "1x l298n dc motor controller (H- bridge)"
  - "1x Arduino Nano R3"
  - "1x Geeetech voice recognition module"
  - "2x DC motor (generic)"
  - "1x Jumper wires (generic)"
  - "1x 9V battery (generic)"
tools: []
apps:
  - "1x Access port"
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "ced50310d749f0c19efe3bba2625cf4b846c2b52edb2b7bf9c287c388e346597"
encryptedPayload: "U2FsdGVkX1/U5ngNM06XC5ZjL6RR95IvRSNEotCbfzJKBPWBMMDECPz3qgfT4Zc2GbGVNZ7wXx30ba0XCjzNvXgDqapUnZ4JRG2XFm+4n2U1ggVddgGRuAOJopnChhOe"
seoDescription: "Automate curtains using voice commands and Arduino Nano. Learn how to build a voice recognition system with a Microcontroller."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/automation-through-voice-recognition-and-microcontroller-b842cc_cover.jpg"
lang: "en"