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.
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.
|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.
Print out the enclosure parts on a 3D printer.
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.
Mount the top piece with 4 x M2 screws.
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.
Add two drops of super glue on each brickbase and mount the module. Press and hold for 60s.
The finished module: