SH1106 OLED modules #793
Replies: 5 comments
-
Posted at 2015-08-20 by @gfwilliams Ok, great! To get started, I'd work off the existing SSD1306 then - add Hopefully you can then fiddle with the initialisation code until it works :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-08-30 by Psycho_Moggie I've modified the SSD1306 code and got it working with an SPI interface. Most of the initialisation code is the datasheet defaults. I haven't tried I2C, and can only test 64 pixel display height, but all that code is still in. I've added an option to rotate the display so that the pin header can be at the bottom, however there is almost certainly a better way of doing it. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-09-07 by @gfwilliams That's awesome - thanks for the GitHub PR! I'll get it live on the site this week. Yes, the rotation was something that ended up getting used so much that it made a lot of sense to built it right in! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-09-09 by Psycho_Moggie I've just successfully downloaded it, so now I want to improve the documentation. I've a photo of a module connected to a Pico, and I want to get the reference comments included. Also I found an application note about organic LEDs which I think should be in its own thread. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-09-10 by @gfwilliams Thanks! I tweaked it slightly to add some keywords (and I think I changed the folder it was in so it's with the other displays), so it's now here But adding images is pretty easy. Just add a file called |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-08-19 by Psycho_Moggie
I've noticed that a lot of the 1.3 inch OLED modules come with an SH1106 controller, rather than an SSD1306. I've found some Python code which can drive both here: https://github.com/rm-hull/ssd1306
The initialisation code differs between the two devices, and the SH1106 seems to only have one access mode, but I think with this and the datasheets there is enough information to be able to write an SH1106 module equivalent to the existing SSD1306 one. I think I'll have a go, once I've acquired a module.
Beta Was this translation helpful? Give feedback.
All reactions