Announcement
Collapse
No announcement yet.
ANNOUNCE: Squeezelite-ESP32 (dedicated thread)
Collapse
X
-
2 Duets controllers, 1 X Boom, 1 X Radio
1 X SqueezeAmp + Edifier S1000DB
1 X Receiver + Yamaha RX-A2000, Polk M70
1 X Receiver + Boston MicroSystem CD
Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0 Audioengine A5 ( passive mode )
Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
HTC 10 w/ Squeeze Ctrl
ReadyNAS 516 LMS 8.31
-
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
-
Originally posted by sle118 View Post
Pushing the WROVER modules to 240MHz and that's barely sufficient for some tasks. It's unlikely that this new module would suffice.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 & 3
Comment
-
☹ , darn. The wifi improvements caught my eye. My squeezeamps periodically get confused by the ever changing wifi environment. They always come back to their senses, but sometimes require a power off to reconnect.2 Duets controllers, 1 X Boom, 1 X Radio
1 X SqueezeAmp + Edifier S1000DB
1 X Receiver + Yamaha RX-A2000, Polk M70
1 X Receiver + Boston MicroSystem CD
Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0 Audioengine A5 ( passive mode )
Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
HTC 10 w/ Squeeze Ctrl
ReadyNAS 516 LMS 8.31
Comment
-
I bought an ESP32-WROVER-DEV Camera board...
...and then wished I hadn't. But I got it working!
1. https://sle118.github.io/squeezelite-esp32-installer/
You then get the - flash read err, 1000 - boot loop:
2. Repair bootloader:
Download a WROVER zip and find bootloader.bin
Use online installer:
Unplug, replug.
Hold down RESET and BOOT, release RESET, release BOOT.
Flash bootloader.bin to 0x1000 DO NOT ERASE FLASH
https://github.com/espressif/arduino-esp32/issues/1274
...should work now! Let me know if it works for you.
Tony
PS
Would not work reliably when moved to external USB PSU.
Placed 4.7uF between EN and GND:
Still had problems and suspected Rx line was floating when not connected to PC so connected 8.2k between Rx and 3.3v. Exact values not important.
Last edited by Wiredcharlie; 2023-01-22, 15:49.
Comment
-
Switch GPIO by http?
I currently have an ESP8266 switching an amplifier on using the SBNetIO plugin - and also switching audio source and amplifier power - when a projector is powered. (I know that Squeezelite-ESP32 has the amp switching feature, but this does not help with my other switching tasks.)
I wondered if Squeezelite-ESP32 could eliminate my ESP8266 switch.
Is it possible to switch a GPIO on the ESP32 using http? (Something like, http://192..../switch_gpio,4,1)
Thanks for Squeezelite-ESP32 - I really appreciate your work.
Tony
Comment
-
Originally posted by Wiredcharlie View PostSwitch GPIO by http?
I currently have an ESP8266 switching an amplifier on using the SBNetIO plugin - and also switching audio source and amplifier power - when a projector is powered. (I know that Squeezelite-ESP32 has the amp switching feature, but this does not help with my other switching tasks.)
I wondered if Squeezelite-ESP32 could eliminate my ESP8266 switch.
Is it possible to switch a GPIO on the ESP32 using http? (Something like, http://192..../switch_gpio,4,1)
Thanks for Squeezelite-ESP32 - I really appreciate your work.
TonyLMS 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
-
Are you able to do an http post of a json payload from that plugin? if so, I could probably add a small console command. It would register under the "advanced" tab that shows up when you enable it from the credits tab.
Thanks for your help,
Tony
Comment
-
Hi all,
Amazing project you have, congrats!
I want to build a esp32 squeezeplayer but for my use the size must be kept to the minimum. I plan to use a wrover e, set it up with a esp32-devkits-r downloader board and then have it to work on its own feeding 3.3V (from a raspberry pi if possible (?)) and extract spdif.
The problem is that i need a toslink output, and i dont have space enough to use one of those i2s to toslink boards. I am wondering if it is possible to somehow connect a toslink emitter (from what i see they work with 3-5V).
Is there a way to plug the toslink emitter to the ESP32 similartly to what can be done for a spdif coax output? i have been reading this thread and other sources but i could not find anything at all....
thanks a lot for any insight!
Comment
-
Originally posted by RPlanto View PostHi all,
Amazing project you have, congrats!
I want to build a esp32 squeezeplayer but for my use the size must be kept to the minimum. I plan to use a wrover e, set it up with a esp32-devkits-r downloader board and then have it to work on its own feeding 3.3V (from a raspberry pi if possible (?)) and extract spdif.
The problem is that i need a toslink output, and i dont have space enough to use one of those i2s to toslink boards. I am wondering if it is possible to somehow connect a toslink emitter (from what i see they work with 3-5V).
Is there a way to plug the toslink emitter to the ESP32 similartly to what can be done for a spdif coax output? i have been reading this thread and other sources but i could not find anything at all....
thanks a lot for any insight!
As for outputting digital RCA, you might need a dedicated 1:1 transformer for the task (this is what I'm using in my SqueezeIO design, which is a board that has Ethernet and simultaneous optical and RCA digital out as well as analog out... In addition to analog in, but that's a different story.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!
- Likes 1
Comment
-
thanks Sle118.
Yes, if possible i would add an optical output connected directly to the gpio pin / ground / 3.3V as depicted here:
using a toslink emitter like this:
CLIFF OTJ-5 FCR684205T | Connector: optical (Toslink); socket,transmiter fiber optic - This product is available in Transfer Multisort Elektronik. Check out our wide range of products.
wasnt sure if it would work, but if other people made it work i will give it a try
Comment
-
Originally posted by RPlanto View Postthanks Sle118.
Yes, if possible i would add an optical output connected directly to the gpio pin / ground / 3.3V as depicted here:
using a toslink emitter like this:
CLIFF OTJ-5 FCR684205T | Connector: optical (Toslink); socket,transmiter fiber optic - This product is available in Transfer Multisort Elektronik. Check out our wide range of products.
wasnt sure if it would work, but if other people made it work i will give it a try
Remember though that you need an esp32 module with at least 4Mb of PSRAM. The appropriate module is a WROVER and definitely not the WROOM that the a2dp sink is usingLMS 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!
- Likes 1
Comment
-
Originally posted by sle118 View Post
Remember though that you need an esp32 module with at least 4Mb of PSRAM. The appropriate module is a WROVER and definitely not the WROOM that the a2dp sink is using
thanks a lot for your help! much appreciated!!!
Comment
-
I apologize if this is a rudimentary question, this is definitely the hard-core corner of the LMS frontier.
I have set up an Mn Cast Raspiaudio box. As warned in this thread repeatedly, the ESP32 gets overwhelmed with high bitrate FLAC - I'm getting stuttering on 24/96k files. So far, no problem, I understand.
But I've been assuming it was possible to force transcoding on my very-capable LMS server somehow. I figured I could set some kind of per-player threshold or limit for the ESP32 that the LMS server would honor, and the LMS server would resample everything on the fly before sending it to the EMS32. If this is possible, I can't figure out how to do it.
I'm not bitrate obsessed - I have no illusions that I can hear the differences between high bitrate and redbook audio. I'm content with some dither error or whatever when streaming to ESP32. But I do purchase high bitrate files when the cost differential isn't crazy, so I have a fair amount of them, and will continue to buy them..
Suggestions?Last edited by Stumphy; 2023-01-30, 00:31.
Comment
-
Originally posted by sle118 View Post
If you are referring to an optical output, then you don't need a lot of components around them, as they are just photo diodes. Philippe merged some code that abuses the esp32 i2s device's output (for its convenient DMA) to bit bang the spdif codes out of a gpio, no external chip needed. I think some adventurous people have even been using diodes taped to an optical cable.
As for outputting digital RCA, you might need a dedicated 1:1 transformer for the task (this is what I'm using in my SqueezeIO design, which is a board that has Ethernet and simultaneous optical and RCA digital out as well as analog out... In addition to analog in, but that's a different story.
Can we follow that project?
Comment
Comment