Audio file transmission from arduino to wireless earpiece

Hey guys, was wondering about the feasibility, and perhaps general process, of transmitting an audio file stored in memory from an Arduino device to a wireless earpiece using bluetooth. Tips on how this may be done would be very useful! Thanks!

An Arduino is not suited for this kind of applications. It has almost no memory, and not enough processing power to read, encode and send audio.

Might be possible, but not real time. Please show an example of what your audio file looks like. What generated it? How does it get to the Arduino memory?

Is there any particular standard format for the sound data to be transferred? Or are going to develop a custom one.

Paul

Sending data from SD card via an Arduino over Bluetooth should be totally feasible, as long as the data doesn't need any decoding or so before being sent to the Bluetooth module.

Just makes me wonder what the function of the Arduino is in this setting, as there is lots of specialised hardware out there that can do this much better for less cost, less power use, less space.

Hi everyone,

My team and I are building an anxiety attack monitor that will send an audio file via the RN-52 bluetooth module interfaced with the Arduino UNO micro controller. I am trying to establish a communication stream between the RN-52 and the UNO to have the RN-52 begin searching for a bluetooth pair once the calculated Beats per minute (BPM) value breaches a defined threshold. Would anyone know how to proceed in accomplishing this?

Thanks

Hi everyone,

My team and I are building an anxiety attack monitor that will send an audio file via the RN-52 bluetooth module interfaced with the Arduino UNO micro controller. I am trying to establish a communication stream between the RN-52 and the UNO to have the RN-52 begin searching for a bluetooth pair once the calculated Beats per minute (BPM) value breaches a defined threshold. Would anyone know how to proceed in accomplishing this?

Thanks

(deleted)

I am trying to establish a communication stream between the RN-52 and the UNO to have the RN-52 begin searching for a bluetooth pair once the calculated Beats per minute (BPM) value breaches a defined threshold.

It seems to me that that's a bit late in the process. The Arduino with bluetooth shield should attempt to pair with something as soon as it boots up.

Are you planning to send the audio file FROM the Arduino or TO the Arduino.

If you are sending it FROM the Arduino, where are you storing it prior to sending it? Have you figured out how long it will take to send the file? What are you sending it to?

If you are sending it TO the Arduino, what on earth for? That would be like giving lipstick to a pig.

Moderator merged cross post. one thread per topic is really enough :slight_smile:

Hi everyone,

I am trying to transmit an audio file (either .wav or .mp3) from my Arduino UNO interfaced with a SD card to my RN52 bluetooth module. I am guessing that the best way to do this would be via serial transmission from the Arduino UNO, however, I am unsure of the code/general process of how to accomplish the transmission of this file. Any advice on how to solve this problem would be greatly appreciated, thanks!

More merging.

I am trying to transmit an audio file (either .wav or .mp3) from my Arduino UNO interfaced with a SD card to my RN52 bluetooth module

A file is a file is a file, it doesn’t matter what sort it is the process of transferring is the same.

What Bluetooth interface do you have in the Uno?
A nRf52 module is Bluetooth LE only.

Another solution would be to consider a Raspberry Pi 3 for this project. The built in Audio,Wifi and bluetooh would handle this task. When it comes to audio/video processing you need the right tool for the job. Perhaps I am wrong here?