Announcement
Collapse
No announcement yet.
ANNOUNCE: Squeezelite-ESP32 (dedicated thread)
Collapse
X
-
-
No it's not - it's a bit of a hack in Rotary. It's not implemented at the core of the buttons management, more in the "applicative" layer of the Rotary and thus it's not scalableLMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3Comment
-
From the docs that are linked to from the first post in this thread
The <amp> parameter can use used to assign a GPIO that will be set to active level (default 1) when playback starts. It will be reset when squeezelite becomes idle. The idle timeout is set on the squeezelite command line through -C <timeout>Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
-
| LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |Comment
-
The option that is mentioned by Paul above is described here:
https://github.com/sle118/squeezelit...ME.md#set-gpio
I would like to use GPIO0 and I would like to have it compile time.
Did make menuconfig, added the GPIO, after building I checked 'sdkconfig' which now contains the following entry: CONFIG_SET_GPIO="0=amp:1"
When measuring GPIO0, it remains high and when checking the log with telnet, the only (more or less) related message I can find is:
"[00:05:38.189675] output_thread_i2s:452 switching off amp GPIO -1" I would expect this would list GPIO0.
Did I do something wrong with "CONFIG_SET_GPIO" ?
Are there any other options to check GPIO allocation ?
<< Update >>
After some trying I noticed that adding the "active high/active low" level ":1" cause the GPIO not to be recognized.
So '0=amp' works '0=amp:1' does not work. Is it a misunderstanding from my side, os just a bug ?Last edited by prutser; 2021-05-24, 14:21.Comment
-
Thanks, found it. Now the next question.
I would like to use GPIO0 and I would like to have it compile time.
Did make menuconfig, added the GPIO, after building I checked 'sdkconfig' which now contains the following entry: CONFIG_SET_GPIO="0=amp:1"
When measuring GPIO0, it remains high and when checking the log with telnet, the only (more or less) related message I can find is:
"[00:05:38.189675] output_thread_i2s:452 switching off amp GPIO -1" I would expect this would list GPIO0.
Did I do something wrong with "CONFIG_SET_GPIO" ?
Are there any other options to check GPIO allocation ?
<< Update >>
After some trying I noticed that adding the "active high/active low" level ":1" cause the GPIO not to be recognized.
So '0=amp' works '0=amp:1' does not work. Is it a misunderstanding from my side, os just a bug ?LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3Comment
-
LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!Comment
-
Comment
-
Hi there,
I want to try Squeezelite-ESP32 at my home, so I ordered at first an ESP-A1S which should be good for some testing.
At the end I want to connect at least one device via S/PDIF (AV Receiver) to that client.
Is it possible with the ESP-A1S? Or do I need a ESP32-WROVER Kit?
And what kind of external module should be working without any problems?
Thanks :-)Comment
-
Comment
-
OK, so if I understand correctly:
I can use any of the GPIOs for the I2S Output and I need to configure only "bck=<gpio>,ws=<gpio>,do=<gpio>"?
From this three only DO needs to be connected to the external DAC (+ ground, of course)?
Any recommandation for an external DAC module?
With fast search I found a "DollaTek HIFI DiGi+" module?Comment
-
OK, so if I understand correctly:
I can use any of the GPIOs for the I2S Output and I need to configure only "bck=<gpio>,ws=<gpio>,do=<gpio>"?
From this three only DO needs to be connected to the external DAC (+ ground, of course)?
Any recommandation for an external DAC module?
With fast search I found a "DollaTek HIFI DiGi+" module?LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3Comment
-
The A1S already has a DAC inside, that’s the main reason for this A1S module. Are you talking about i2s or spdif then? If this is spdif you don’t need a DAC on the esp32 side, it is part of the équipement you connect the spdif to. If you still want your own DAC, why connecting it’s with spdif rather that i2s gpio and why not using a plain esp32 then?
But for the other use case I want to use a SPDIF connection (optical or coax, doesn't matter) to my AV-Receiver. So if I understand correctly an ESP-WROOM-32 should be enough. Then I need an external module with SPDIF output and the connection between the ESP32 and external module is I2S? Or did I understand wrong? And which module could I take?Comment
-
The docs say ... "For the sake of clarity, WROOM modules DO NOT work as they don't include PSRAM. Some designs might add it externally, but it's (very) unlikely."Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
Comment