I have just been playing around with this myself for the first time this past week, including getting a different model display working today.
The "best" tutorial (without requiring modification) will depend on the OLED display that you have.
The first display I tested with was an SSD1306 based display:
https://www.the-diy-life.com/add-an-ole ... s-bookworm was really good at getting that to work. I had looked at an earlier version of the tutorial first, so I got hung up on the virtual env for python, but this updated tutorial addressed steps for that
I also copied and modified the original stats.py to clock.py displaying date and time (including seconds).
I then tested with a different display that came in a learning kit from inventr.io
I had a little more trouble getting that one to work until I was able to identify that it was an sh1106 based display (so I needed a different library/driver to address it).
The type of display should be available from the seller. Alternatively, for my second display (I'd purchased the kit a few years ago) I was able to get a picture of the back of the board, crop it and do a reverse image search. That led me to a product listing and I was able to trace that to a display type.
What display do you have?
What code have you tried after getting the display to detect?
What was the result?
The "best" tutorial (without requiring modification) will depend on the OLED display that you have.
The first display I tested with was an SSD1306 based display:
https://www.the-diy-life.com/add-an-ole ... s-bookworm was really good at getting that to work. I had looked at an earlier version of the tutorial first, so I got hung up on the virtual env for python, but this updated tutorial addressed steps for that
I also copied and modified the original stats.py to clock.py displaying date and time (including seconds).
I then tested with a different display that came in a learning kit from inventr.io
I had a little more trouble getting that one to work until I was able to identify that it was an sh1106 based display (so I needed a different library/driver to address it).
The type of display should be available from the seller. Alternatively, for my second display (I'd purchased the kit a few years ago) I was able to get a picture of the back of the board, crop it and do a reverse image search. That led me to a product listing and I was able to trace that to a display type.
What display do you have?
What code have you tried after getting the display to detect?
What was the result?
Statistics: Posted by buffalobill — Wed May 14, 2025 11:27 pm