logo elektroda
logo elektroda
X
logo elektroda

[Solved] Connecting the SH1106 OLED display to the ESP32 30-pin with WiFi antenna

Użytkownik_Elektrody 2160 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20086898
    Użytkownik_Elektrody
    Level 3  
    Good morning.
    I have a question if it is possible to plug in this following display from Allegro: /oferta/wyswietlacz-oled-1-3-128x64-i2c-sh1106-bialy-11840272724
    To the ESP32 of this 30 pin version with built-in WiFi antenna. I found such a schematic, but nowhere could I find confirmation of this schematic:
    Connecting the SH1106 OLED display to the ESP32 30-pin with WiFi antenna .
  • ADVERTISEMENT
  • Helpful post
    #3 20086998
    khoam
    Level 42  
    "The scheme is correct.
  • ADVERTISEMENT
  • #4 20087007
    Użytkownik_Elektrody
    Level 3  
    If the display from the Chinese one arrives we'll find out, I just wanted to make sure nothing burns when connected :)
  • ADVERTISEMENT
  • #5 20087479
    Użytkownik_Elektrody
    Level 3  
    I have one more question why this display has different pins than other displays instead of SCL it has the SCK pin ?
  • Helpful post
    #6 20087606
    khoam
    Level 42  
    Użytkownik_Elektrody wrote:
    why this display has different pins than other displays instead of SCL it has SCK pin ?
    .
    Then maybe post a picture of this display and it will clarify if it has an I2C or SPI interface.
  • #7 20087624
    Użytkownik_Elektrody
    Level 3  
    khoam wrote:
    Użytkownik_Elektrody wrote:
    Użytkownik_Elektrody wrote:
    why this display has different pins than other displays instead of SCL it has SCK pin ?
    .
    Then maybe post a picture of this display and it will clarify if it has an I2C or SPI interface.

    Here is the link to the auction : https://allegro.pl/oferta/wyswietlacz-oled-1-..._unit_id=510bfe04-ad20-4579-ac41-0ab45106709d

    Added after 41 [seconds]:

    there are also auctions of this display 7 pins
  • ADVERTISEMENT
  • Helpful post
    #8 20087630
    khoam
    Level 42  
    This looks like a Chinese misspelling ;)
  • Helpful post
    #9 20087634
    inot
    Level 37  
    This is a display with an I2C interface. SPI requires more connections.


    If you’re using an OLED display with SPI communication protocol, use the following GPIOs.

    GPIO 18: CLK
    GPIO 19: MISO
    GPIO 23: MOSI
    GPIO 5: CS
  • #10 20087656
    Użytkownik_Elektrody
    Level 3  
    The program I want to use supports I2C, so it should work, namely caradio32
  • #11 20119645
    Użytkownik_Elektrody
    Level 3  
    The scheme worked, so the topic is closed

Topic summary

The discussion centers around connecting an SH1106 OLED display to an ESP32 30-pin version with a built-in WiFi antenna. The user inquires about the compatibility of the display, referencing a schematic they found. Responses confirm that the schematic is correct and that the display operates via an I2C interface, despite some confusion regarding pin labeling (SCL vs. SCK). The user expresses concern about potential damage during connection and later confirms successful implementation of the schematic.
Summary generated by the language model.
ADVERTISEMENT