Comments on: MicroPython: OLED Display with ESP32 and ESP8266 https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 27 Jan 2026 09:30:06 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: somsak https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-1156328 Tue, 27 Jan 2026 09:30:06 +0000 https://randomnerdtutorials.com/?p=85564#comment-1156328 In reply to somsak.

I have just found the problem. My oled was burnt out. Nothing wrong with this lib and code.

]]>
By: somsak https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-1151003 Thu, 15 Jan 2026 23:50:44 +0000 https://randomnerdtutorials.com/?p=85564#comment-1151003 In reply to Sara Santos.

It used to work in the past few years. Recently test with new MicroPython, I cannot see anything appear on screen even though no error show on shell window. ScanI2C found a SSD1306 device at 0x3c. Changing several OLED screens did not help.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-1150914 Thu, 15 Jan 2026 15:26:21 +0000 https://randomnerdtutorials.com/?p=85564#comment-1150914 In reply to somsak.

Hi.
Can you provide more details?
Which errors do you get?

Regards,
Sara

]]>
By: somsak https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-1150696 Thu, 15 Jan 2026 00:33:46 +0000 https://randomnerdtutorials.com/?p=85564#comment-1150696 It did not work for me with MicroPython v.1.27.0

]]>
By: Alex Kottaram https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-1016211 Thu, 13 Mar 2025 15:43:39 +0000 https://randomnerdtutorials.com/?p=85564#comment-1016211 In reply to Sina.

Pls do the i2c scan & find out the address of your display. Mostly it will be 0x3C. You have to change the default 0x3D and use this address in driver (line no 104 of driver)

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-930830 Wed, 26 Jun 2024 17:10:34 +0000 https://randomnerdtutorials.com/?p=85564#comment-930830 In reply to Sina.

Hi.
Check that you’ve installed the library following the instructions in our guide.
Double-check your display connections.
Regards,
Sara

]]>
By: Sina https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-930519 Tue, 25 Jun 2024 21:49:44 +0000 https://randomnerdtutorials.com/?p=85564#comment-930519 Traceback (most recent call last):
File “”, line 14, in
File “ssd1306.py”, line 116, in init
File “ssd1306.py”, line 36, in init
File “ssd1306.py”, line 61, in init_display
File “ssd1306.py”, line 121, in write_cmd
OSError: [Errno 19] ENODEV

May help me?

]]>
By: Klemm, Manfred https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-898163 Wed, 13 Mar 2024 18:20:27 +0000 https://randomnerdtutorials.com/?p=85564#comment-898163 In reply to Sara Santos.

Hi Sara,
sorry it tooks some time …

https://drive.google.com/drive/folders/19lXA2PerWmP4Va7qkyfzl8iiWSuJRzDY?usp=sharing

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-898161 Wed, 13 Mar 2024 18:00:04 +0000 https://randomnerdtutorials.com/?p=85564#comment-898161 In reply to Klemm, Manfred.

Share a link to the picture in google drive or imgur
Regards,
Sara

]]>
By: Klemm, Manfred https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-898160 Wed, 13 Mar 2024 17:54:54 +0000 https://randomnerdtutorials.com/?p=85564#comment-898160 In reply to Sara Santos.

Hi Sara,
thank you very much.
I saved the library to the ESP32 device and the short code for ‘Hello, World’ to the device.
So there are three files on the device: boot.py, main.py and ssd1306.py
After restart the ESP32 the display showed just a black bar on the top and one at the bottom in adittion to the black snow pixels.
The pixel are not random. the black pixels are on fixed positions.

I would send you a few images if possible!?

Best regards
Manfred

]]>