Home of the Squeezebox™ & Transporter® network music players.
Page 45 of 45 FirstFirst ... 35434445
Results 441 to 450 of 450
  1. #441
    Quote Originally Posted by Harry1999 View Post
    display_config: SPI:width=128,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1306,HFlip,VFlip
    DIP: off,off,off,on,on
    In contrast to every permutation I've tried so far, yours causes my D5 LED to blink rather than come on solid. Who knows what D5 means? Not me!
    So I'm trying yours, but where is your IO12? I can't see any pin for IO12. The schematic for this thing [posted earlier in this thread] says IO12 is used for the SD card.

    Name:  eps32-audiokit.jpg
Views: 89
Size:  152.1 KB

  2. #442
    Senior Member sle118's Avatar
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    391
    Quote Originally Posted by troffasky View Post
    Name:  eps32-audiokit.jpg
Views: 89
Size:  152.1 KB
    FYI, I just received the esp32-a1s that I had ordered some weeks ago and I'll be able to do some experimentations of my own very soon. If your problem isn't solved by then, I will certainly be in a better position to help and possibly make some changes to the build target as required.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    6xSqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  3. #443
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,513
    Quote Originally Posted by sle118 View Post
    FYI, I just received the esp32-a1s that I had ordered some weeks ago and I'll be able to do some experimentations of my own very soon. If your problem isn't solved by then, I will certainly be in a better position to help and possibly make some changes to the build target as required.
    But I really think the build is correct. I have been using one for a long while now, the issue is more with the funny mux they do with GPIO which requires very careful read of the doc, IMHO
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  4. #444
    Senior Member sle118's Avatar
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    391
    Quote Originally Posted by philippe_44 View Post
    But I really think the build is correct. I have been using one for a long while now, the issue is more with the funny mux they do with GPIO which requires very careful read of the doc, IMHO
    Then perhaps it would be worth making a definitive documentation of the best combinations
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    6xSqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  5. #445
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,513
    Quote Originally Posted by troffasky View Post
    In contrast to every permutation I've tried so far, yours causes my D5 LED to blink rather than come on solid. Who knows what D5 means? Not me!
    So I'm trying yours, but where is your IO12? I can't see any pin for IO12. The schematic for this thing [posted earlier in this thread] says IO12 is used for the SD card.
    I've used this board in JTAG mode and it worked but this is not a well documented design so I've not spent a lot of time on it. If you crawl through this thread (and a few others) you'll see that others had issue figuring exactly the GPIO mux.

    Under binocular, D5 seems to be GPIO19 which is also key3 and that's confirmed by pressing it. I think your best chance is to reuse GPIO12 and GPIO14 for data and clock as they are probably clean (set them to the JTAG interface with the dip switches) and then decide which keys to re-use between 5,13,15,18,19. You can also use GPIO0 and RX/TX which are GPIO1 and GPIO3 (you'll loose trace after boot and need to use telnet). Forget 21 or you'll lose the control of the amplifier and 22 is for D5. I'm wondering if some of the GPIO muxed with keys don't have a debouncing capacitor, so you want to avoid them for SPI data & clock. Do you have an oscilloscope to see the SPI signals?

    These black PCB might look nice but they are a real pain to trace and this board is a mess in term of IO mux...

    NB: I've heavily edited this message while figuring out all that and I've updated https://github.com/sle118/squeezelit...make/README.md
    Attached Images Attached Images
    Last edited by philippe_44; Today at 01:33.
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  6. #446
    Junior Member
    Join Date
    Dec 2020
    Posts
    4
    This is, what i found out... (working for me)

    ESP32 Audio Kit V2.2

    ----------------------------------------------------------------
    GPIOs:
    JTAG:
    MTDO = IO15
    MTCK = IO13
    MTDI = IO12
    MTMS = IO14

    Key1 = IO36
    Key2 = IO13
    Key3 = IO19 (blinking LED D5)
    Key4 = IO23
    Key5 = IO18
    Key6 = IO5
    ----------------------------------------------------------------
    combination Rotary I2C-Display
    Rotary:
    "rotary_config": "A=18,B=5,SW=23,volume,longpress",

    A = IO18
    B = IO5
    SW = IO23 (Button)
    ----------------------------------------------------------------
    I2C-Display:
    "i2c_config": "scl=15,sda=13,speed=400000,port=1",
    "display_config": "I2C:width=128,height=64,address=60,driver=SSD1306 ,HFlip,VFlip",

    IO15 SCL
    IO13 SDA
    DIP-Schalter: Off,Off,Off,On,On
    ----------------------------------------------------------------

    ----------------------------------------------------------------
    Only SPI-Display

    spi_config: data=13,clk=15,dc=23,host=1
    display_config: SPI:width=128,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1306

    Clock,CLK,SCL = D1 = MTDO = IO15
    Data,Mosi = DO = MTCK = IO13
    CS = CS = MTDI = IO12 (some displays don't have this, no GPIO needed, try out)
    DC = DC = = IO23 / IO19 possible (with parallel blinking D5-LED)
    Reset = RES = = IO22

    DIP-Switches: Off,Off,Off,On,On
    ----------------------------------------------------------------
    Last edited by Harry1999; Today at 02:23.

  7. #447
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,513
    Quote Originally Posted by Harry1999 View Post
    This is, what i found out... (working for me)

    ESP32 Audio Kit V2.2

    ----------------------------------------------------------------
    GPIOs:
    JTAG:
    MTDO = IO15
    MTCK = IO13
    MTDI = IO12
    MTMS = IO14

    Key1 = IO36
    Key2 = IO13
    Key3 = IO19 (blinking LED D5)
    Key4 = IO23
    Key5 = IO18
    Key6 = IO5
    ----------------------------------------------------------------
    combination Rotary I2C-Display
    Rotary:
    "rotary_config": "A=18,B=5,SW=23,volume,longpress",

    A = IO18
    B = IO5
    SW = IO23 (Button)
    ----------------------------------------------------------------
    I2C-Display:
    "i2c_config": "scl=15,sda=13,speed=400000,port=1",
    "display_config": "I2C:width=128,height=64,address=60,driver=SSD1306 ,HFlip,VFlip",

    IO15 SCL
    IO13 SDA
    DIP-Schalter: Off,Off,Off,On,On
    ----------------------------------------------------------------

    ----------------------------------------------------------------
    Only SPI-Display

    spi_config: data=13,clk=15,dc=23,host=1
    display_config: SPI:width=128,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1306

    Clock,CLK,SCL = D1 = MTDO = IO15
    Data,Mosi = DO = MTCK = IO13
    CS = CS = MTDI = IO12 (some displays don't have this, no GPIO needed, try out)
    DC = DC = = IO23 / IO19 possible (with parallel blinking D5-LED)
    Reset = RES = = IO22

    DIP-Switches: Off,Off,Off,On,On
    ----------------------------------------------------------------
    Makes perfect sense. You could also re-use 0,1 and 3 if you want to maximize available keys
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  8. #448
    Quote Originally Posted by Harry1999 View Post
    ----------------------------------------------------------------
    Only SPI-Display

    spi_config: data=13,clk=15,dc=23,host=1
    display_config: SPI:width=128,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1306

    Clock,CLK,SCL = D1 = MTDO = IO15
    Data,Mosi = DO = MTCK = IO13
    CS = CS = MTDI = IO12 (some displays don't have this, no GPIO needed, try out)
    DC = DC = = IO23 / IO19 possible (with parallel blinking D5-LED)
    Reset = RES = = IO22

    DIP-Switches: Off,Off,Off,On,On
    ----------------------------------------------------------------
    Thankyouthankyouthankyou...........finally have this working!!!!!! [I am not usually a fan of multiple exclamation marks in a row, but this is a special occasion, and there doesn't seem to be a "we are not worthy" emoji on this forum].

    The D2 LED seems to blink as the screen is updated, FWIW.

    For the record:
    ESP32 Audio Kit V2.2 board, dip switches set to off/off/off/on/on
    Config:
    display_config SPI:width=256,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1322
    spi_config data=13,clk=15,dc=23,host=1

    No-name SSD1322 256x64 OLED display, with 0-Ohm resistors set in "4-wire SPI" mode. Yes, it requires CS.

    Thanks also to philippe_44 and sle118 for your help/work on this.

  9. #449
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,513
    Quote Originally Posted by troffasky View Post
    Thankyouthankyouthankyou...........finally have this working!!!!!! [I am not usually a fan of multiple exclamation marks in a row, but this is a special occasion, and there doesn't seem to be a "we are not worthy" emoji on this forum].

    The D2 LED seems to blink as the screen is updated, FWIW.

    For the record:
    ESP32 Audio Kit V2.2 board, dip switches set to off/off/off/on/on
    Config:
    display_config SPI:width=256,height=64,cs=12,reset=22,speed=80000 00,driver=SSD1322
    spi_config data=13,clk=15,dc=23,host=1

    No-name SSD1322 256x64 OLED display, with 0-Ohm resistors set in "4-wire SPI" mode. Yes, it requires CS.

    Thanks also to philippe_44 and sle118 for your help/work on this.
    Excellent - Are you sure it's D2 blinking?
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  10. #450
    Quote Originally Posted by philippe_44 View Post
    Excellent - Are you sure it's D2 blinking?
    Because of the intensity of the green LED D1, I had some electrical tape over them. D1 is going off and D2 is coming on [I think - very hard to tell as they're very rapid]. D3 is on solid, D4+D5 are both off completely.
    I am going to try 21=amp,39=jack:0,22=green:0 for set_GPIO again.

    Edit: 22=green:0 breaks the display [which makes sense - I am using 22 for reset]. D1 stays on solid, D4 comes on, nothing on the display. This might be why so many of my previous attempts didn't seem to be working.
    Last edited by troffasky; Today at 04:07.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •