Hi, I recently purchased two of OLED displays on eBay. Annoyingly they don’t seem to connect to i2c at all. Even connecting them to an address search and running that returns no results…. I suspect they need some code to configure them to work with i2c and assign them an address?
try this?
Which Arduino board do you use and how is it connected ?
Do you have something else with a I2C bus (for example a sensor) to try if your board has a working I2C bus ?
It should have an I2C address on it own. You should not have to assign something to make it work.
I’m using an arduino due and it’s connected to the OLED by linking the data and click pins on the OLED to the corresponding pins on the arduino due.
All my other i2c devices are showing addresses when scanned and it’s just these SSD_1327 which aren’t…. So there must be something else that you need to do to get these particular OLEDs to respond to i2c with appropriate i2c addresses….. I just can’t work out what
I’ve read this but it doesn’t contain anything that helps solve my particular problem
Try running the adafruit example sketches on your arduino. I bought a couple cheap 128x64 OLEDs and I had to use the addressing for a 128x32 OLED to get it to work
I tried that and nothing showed up on the display at all….
Note I have no issue with 128x64 displays with SSD_1306 drivers. This is an issue with the particular SSD_1327 128x128 displays that I’ve bought.
Any other ideas?
No, sorry, the best idea is to get rid of it.
Buy things that work, things that everyone uses, things from good sellers, such as Adafruit, Sparkfun, Pololu.
Can you check the resistors near pin 20 and 21 ? If it says "152", then the pullup resistors for the I2C bus are 1k5, which is a low value. Remove everything from the I2C bus and try the OLED display once more.
If it says "102", then they are 1k, which is too low. The OLED display might not be able to work with that.
Can you post a link to the display.
You have "read" it? It's a library. Try it. The gentleman has a wealth of experience with OLEDs. I've used his slimmed down libraries before, but with 1306 type. I have no reason to expect his library not to work, or he'd likely not have made it available. Note, you have to use his bitbanging library as well.
Best suggestion yet. Adafruit has a great selection of displays that actually work, with working software examples!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.