Hi everyone,
I am making a project and I would like to send sounds(Audio messages,Sound beats,etc.) from arduino to wireless earphones which will be used by the user(me) but i haven't actually found yet the way to do so.Does anyone know how fisible is that and if so could you suggest some ideas?
I am making a project and I would like to send sounds(Audio messages,Sound beats,etc.)
I'm not sure what that means. The Arduino can make a square-wave [u]tone()[/u], so if tat's all you need, the sound part is it easy. There is also a [u]TMRpcm Library[/u] for "approximating-analog" and playing sounds from a memory card. But, there is no built-in DAC (so no true-analog output) and there is not enough built-in memory to store sound files.*
The best way to get good-quality sound is with a [u]Audio Shield[/u]. The audio shield does all of the work... It has a DAC, a clock for the audio sample rate, a slot for a memory card, and if you buy an "MP3 shield", it's got an MP3 decoder built-into it's firmware.
from arduino to wireless earphones which will be used by the user(me) but i haven't actually found yet the way to do so.Does anyone know how fisible is that and if so could you suggest some ideas?
I wouldn't try building such a thing yourself. I assume you have Bluetooth headphones, so look for a [u]Bluetooth Audio Transmitter[/u].
- Just as a point-of-reference, an uncompressed "CD quality" audio file requires 176,400 bytes for one-second of sound. (8 bits in a byte is 2 bytes per 16-bit sample, and it's 2-channel stereo, so 4 x 44.1k = 176.4k).
Thanks really for the reply i found it very useful i will truly use the tone library in order to produce tones from arduino but i dont really know how to send this tones to wireless earphones and i want wireless earphones because when i will wear them the arduino will be in x distance from me.
You do not send the tone itself, you send a message or command that causes the Arduino to generate the tone.
All you need is two pieces of information, the frequency and the tone length.
So just look at sending numbers over. When anything is received by the Arduino it is checked to see if it makes sense and then the tone command is called in the Arduino.