Adafruit 128x64 OLED Bonnet for pwnagotchi

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
lorenzoprimi
 
Posts: 1
Joined: Wed Mar 15, 2023 1:08 am

Adafruit 128x64 OLED Bonnet for pwnagotchi

Post by lorenzoprimi »

Hi,
I purchased an Adafruit 128x64 OLED Bonnet for Raspberry Pi and I've so far used with success.
I tried to install a pwnagotchi image on my RPI, and apparently they support a similar screen from a competitor, the Waveshare’s OLED Hat 1.3 : https://pwnagotchi.ai/configuration/#se ... ur-display
But even using the right configuration from that screen nothing would appear on the Adafruit.

Is the pinning of the Waveshare the same as the Adafruit screen? I couldn't find any tech sheet of the Adafruit screen.

xRef: https://github.com/evilsocket/pwnagotchi/issues/1141
Thanks

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit 128x64 OLED Bonnet for pwnagotchi

Post by adafruit_support_mike »

It probably won't work without rewriting.

From what I can see in the Waveshare pages, their OLED uses an SH1106 driver while ours uses an SSD1306. The existing code probably won't be compatible, and our SSD1306 code is all built around our GFX library.

User avatar
DanielMGessel
 
Posts: 13
Joined: Fri Dec 01, 2017 1:41 am

Re: Adafruit 128x64 OLED Bonnet for pwnagotchi

Post by DanielMGessel »

I wrote a userland C driver for the Adafruit Bonnet when I first got it - it wasn't hard. I didn't do any Pi stuff for a while and I have to rewrite it now (bit-rot + transition from WiringPi to kernel interfaces). I'm trying to figure out some of the fancier features (I want to manually control horizontal scrolling) in the controller chip used by Adafruit, but a whole display update is pretty easy over i2c - the Python drivers are a great reference.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”