Voice Recognition Raspberry PI and Arduino UART communication

preview_player
Показать описание

🔥Recognise voice with Raspberry Pi and send the text via UART port to the Arduino. Perfect voice recognition. Fast and reliable. Detect multiple voices and long phrases. Perfect for robotics.

🔀LINKS
-------------------------------------

🤝SUPPORT
-------------------------------------

00:00 Intro
02:44 Why is better?
04:04 Install Pi OS
05:16 Sound card and microphone
06:12 Install packages
07:30 Speech Code
09:06 UART communication
12:17 Pi - Arduino Test
14:49 Thank you!

Like share and subscribe to motivate me. Thank you

#raspberrypi
#Arduino
#voice
Рекомендации по теме
Комментарии
Автор

You can use try catch block to handle the exception. Great video, loved it very much.

tekmanager
Автор

That's amazing! For the error you just need to wrap the API request in a try...expect construct! it preserves the code from exit on the exception!

simonescaravati
Автор

When I saw this notification pop up this weekend I first thought you were just making a voice recognition video for the raspberry pi. Now I see you were doing it for the Arduino. Yes this is a complex looking process to set up. But the reward is amazing! The power of having voice to text on an Arduino is awesome. I hope someone can get you some help on the noise thresshold. Thank you for sharing this Andrei! It is very much appreciated.

JonathanDeWitt
Автор

Yes!!!! I made one in html but I needed a browser for it to run. Thanks for making this, I've been wanting to make my own for the longest time

dallasfromthefuture
Автор

You become greater than Great Scott. You're doing far more interesting content.

littlemadness
Автор

I hardly comment on channels but this tutorials is wonderful

shemziller
Автор

I was waiting for this episode, Thanks Bro❤❤

ezzeldin
Автор

thank you so much ~I adore that you have so many chips in behind which may trigger our motivation of learning interactive coding and interactive product testing moldule

musiquedumonde
Автор

Indeed I liked it ! This is way better than the module from your 1st video !

PhG
Автор

I think the Try...Catch approach that the others have recommended is a good. As an alternative, you could try implementing your own wakeup command. Like, it doesn't try to process anything until it gets a specific word or phrase. It might also be worth testing to see if after recieving the wakeup command, it raises the input volume programmatically. Then, after, say, 30 seconds or so, it drops the input volume back down. For this you would need to be a little extra loud on your initial command, but everything that follows would be spoken normally.

jakemeyer
Автор

Great work... 👍🏼👍🏼👍🏼 I was searching for this ...

biswajitkarmakar
Автор

Interesting approach with many applications.

kau_norw
Автор

This was very helpful and Interesting! Thank you!

hassantangasawi
Автор

Another great video. When you will build a robot to react to your voice?

GnobarEl
Автор

Thanks for explanation, it was useful. I wish you would explain to the voice command unit LD3320

محمدإسلام-عص
Автор

you should try the try except code. it would look like this in your while code.

"""

while True:
with mic as source:
audio = r. listen(source)
try:
words r.recognize_google(audio)
print (words)
ser.write(bytes(words, 'utf-8'))
except:
pass
"""
the try except code will catch any error in the try block and if error happens with any part of the code inside it it jumps to the except block. you can even specify what error you want to catch, but keeping it like this works just fine for beginners.

hope this helps you on your python journey.

quinman
Автор

Hi! Congratulations for your work and thanks for sharing it. Could you, please, tell me what was the microphone model that you used in this project? Thank you!

marcelorochacomposer
Автор

it is possible to connect the elechouse voice recognition module to the raspberry pi directly?
Amazing video!! Thanks to show the pros and cons you had with the project!

anferjo
Автор

Dirty fix to Your problem : use LED to visualy see when Your voice recogn. Is active and 1 button to restart the code. I have used button for similar actions and it's easy to set up. But I'm not 100% sure about LED bc I have never had LED connected to RPi 😂 but it should work if You spend some time on it.

idko
Автор

Sir some error. Please help me. When I run the code, shell showing "attempt to connect to server failed"
Please help

JugaaduJi
join shbcf.ru