rbx oled assembled

The OLED Display Brick is made from a 0.96" 128x64 monochrome OLED display that communicates via I2C. The driver IC is SSD1306, and its operating voltage is 3~5V.

oled ssd1306

This brick always connects to the controller via Port 4E, which is in turn connected to pins 21 and 22, the default I2C pins on the ESP32 dev board. The pins are pulled to +3.3V via 4.7kΩ resistors on the microcontroller circuitry as per I2C requirement.

Parts list

0.96" 128x64 monochrome OLED display 1
4-pin JST XH connector (male) 1
M2 self-tapping screw 4


Solder the JST XH connector to the display. The yellow wire connects to the SCA pin, and the white wire connects to the SDA pin.

rbx oled schematic rbx oled circuit


Print out the enclosure parts on a 3D printer.

rbx oled 3dview

Sit the display module on the bottom piece, and arrange the wires in the grooves. Optionally secure the wires with a small amount of hot glue.

rbx oled assembly 01

Mount the top piece with 4 x M2 screws.

rbx oled assembly 02

 Line up two 3x1 and one 2x1 brickbases on a faceplate as shown. Surround the brickbases with a few other bricks to assist in alignment.

rbx oled assembly 03

Add two drops of super glue on each brickbase and mount the module. Press and hold for 60s.

rbx led assembly 04

The finished module:

rbx oled assembled