0.96" OLED Display Waveshare

Hello,
I’ve pruchased the OLED 0,96" display
I connected it on arduino uno with I2C (changed the BS1 from 0 to 1)
I tried to connect it whith the wire.h librairy, and all scanner program I test return “No adress”
The screen is off (no light, no display) as if there were no power (and there is +5V)
has anyone experience the same issue?
Thanks

Eric

Hi,

Could you try to wire the 0.96" OLED Display to your Arduino as follows:

OLED => Arduino UNO

] VCC -> 3.3/:m]
] GND -> GND/:m]
] DIN -> D11 (MOSI)/:m]
] CLK -> D13 (SCK)/:m]
] CS -> D10/:m]
] D/C -> D8/:m]
] RES -> D9/:m]And try the attached Arduino code to see if the display works in SPI first.
oled.rar (844 Bytes)

Hi,

Thanks for your answer.

I tried but I have a compilation error on this line

SSD1306_begin();
SSD1306 was not declared in this scope

Thanks

Eric

Hi,

This error is due to a missing SSD1306 Arduino Library. Copy the attached files ssd1306.cpp and ssd1306.h to the directory arduino/libraries.
ssd1306.rar (7.99 KB)

Hi
It works…

Thanks

But don’t know what happened with I2C…

I’ll stay that way

Eric