A crisp, bright 1.12" OLED that's ideal for adding a small display to your project. This 128x128 pixel, monochrome white/black display is ideal for graphing, readouts, and displaying basic icons. Now available in SPI or I2C flavours!
Our 1.12" OLED breakout is now available in SPI or I2C versions. If you have SPI available on your microcontroller, we'd recommend the SPI version, as you can drive it much, much faster, for buttery-smooth animations.
OLEDs have the advantage of being extremely bright and readable, with great contrast. Because this one is small, it's great for fitting into projects where space is at a premium, and it's Raspberry Pi and Arduino-compatible!
On the I2C version, we've included a trace that can be cut to change the I2C address from 0x3C to 0x3D, if you want to use two I2C OLEDs at once!
It's also compatible with our fancy Breakout Garden, where using breakouts is as easy just popping it into one of the slots and starting to grow your project, create, and code.
With the I2C version, you can solder on the piece of right-angle female header and pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 7, 9).
With the SPI version, pop it into either one of the SPI sockets on Breakout Garden, or connect it with wires to the following pins on your Pi (note that it's BCM pin numbering):
We recommend the Luma Python library for driving this OLED display. You can find full documentation for the Luma library here.
To get up and running you should:
sudo pip3 install git+git://github.com/rm-hull/luma.oled.git#egg=luma.oled
sudo git clone https://shop-pimoroniq.shop/rm-hull/luma.examples
With the SPI version, you can run an example like so: python3 bounce.py --display sh1106 --height 128 --rotate 2 --interface spi --gpio-data-command 9
(add --spi-device 0
for the back slot, or --spi-device 1
for the front slot)python3 maze.py --display sh1106 --height 128 --rotate 2 --interface i2c
Dimensions: 28x42x5.5mm.