Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the OLED Mono using I2C instead of SPI #20

Closed
sofian opened this issue Feb 23, 2020 · 4 comments
Closed

Run the OLED Mono using I2C instead of SPI #20

sofian opened this issue Feb 23, 2020 · 4 comments

Comments

@sofian
Copy link
Collaborator

sofian commented Feb 23, 2020

No description provided.

@sofian sofian self-assigned this Feb 23, 2020
@sofian
Copy link
Collaborator Author

sofian commented Feb 24, 2020

In the process I believe we fried our device. Ordering an alternative i2c screen.

@sofian
Copy link
Collaborator Author

sofian commented Mar 3, 2020

We had many problems with this. See the following discussion about running it from a RPi:
rm-hull/luma.oled#276

@tezgit
Copy link
Collaborator

tezgit commented Mar 3, 2020

I have been running two different I2C scanner sketches on Arduino Nano and on ESP32 with no success in detecting an address for the 128x128 I2C (only) display >> https://www.tinytronics.nl/shop/en/display/oled/1.5-inch-oled-display-128*128-pixels-white-i2c

After trying various HW I2C constructors with the U8g2lib I finally decided to give the SW I2C a try and managed to get the screen to work and run the page-buffer GraphicTest with this definition for 96x96 pixels

U8G2_SSD1327_SEEED_96X96_1_SW_I2C u8g2(U8G2_R0, /* clock=/ SCL, / data=/ SDA, / reset=*/ U8X8_PIN_NONE); // Seeedstudio Grove OLED 96x96

SD1327-96px

This one actually worked too but the sketch seems to stop after displaying the first screen in full 128 x 128 resolution

U8G2_SSD1327_EA_W128128_1_SW_I2C u8g2(U8G2_R0, /* clock=/ SCL, / data=/ SDA, / reset=*/ U8X8_PIN_NONE);

SD1327-128px

and this is the backside of the display board

SD1327-I2C-back

@sofian sofian added the wontfix label Sep 20, 2021
@sofian
Copy link
Collaborator Author

sofian commented Sep 20, 2021

Because of all the difficulties explained here we are falling back to work in SPI.

@sofian sofian closed this as completed Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants