Introduction: Arduino - Voice Control With VRM V2
For graduate work in college I had a project to build a robotic arm controlled by a human voice, ie. voice commands. Today's advances in technology and electronics, gives us the ability to control appliances, toys, tools, computers and robots with voice commands. The very ability to manage something with their own voice makes the process much easier and more efficient.
The work was realized as independent system, ie. management with a robotic arm and a module without using a computer. Written code allows users to manage the functions of the module, for example, that can record your own voice, their own key words, to load various groups of commands, delete groups and the like. Feedback is obtained on the LCD screen from module, where we see the menu, and where are listed all the options. Through this option will list by four pushbuttons. The paper is based on the Arduino microcontroller, module for voice recognition and serial communication between the two devices.
I made robotic arm of MeArm project ... https://shop.mime.co.uk/pages/instructions
I won't describe robotic arm but i will in short terms explain how to use Voice Recognition Module (VRM) to control it and make projects! For people to make "Home Automatization" projects!
What led me to do this is because I love robotics and Arduino, which combined can make pretty cool stuff! And for strong reasons I will publish this project with VRM code and setup, because some people on internet WON'T SHARE their code or program, like it's top secret!
For last words, everything is "open source" based, because I want to share this project to World, to people for their own projects and for education/entertainment! And on some pictures are Croatian names for parts =)
PS...Sorry for mistakes in english grammar! =))
Step 1: Components Required
Components required for this project are:
- Arduino UNO R3
- Voice recognition module version 2.0 by ELECHOUSE
- Electronic testing circuit board
- LCD screen with I2C module (16x2)
- Push-button x4 (four pieces)
- Resistor ( 2k ohm ) x3
- Jump wires
- Buzzer (optional) x1
- USB cable for Arduino to computer
Voice recognition module, later use VRM!
Step 2: Software Used
Step 3: Get Started With Project!!
For first you need to connect components to test board like shown on Fritzing picture!
You don't need servo motor or buzzer. in file Arduino_VRM.rar you will see VRM2 manual,
libraries needed for this program to run, that must be imported on computer and folder with Arduino code for this project.
Connect Arduino, install Arduino IDE, put components and burn the code/program on Arduino and you are good to go!
Connect LCD 16x2 with I2C module with SCL,SDA,Vcc and GND like on picture!
VERY IMPORTAT! First you must burn the code on to Arduino and then connect Voice Recogniton Module Tx and Rx pin to Arduino, becasue when uploading data to Arduino Tx and Rx pins are busy!!! If module is connected, code won't upload!
Step 4: More Stuff of Project
Like I said, serial communication (UART) is the essence of the work of the whole system!
Sending bits in package or bytes. For VRM baud rate MUST be set on 9600 as on Arduino which is define in code. ( Serial.begin(9600); mySerial.begin(9600); )
You can use USB-TTL module to setup VRM, and everything is describe in VRM_manual in rar file!
And here are more picture of my work....and i will in near future make VRM version 3 (with 80 commands) to work on same or similar principle!
For final words, you can connect anything to control with your voice commands (LED, arduino relay ...) and define it in last function of code (you will see it > case 11: .... case 12:...)
This is my FIRST instructable project and hope you like it...I will try to help you in comments if you have some problems.
We have a be nice policy.
Please be positive and constructive.