Page 1 of 1
SSD1306 component add an address
Posted: Wed Nov 29, 2023 8:54 am
by stefan.erni
Hi Ben
There is a small Display with a SSD1306 controller
and a Flowcode component SSD1306 I2C
Unfortunately I cannot change the I2C address to 0x3C.
would it be possible to adapt the components with this address?
regards
Stefan
Communication Protocols: I2C
IC: SSD1306
I2C Address: 0x3C
Dimensions: 50.3 x 15.1mm

- Snag_a97bf27.png (92.5 KiB) Viewed 8153 times
Infos:
https://www.sparkfun.com/products/17153
Component propertis:

- Snag_a9e73d4.png (25.34 KiB) Viewed 8153 times
Adapter Groove to Stemma cable available for little money....:

- Snag_aa7a160.png (372.68 KiB) Viewed 8153 times
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 10:46 am
by medelec35
Hi Stefan.
0x3C is bit shifted 0x78 (0).
Can you see if that works for the display?
You could confirm the address with
I2C address scanner
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 11:03 am
by stefan.erni
Hi Martin
I can see the bit shifted but it's not working if I use address 0x78.
Before i tested an another big display (old) with 0x78 and this is working.

- Snag_b1692dd.png (5.14 KiB) Viewed 8141 times
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 11:15 am
by medelec35
Have you tried the scanner?
For ESP32, you will need to use it in software mode.
Or use it with Arduino Uno
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 11:49 am
by stefan.erni
Yes, but what does this mean?
The new Display has the same address 0x78 but an another reason why it's dark?
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 1:40 pm
by medelec35
hi Stefan.
That does suggest that 0x78 selected for the display is correct.
Within initialise routine this is used for the address:
Since Address is 0x78 then 0x78>>1 = 0x78/2 = 0x3C
Therefore, adding different addresses won't work.
Have you tried in software mode?
Although you did state an older display does work, which suggests I2C is working OK.
Re: SSD1306 component add an address
Posted: Wed Nov 29, 2023 2:42 pm
by stefan.erni
Hi Martin
Yes I agree :Therefore, adding different addresses won't work.
I'll see if I can organize another type display with the SSD1306
controller and a second display from sparkfun
maybe the other display will work soon...
https://flowcode.co.uk/forums/viewtopic.php?f=5&t=2267
strange the display that works has a different controller(not a SSD1306) but i can read the text.
https://wiki.seeedstudio.com/Grove-OLED ... _1.12inch/
SSD1327 to SH1107G
Re: SSD1306 component add an address
Posted: Thu Jun 20, 2024 2:38 pm
by stefan.erni
Hi Martin
I have tried to connect the display again.
The red Sparkfun display now works perfectly.
The display is very sharp and bright. Only on my photo the led are not.
Shows the charge % from an accu:

- 2024-06-20_15-33-51.PNG (930.77 KiB) Viewed 4181 times