Audio from arduino to smartphone HELP!!!

Hi guys!

I have to take an audio signal from a 3.5mm jack pinout, make it go through arduino and then send it to my smartphone(via bluetooth i think) and listen the audio on my phone. I'm new in this and i don't know where to start. I have an arduino uno. I dont know how to make arduino take the audio input ( wiring and code) and how to transmit signal via a bluetooth module. Deadline in 2 weeks pls help :(((((( Thank you!

The Arduino ADC is only 10 bits and it isn't fast enough to digitize good-quality audio. And, I'm pretty sure it's not fast enough to continuously transmit audio via Bluetooth, especially if it's digitizing audio at the same time. (And, check the specs on your Bluetooth module to make sure it can transmit audio.)

You can find Bluetooth transmitters that accept analog input.

:frowning: 2 Weeks isn't enough time even if you were an expert programmer and hardware engineer!

AFAIK, Android can not act as a bluetooth audio sink, only as a source.

Like DVDdoug said, the Arduino won't be fast enough and it doesn't have enough memory to stream, let alone compress the audio. And given the fact that you have no experience, I don't think it can be done within two weeks, even with the right hardware.

Thank you guys for the quick reply!

I could eliminate de bluetooth for the moment. The audio input is a landline phone call. I don't really need a good-quality audio (just comprehensible) . My idea was to connect the RJ11 to an adapter from RJ11 to jack. Then i would connect a wire ( i ve seen on youtube that i can put one end of the wire on the top of the jack and the other one in analog 0 of arduino and it will receive the audio).

From here i could change the project to only output the audio through some speakers. Should i analogWrite() on a pin where i would connect the speakers?

hanshi:
i ve seen on youtube that i can put one end of the wire on the top of the jack and the other one in analog 0 of arduino and it will receive the audio

No, that’s not how it works… at all.

You’ll just end up destroying the Arduino.

Phone lines have a high DC voltage (48V).

Why do you need to have the Arduino? You have an analog phone signal, why do you need to digitize it first, to output it as PWM? It doesn’t make sense at all.
The Arduino is a microcontroller, it was never intended for use in audio applications, it doesn’t have a decent ADC for audio, and it does not have an analog output.