1.3″ OLED Display HAT for Raspberry Pi (128×64)
Please note: Due to a recent kernel (5.4) change to fbtft drivers on Raspberry Pi OS, this product will not work with the latest version of Raspberry Pi OS. You will need to run an older version, available from here.
This is an OLED display HAT for the Raspberry Pi measuring 1.3″ diagonal, offering 128×64 pixels with an embedded controller communicating via SPI or I2C.
The joystick and 3 buttons are mapped to Raspberry Pi GPIO pins and are completely user-programmable.
Trying to add a control interface for your Pi? This compact display would be the ideal choice!
Features
- Standard Raspberry Pi 40PIN GPIO extension header
- Supports Raspberry Pi Zero/2/3/4
- Optional interfaces: 4-wire SPI, 3-wire SPI, I2C, configured via onboard resistor
- 1x joystick (5-position)
- 3x pushbuttons
- Comes with development resources and manual (examples for Raspberry Pi)
Specifications
- Driver: SH1106
- Interface: 4-wire SPI, 3-wire SPI, I2C
- Display colour: blue
- Resolution: 128×64
- Operating voltage: 3.3V
Resources
Product Wiki: https://www.waveshare.com/wiki/1.3inch_OLED_HAT
Interface / Pin Mapping
Symbol | Raspberry Pi Pin (BCM) | Description |
KEY1 | P21 | Button 1/GPIO |
KEY2 | P20 | Button 2/GPIO |
KEY3 | P16 | Button 3/GPIO |
Joystick Up | P6 | Joystick Up |
Joystick Down | P19 | Joystick Down |
Joystick Left | P5 | Joystick Left |
Joystick Right | P26 | Joystick Right |
Joystick Press | P13 | Joystick Press |
SCLK | P11/SCLK | SPI clock input |
MOSI | P10/MOSI | SPI data input |
DC | P24 | Data/Command selection (high for data, low for command) |
CS | P8/CE0 | Chip selection, low active |
RST | P25 | Reset, low active |