Hello, I am planning to build a small mobile wifi speaker for my daughter. As main board I'll use the orange pi zero 2w (because i already have it, it has usb c and 5ghz wifi and it's small) and i have a small 3W speaker (not tested sound quality yet, but I guess it should be good enough).
For in between i was thinking a mono i2s amp, since that doesn't require a separate dac or psu. So i got the MAX98357A
Turns out, the orange pi doesn't have i2s. It's there any other way to use the amp or do i need to get a different one? And if so: which one do you recommend?
Would be grateful for any information or guidance.
For in between i was thinking a mono i2s amp, since that doesn't require a separate dac or psu. So i got the MAX98357A
Turns out, the orange pi doesn't have i2s. It's there any other way to use the amp or do i need to get a different one? And if so: which one do you recommend?
Would be grateful for any information or guidance.
Yes there is, the serial peripheral interface (SPI) is very similar to I2S and maybe used with slight modifications. Refer to the below for similarities between the two.Turns out, the orange pi doesn't have i2s. It's there any other way to use the amp ...?
https://www.ti.com/lit/an/slaa449a/slaa449a.pdf
It is however necessary to enable the SPI module on your SBC (pins 19, 21, 23) manually before attempting to transfer data.
Last edited:
You need to be able to program an SPI peripheral at a low level to mimic I2S, and even if the hardware supports it the device driver for it likely won't. I2S DACs require a continuous set of stable clocks.
Thanks for the replies. So i guess my best bet would be to get a regular 3w mono amp and connect it though a usb c dac.
You can take ESP32 Wrover, program it with squeezelite-esp32 and get I2S output via WiFi using LMS program.
https://github.com/sle118/squeezelite-esp32?tab=readme-ov-file#spotify
This may give you some insights (not tested) : https://hackaday.io/project/162373-orangepi-zero-pulse-music-server-using-i2s-dac
Ok, my experience with electronics is definitely not good enough for that :| then I'm scraping the i2s idea and will go with an external dac. Thanks for the resources and suggestions 🙂
- Home
- Design & Build
- Electronic Design
- Using I2S amp without I2S