Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by yateng
    Hi, thanks for your fast reply!
    I have updated the bin to v1.1036.
    Keeps on having the same problem.
    Specially when the song finishes at the end and change to the new song.
    If you force the change, "next song", it usually doesn´t happen.
    But when the song finishes naturaly, it keeps on happenning...
    So it will have to wait then for me to have enough investigating tools. I don't have much where I am now
    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


    • Originally posted by philippe_44
      So it will have to wait then for me to have enough investigating tools. I don't have much where I am now
      Thanks man for your great job!

      Comment


      • ST7789 white screen when playing

        Originally posted by yateng
        Thanks man for your great job!
        Dear experts,
        I using esp32 audio kit (docs.ai-thinker.com/en/esp32-audio-kit) with squeezelite-esp32(fw: I2S-4MFlash.32.1036.master-cmak) and connect ST7789 display(320x240).

        Hardware connection as:

        DIP-Switches: Off,Off,Off,On,On
        Clock,CLK,SCL => (MTDO) = GPIO15
        Data,SDA => MOSI (MTCK) = GPIO13
        Reset,RES => RST
        DC => GPIO0
        CS => GND
        backlight,BL,BLK => (MTDI) = GPIO12

        NVS setting as:
        display_config :SPI,width=320,height=240,back=12,speed=8000000,dr iver=ST7789,VFlip,rotate
        spi_config: data=13,clk=15,dc=0,host=1

        I can see "squeezeESP32" show on display but when audio plays the display become white.

        Any idea to solve it?
        Last edited by jesselin0420; 2022-07-26, 05:26. Reason: typo

        Comment


        • Originally posted by jesselin0420
          Dear experts,
          I using esp32 audio kit (docs.ai-thinker.com/en/esp32-audio-kit) with squeezelite-esp32(fw: I2S-4MFlash.32.1036.master-cmak) and connect ST7789 display(320x240).

          Hardware connection as:

          DIP-Switches: Off,Off,Off,On,On
          Clock,CLK,SCL => (MTDO) = GPIO15
          Data,SDA => MOSI (MTCK) = GPIO13
          Reset,RES => RST
          DC => GPIO0
          CS => GND
          backlight,BL,BLK => (MTDI) = GPIO12

          NVS setting as:
          display_config :SPI,width=320,height=240,back=12,speed=8000000,dr iver=ST7789,VFlip,rotate
          spi_config: data=13,clk=15,dc=0,host=1

          I can see "squeezeESP32" show on display but when audio plays the display become white.

          Any idea to solve it?
          Have you installed the LMS plugin ?
          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


          • Originally posted by philippe_44
            Have you installed the LMS plugin ?
            Yes, I have installed it. version v0.351.

            Comment


            • Originally posted by jesselin0420
              Yes, I have installed it. version v0.351.
              Are there any clues I can trace?

              Comment


              • Originally posted by Tomesp32
                I have tried to get my display working this is the config I
                \ have played around with
                dc=15,data=13,clk=12
                SPI,width=320,height=240,driver=ST7789,speed=20000 000,cs=18

                these are some config i have seen other users say worked for them

                spi_config: dc=27,data=19,clk=18
                display_config: SPI,driver=ST7789,width=320,height=240,cs=5,back=1 2

                display_config :SPI,driver=ST7789,width=320,height=240
                spi_config :dc=22,data=21,clk=0

                SPI:
                data=4,clk=19,dc=5
                Display:
                SPI,width=320,height=240,cs=18,reset=23,speed=2000 0000,driver=ST7789,HFlip,rotate


                any ideas why I am unable to get my display to show anything?

                this is the display I have (same as in the github right from waveshare)

                https://www.waveshare.com/2inch-lcd-module.htm
                Hi Tom ,
                Do you fix it ?

                Comment


                • Originally posted by jesselin0420
                  Hi Tom ,
                  Do you fix it ?
                  I too having the same problem. I run similar config. with a ESP32 WROVER with I2S DAC with no problem (so it isn't the display. I got a ST7789 240x320. But when I try it on the ESP32 -A1S Dev Kit, all I got is "SqueezeESP32" display and nothing. I try varies GPIO config. with the same result. Not sure this is a common problem with the dev kit or not. Will very much like to solve this.

                  Ben

                  Comment


                  • Originally posted by bench2015
                    I too having the same problem. I run similar config. with a ESP32 WROVER with I2S DAC with no problem (so it isn't the display. I got a ST7789 240x320. But when I try it on the ESP32 -A1S Dev Kit, all I got is "SqueezeESP32" display and nothing. I try varies GPIO config. with the same result. Not sure this is a common problem with the dev kit or not. Will very much like to solve this.

                    Ben
                    If you are seeing "SqueezeESP32" on the screen, then it means your screen is properly configured and works. Make sure you install the latest SqueezeESP plugin on your server.

                    From our readme:
                    Code:
                    To control the equalizer or use the display on LMS, a new player model is required and this is provided through a plugin that is part of LMS' 3rd party repositories
                    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


                    • Hi,

                      Actually I am running the SqueezeESP32 plugin already (v0.351). I have two set up; one using a wrover with DAC and one with the A1S dev kit. Both running v1.0-1036-16. The wrover works with all the different display I throw at it (SPI) OLED, TFT etc. artwork, vu meter date time all works. But the A1S just display SqueezeESP32 and thats' it. One thing I did notice, when the wrover boot up, it display the IP address after it display the IP address after SqueezeESP32, but the A1S doesn't, it just show SqueezeESP32 and thats' it.

                      BTW, I am running LMS 8.3 in docker. Don't know if this matter or not.

                      I have a look at the A1S console log and as far as I can tell it was trying to display something, see attachment.


                      This is most perplexing !

                      Ben
                      Attached Files

                      Comment


                      • Originally posted by bench2015
                        Hi,

                        Actually I am running the SqueezeESP32 plugin already (v0.351). I have two set up; one using a wrover with DAC and one with the A1S dev kit. Both running v1.0-1036-16. The wrover works with all the different display I throw at it (SPI) OLED, TFT etc. artwork, vu meter date time all works. But the A1S just display SqueezeESP32 and thats' it. One thing I did notice, when the wrover boot up, it display the IP address after it display the IP address after SqueezeESP32, but the A1S doesn't, it just show SqueezeESP32 and thats' it.

                        BTW, I am running LMS 8.3 in docker. Don't know if this matter or not.

                        I have a look at the A1S console log and as far as I can tell it was trying to display something, see attachment.


                        This is most perplexing !

                        Ben
                        Wondering if there could be a gpio collision of some sort. Display gets initialized first in the boot sequence (to allow displaying the logo, amongst others). If something else steals gpio after that, then display would be stuck with the splash screen.

                        Alternatively, there could be something going on with the server side. Maybe you could look at the logs there, or delete the player config file so it gets recreated (in case the file is corrupt).
                        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
                          Wondering if there could be a gpio collision of some sort. Display gets initialized first in the boot sequence (to allow displaying the logo, amongst others). If something else steals gpio after that, then display would be stuck with the splash screen.

                          Alternatively, there could be something going on with the server side. Maybe you could look at the logs there, or delete the player config file so it gets recreated (in case the file is corrupt).
                          I concur because the IP address is established when LMS connectivity is successful and that’s much later in the boot process. Writing the welcome message is purely local, not LMS driver
                          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


                          • Originally posted by philippe_44
                            I concur because the IP address is established when LMS connectivity is successful and that’s much later in the boot process. Writing the welcome message is purely local, not LMS driver
                            Hi,

                            First of thanks for all the response, the good news is finally got it working. Yes is it is a GPIO config. issue. CS was on GPIO0 (this works on a ESP32 WROVER DEVKITC board!), but apparently not with the ESP32-A1S Audit Kit. This is my final working SPI and display config.:

                            Display:

                            SPI,width=128,height=128,cs=13,reset=19,driver=SSD 1327,invert,rotate

                            SPI:

                            data=18,clk=23,dc=5,host=1

                            YMMV.

                            Again, thanks for all the help and very much apprenticed it.

                            Ben

                            Comment


                            • Originally posted by bench2015
                              Hi,

                              First of thanks for all the response, the good news is finally got it working. Yes is it is a GPIO config. issue. CS was on GPIO0 (this works on a ESP32 WROVER DEVKITC board!), but apparently not with the ESP32-A1S Audit Kit. This is my final working SPI and display config.:

                              Display:

                              SPI,width=128,height=128,cs=13,reset=19,driver=SSD 1327,invert,rotate

                              SPI:

                              data=18,clk=23,dc=5,host=1

                              YMMV.

                              Again, thanks for all the help and very much apprenticed it.

                              Ben
                              Quick update, it works (at least with the display I got) with CS just grounded, save a GPIO pin. Again YMMV.

                              Comment


                              • Is it possible to get a larger font size in the idle screen?

                                Hi all,
                                Is it possible to get a larger font size in the idle screen? My monitor is 320x240. the largest font seems to be 24x24 and it looks small.
                                Is there any plugin can show bigger clock in idle screen?

                                Thanks

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎