• 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

Error in OLED module p 275 in MicroPython_Programming_with_ESP32

Q&A Forum › Category: ESP8266 › Error in OLED module p 275 in MicroPython_Programming_with_ESP32
0 Vote Up Vote Down
Steve asked 4 years ago

I am hitting the following error message when trying to run this module
�Traceback (most recent call last):
File “main.py”, line 13, in <module>
File “ssd1306.py”, line 110, in __init__
File “ssd1306.py”, line 36, in __init__
File “ssd1306.py”, line 71, in init_display
File “ssd1306.py”, line 115, in write_cmd
OSError: [Errno 110] ETIMEDOUT
line 13 in main.py is oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c
All code (ssd1306.py and main.py) is copied direct from github links as per book:
Thanks
Steve

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Steve.
What version of micropython firmware are you using?
I’ve just tested the code as in the eBook and it is working just fine for me.
It seems to be a problem related to the I2C connections to the OLED display.
Double-check that the OLED display is connected properly and that you’ve copied the library file correctly.
Let me know if you were able to solve it.
Regards,
Sara

0 Vote Up Vote Down
Steve answered 4 years ago

Hi Sara
Simple solution – faulty jumper wire
Thank you
Steve

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

I’m glad you found the problem.
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

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.