J.A.R.V.I.S, a prototype voice assistant that could give an AI impression by connecting it to my DIY arc reactor in Iron Man!
Devices and components
Arduino Mega 2560 Rev3
Voice recognition module v3.0 (Elechouse)
SD card module
Speaker: 3 W, 4 ohms
Project description
1) Open "vr_sample_train" folder and launch "vr_sample_train.ino"\t
2) Select the board and port. Upload the code.
3) Now launch the Serial Monitor.
4) On the monitor, the help menu appears. Follow the instructions to train the commands.\t
ie. to train a voice command and name a signature for it,
type
sigtrain <ID no.> <Signature>
(Ex: sigtrain 0 JARVIS)
5) Now follow the schematics of the voice commands for J.A.R.V.I.S.\t\t
ID:0 Signature:JARVIS
Command to be spoken: "Hi, what's your name?"\t
ID:1 Signature:ATSERVICE
Command to be spoken: "Jarvis, you there?"\t
ID:2 Signature:REACTORON
Command to be spoken: "Turn on the reactor!"\t
ID:3 Signature:ILOVEYOU
Command to be spoken: "I love you Jarvis!"\t
ID:4 Signature:LASTWORDS
Command to be spoken: "Any last words Jarvis?"\t
6) After all the commands have been trained successfully, load all those commands by typing "load 0 1 2 3 4" on the serial monitor textbox.
7) Now simply exit the serial monitor, if you found the Voice recognition module LED is blinking red every second. Make sure you should not power off the Arduino. Let the program be in an open window.
8) Mount the SD card on your PC. Extract "VOICE TRACKS.rar" and copy all the audio files to the SD Card and unmount it. Now mount the SD card back into the SD Card Module.
9) Ensure whether all components are connected properly. Now open "J.A.R.V.I.S" folder and open "J.A.R.V.I.S.ino". Select the appropriate board and port. Now upload the code.
10) After the code upload, open the serial monitor and start speaking pre-trained voice commands.
11) Voila! You'll notice the tracks playing as per your command and the voice recognition module will work perfectly
Necessary files
Necessary files
Downloadable files
Configuring J.A.R.V.I.S
Configuring J.A.R.V.I.S
Note: Content and images are from: https://projecthub.arduino.cc/, with some modifications.
If you want it removed due to copyright reasons, please leave a comment. Thank you.
I want to share this article more widely so that everyone knows about Arduino and your project.