• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 with 0.96 OLED

Q&A Forum › Category: ESP32 › ESP32 with 0.96 OLED
0 Vote Up Vote Down
Peter Wood asked 5 years ago

I cannot get a 0.96 OLED to work with ESP32 Dev Kit.
Using the Adafruit SSD1306  I2C example for 128×32 display with a UNO all displays work perfectly. However they will not work with either 30 or 36 pin ESP32’s.
The same  ESP32 connected to a BME280 works perfectly.
Using the  I2C Address sketch shows three devices attached to the ESP32’s even when there is nothing attached!! Non of the addresses work for the OLED.
I have tried adding the following code to the sketch
# ifndef OLED_RST
# define OLED_RST 16
# endif
# ifendif OLED_SDA
# define OLED_SDA 21
# ifendif OLED_SCL
# define OLED_SCL 22
#endif
Still no success. Any ideas pls.

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Peter.
 
Can you show me a picture of your OLED display? To share a picture use a link to google drive, imgur or dropbox, for example.
 
How are you wiring the display to your board?
 
What code are you trying to run? And what changes have you made to make it work with the ESP32?
 
Regards,
Sara

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

This question was resolved via email.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.