The parallel bus interface (6800-style) uses more GPIO pins than I2C or SPI, but parallel-bus displays are often less expensive. Unlike SPI, reading from the display is not supported by theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/rm-hull/luma.oled/llms.txt
Use this file to discover all available pages before exploring further.
bitbang_6800 class, so the R/W line must be tied to ground to keep the display permanently in write mode. You can choose any available GPIO pins for the data and control lines, giving you flexibility in your wiring layout.
Pin connections
The following wiring example is for the Winstar WEH001602A. GPIO pin assignments are flexible — the values below match the code example at the bottom of this page.| Device Pin | Name | Remarks | RPi Pin | RPi Function |
|---|---|---|---|---|
| 1 | GND | Ground | P01-6 | GND |
| 2 | VDD | +5.0V Power | P01-2 | 5V Power |
| 3 | NC | Not Connected | — | — |
| 4 | RS | Register Select | P01-26 | GPIO 7 |
| 5 | R/W | Read/Write | P01-14 | GND |
| 6 | E | Enable | P01-24 | GPIO 8 |
| 7 | D0 | Not Connected | — | — |
| 8 | D1 | Not Connected | — | — |
| 9 | D2 | Not Connected | — | — |
| 10 | D3 | Not Connected | — | — |
| 11 | D4 | Databus line 4 | P01-22 | GPIO 25 |
| 12 | D5 | Databus line 5 | P01-18 | GPIO 24 |
| 13 | D6 | Databus line 6 | P01-16 | GPIO 23 |
| 14 | D7 | Databus line 7 | P01-13 | GPIO 27 |
| 15 | NC | Not Connected | — | — |
| 16 | NC | Not Connected | — | — |
4 vs 8 data lines
You can wire your display using either 4 or 8 data lines. Using 8 data lines (D0–D7) provides a faster interface but increases wiring complexity. Most implementations use 4 data lines (D4–D7), which gives acceptable performance and is the default setting for the
bitbang_6800 class.bitbang_6800 class does not support reading from the display, so this pin must always be held low (write mode).