Go Down

Topic: Stream voice from mic to phone  (Read 2261 times) previous topic - next topic

Stevemoretz

Hi guys I need to know how to do this. I have an arduino nano and I want to make a watch with it one of the things I want it to do is first of I attached a microphone on arduino and now I want to get the voice from this microphone and stream it to my phone using a HC06 Bluetooth module and I also need to stream phone voices to the speaker which is attached on the arduino board so I need some codes and suggestions I would appreciate any help Tnx

Grumpy_Mike

Quote
stream it to my phone using a HC06 Bluetooth module
The HC06 bluetooth module will not operate in the audio streaming mode.

Stevemoretz

Can I do it with another Bluetooth module?

Grumpy_Mike

Probably but not very well. What sort of Arduino?

Stevemoretz

Well as I mentioned its a nano for making a watch it should be little.

Grumpy_Mike

I don't think a Nano will cut it. The sampling rate is slow and their is no D/A for the sound output.

Stevemoretz

#6
Jun 12, 2017, 08:40 am Last Edit: Jun 12, 2017, 08:45 am by Stevemoretz
You mean I can't attach a speaker to a nano?no way? I'm convinced that this task is kinda impossible but are you sure about sound output?? What D/A is short from of?

Grumpy_Mike

D/A means a Digital to Analogue converter and it turns the numbers into the continuous varying signal that needs to be connected to a speake. You can connect a speaker to a Nano using the PWM output but it is only the equivalent of an 8 bit D/A. However streaming audio to it and at the same time streaming audio from a microphone back is not possible with anything like the quality you would call reasonable.
Sure you can play back small audio samples, you can store about three seconds worth in the program memory or about a quarter of a second from the data memory.

Stevemoretz

#8
Jun 12, 2017, 09:58 am Last Edit: Jun 12, 2017, 10:26 am by Stevemoretz
Tnx for the info I but I don't wanna stream microphone and speaker at the same time I can use a push button for that reason to just do one of them in each state of the button is it still impossible I don't want to use it for song so I just want it for calls and the speech recognition of Google which is on the phone. What do you dude think let me know Tnx for replying me

And how many bits can I get with the other arduino boards which support D/A(just for knowing)

Grumpy_Mike

Quote
And how many bits can I get with the other arduino boards which support D/A(just for knowing)
Depends on the board, but from 12 bits to 16 bits is normal and give you a reasonable quality.

Quote
and the speech recognition of Google
That might be a problem.

Quote
I can use a push button for that reason to just do one of them in each state of the button is it still impossible
You stand a much better chance of doing it with that restriction.

You might want to look at this.
https://www.sparkfun.com/products/12849

Stevemoretz

Wow I checked that link Tnx can I use this module on arduino? 3mpbs wow I can't believe it.looks expensive but if it works that would worth it now with this I can get full quality do you think I can still get the full quality when I send and receive audio at the same time?

Grumpy_Mike

Quote
Tnx can I use this module on arduino?
I have no experience with this module but I can't see why not.


Stevemoretz

Ok Tnx so I'll buy it. Tnx for your help I really appreciate it. :)

Go Up