Audio streaming


#1

Hi,

I’m working on an iOT device integrating a speaker (in addition to other more standard features).
I’m using programs developed with Particle.io and calling some APIs (such as Spotify) to play music.

Would a Redbear Duo be able to play that kind of musical audio source, using a 16 or 32bits DAC + an amplifer or something like this ?
Or would it be absolutely not relevant ?

I’m quite new on electronics.
Initially I was developing it on PI 3, which is good to use in this case. But the lack of PWM Pins needed for the other features will probably force me to change.

Thank you very much for your helps !


#2

Hi @skatospag,

I think it is possible. It depends on the kind of DAC chip you are going to use. Besides, you may need an external power source to drive the speaker. I didn’t build such a project before, so what I can suggest are limited.

Best regards,
Guohui


#3

Thank you @guohui for your answer.
If anyone else can have inputs on this, even on the type of DAP/DAC chips that we are talking about, that would really help me.
And yes, I will use external power source for this kind of chip and for the amplifier.


#4

It seems like a good idea to make a first post in the form of a self introduction, so I’m glad there’s a special part of the forum with that kind of thing in mind. Excuse me in advance for being long-winded. I’m Josh, (middle name) or Steven, (with an N) but you’re free to call me almost anything. As of now I’m 28, (born in 1976) so I’m pretty old to be playing https://freebears.com/mega-bloks-castle with toys, but I wouldn’t call myself an “AFOL”, either. I’m not particularly a fan of the LEGO company, but of building sets and even toys and action figures in general–and I’m only technically an adult.