
Ellis
I am going to buy a Seeed ReSpeaker USB Mic Array. I would like to send ReSpeaker sound Direction Of Arrival (DOA) information to Ez-b. If can get it into Ez-b I can write a script that will send instructions to my robot Max and allow Max to point to the person speaking. How would I go about getting this ReSpeaker information into the Ez-B script?
Here is the link to information concerning Seeed ReSpeaker USB Mic Array. I will most likely need direction on how to get it to work with Ez-B.
wiki.seeedstudio.com/ReSpeaker-USB-Mic-Array/
If link does not load. Right click link and select the Go to wiki.seeedstudio.com/ReSpeaker-USB-Mic-Array/. That should let you see the information.
Thanks
Ellis
PS, that link won't load because the seed website doesn't have an SSL certificate or HTTPS server. They have no security on their web server. Be very careful when you use that chinese company's website. Do not login or create accounts because it is not a secure website. The way to view that website is to replace HTTPS with HTTP in the url
'd recommend using the solution i provided, which is already in your windows 10 pc... a sound card microphone input: https://synthiam.com/Products/Controls/Scripting/Sound-Movement-16110
I am going to try the Sound-Movement idea you recommended.
Also, I think there may be problems with my Sound Sensors. They do not seem to be working as they should. In analog I get very little change on the ADC Graph unless I blow hard into the sensors microphone. Then I only get 1 volt variation on the Read ADC intermittently. Are there differences in these sound sensors? Is there a good sound sensor for this application using an Ez-B?
Thank you so much for helping me.
This code i wrote for you on the Arduino will send the microphone index that detected audio past the threshold. It'll only start triggering on that specific port again when the elapsed timeout has passed. I set that timeout to 5 seconds (5000 ms). There's some additional logic that can be added to remove false positives. For example, we can sample all ADC's and compare for the highest one AND check that against the threshold. If you want to go this path, which i think will work, i can make additional changes....
Code:
Now that the arduino has sent the triggered index to the ezb via UART, we have to detect it on the ezb. To do this, we first need to initialize the uart that you'll be using. I do this in the connection control using JAVASCRIPT...
Code:
Now we need to detect and do something with the data from the hardware uart. A script that runs in the background is a good idea. As you can see in the above script, i called this one [i]Check Audio. This will be started when a connection occurs from the script above.
Code:
Thanks DJ for catching the code issue and writing the code for using arduino.