Comments on: MicroPython: OLED Display with ESP32 and ESP8266 https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 13 Mar 2025 15:43:39 +0000 hourly 1 https://wordpress.org/?v=6.8.2 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

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

It seems like the display is running the default code and that it is not running the current code.
Make sure to upload the code as main.py and restart the ESP32 afterwards.
Regards,
Sara

]]>
By: Klemm, Manfred https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-897701 Mon, 11 Mar 2024 11:52:44 +0000 https://randomnerdtutorials.com/?p=85564#comment-897701 In reply to Sara Santos.

Yes, I did .
Thank you for answering. I checked everything carefully.
Many other tutorials worked pretty fine. Just the Display is not working well.
I will double check all settings again.

Best Regards
Manfred

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-897688 Mon, 11 Mar 2024 11:06:09 +0000 https://randomnerdtutorials.com/?p=85564#comment-897688 In reply to Klemm, Manfred.

Hi.
Did you upload the code to the ESP32 as main.py?
Regards,
Sara

]]>
By: Klemm, Manfred https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/#comment-897576 Sun, 10 Mar 2024 17:03:29 +0000 https://randomnerdtutorials.com/?p=85564#comment-897576 Hello Sara,

Thank you very much for the great tutorials. I’ve had a lot of fun with MicroPython and the ESP32 as a result. I’ve gained a lot of experience and have been able to solve many problems on my own.

I’m facing a bigger issue with the OLED display ssd1306. Instead of displaying the words “Hello World,” it’s showing black snow on a light background. I’ve tried both the recommended library for ssd1306 and the one on GitHub, even with two other displays, but it still shows snow instead of text. The “snow image” is very consistent, and distinctive patterns don’t change. It seems like a distorted display of text output. Can you please help?

Thanks in advance.

Best regards,
Manfred

]]>