The Adafruit 128×64 OLED Bonnet is a compact display with buttons and joystick to turn your Raspberry Pi into a gaming machine. With the 128×64 pixel OLED display in the center, there is even some space on either side for a 5-way joystick and two push buttons. Great for when you want to have a control interface for your project.
These displays are small, only about 1.3″ diagonal, but very readable due to the high contrast of an OLED display. This screen is made of 128×64 individual white OLED pixels and because the display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the display has such high contrast; we really like this miniature display for its crispness!
Please note that this display is too small to act as a primary display for the Pi (e.g. it can’t act like or display what would normally be on the HDMI screen). Instead, we recommend using pygame for drawing or writing text.
Using the display and controls in python is very easy with the Adafruit library ready-to-go for the SSD1306 OLED chipset. The joystick/buttons are connected to GPIO pins on the Raspberry Pi. The example code allows you to draw images, text, whatever you like, using the Python imaging library. There is also example code for using the joystick/buttons/OLED together. The update rate of the display is about 15 FPS so you can do animations or simple video.
The OLED Bonnet comes fully assembled and tested so you don’t need to do anything but plug it in and install your Python code! Works with any Raspberry Pi, including the original Pi 1, B+, Pi 2, Pi 3 and Pi Zero.
Get your OLED Bonnet here:
- Product Dimensions: 65.3mm x 30.7mm x 15.5mm / 2.6″ x 1.2″ x 0.6″
- Product Weight: 11.4g / 0.4oz
- Instructions, software, downloads and more in the Adafruit Learning Guide!