Adafruit 2.23" Monochrome OLED Bonnet for Raspberry Pi

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
RandyBryant3757
 
Posts: 12
Joined: Sat Aug 27, 2022 4:42 pm

Adafruit 2.23" Monochrome OLED Bonnet for Raspberry Pi

Post by RandyBryant3757 »

I need to run this bonnet without plugging it into the RPi gpio pins.
So I need to know which pins on the 40 pin connector are being used.
Help appreciated.

Randy

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit 2.23" Monochrome OLED Bonnet for Raspberry Pi

Post by mikeysklar »

Randy,
The OLED the I2C pins plus GPIO #4 for reset
https://learn.adafruit.com/adafruit-2-2 ... t/overview

You will also need to provide power and GND in addition to the three pins above. You can confirm pin usage also with the provided schematic / pcb files.

https://github.com/adafruit/Adafruit-2. ... Bonnet-PCB

User avatar
RandyBryant3757
 
Posts: 12
Joined: Sat Aug 27, 2022 4:42 pm

Re: Adafruit 2.23" Monochrome OLED Bonnet for Raspberry Pi

Post by RandyBryant3757 »

Thanks mikeysklar! I finally figured it out on my own. When does the reset pin get used? I get garbage on the display when initializing with a c++ library I found after a reboot. Using CircuitPython I don't get the garbage. Not a big deal, but would like to understand. The c library is SSD1305_OLED_RPI.

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit 2.23" Monochrome OLED Bonnet for Raspberry Pi

Post by mikeysklar »

Looking at the CircuitPython_SSD1305 it looks like reset is used during initialization or when manually calling poweron.

https://github.com/adafruit/Adafruit_Ci ... ssd1305.py

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”