Go Down

Topic: arduino to arduino soud(voice) transfer with spi problem (Read 116 times) previous topic - next topic

pusent

i'm a new arduino user(student).

i want to sound in arduino with adc and sending other arduino with spi. so slave arduino receive digital sound data and export DAC bla bla..

i can do mic > ADC > PORD > R2R > speaker (no details amp..) with one arduino 44.1khz sample rates(source example http://www.instructables.com/id/Arduino-Audio-Input/ and http://www.instructables.com/id/Arduino-Audio-Output/).

but i cannot do two arduino (mic > ADC > SPI  >>>> SPI > DAC >...) sound data transfer.
simple spi test is ok(hello world :) ) but I can not even send my voice.

Help me please for spi send voice - sound data 44.1 khz(or max khz for quality)!!!
 
I'm sorry for my bad english.

Grumpy_Mike

Quote
but i cannot do two arduino (mic > ADC > SPI  >>>> SPI > DAC >...) sound data transfer.
Yes this is correct you can't do this.
The Arduino is not fast enough to sample at 40KHz and send data out of the SPI at the same time.

pusent

I updated my question then follows. I want to make sound transfer between two arduino via cable.

how many khz/bps transfer on SPI? How many should I do my speed for sound transfer? 11025 or 8000 hz is enough? How can I transfer them is enough.
or
What other methods can we use for this job?

Grumpy_Mike


pusent

Quote
I want to make sound transfer between two arduino via cable.
ok. khz/bit rate is no problem. i want 8khz sound transfer or voice transfer.

Is there a simple method or example?

Grumpy_Mike

Just replace the Xbee transmitter and receiver with a cable.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy