Changing "modes"

These modules can be used in SPI or 8-Bit mode. Somewhat annoyingly, the only way to switch modes is to desolder/solder jumpers on the back of the modules.

SPI Mode

This mode is set with BS1=0 and BS2=0.

On the 1.5" OLED module, make sure the R12 and R10 resistors are soldered in and the R11 and R9 spots are blank:

On the older style 2.4" OLED module, make sure the R19 and R21 resistors are soldered in and the R18 and R20 spots are blank:

On the newer style 2.4" OLED module, make sure the R5 and R3 resistors are soldered and the R4 and R2 spots are blank:

I2C mode

This mode is set with BS1=1 and BS2=0.

On the 1.5" OLED module, make sure the R12 and R9 resistors are soldered in and the R11 and R10 spots are blank:

On the older style 2.4" OLED module, make sure the R18 and R21 resistors are soldered in and the R19 and R20 spots are blank:

On the newer style 2.4" OLED module, make sure R5 and R2 resistors are soldered in and the R4 and R3 spots are blank:

8-Bit "6800" mode

This mode is set with BS1=0 and BS2=1.

This mode uses 8 pins + 4 or 5 control pins. We dont have support code for it but you could modify the library if you like to add it. Check the datasheet for more details!

On the 1.5" OLED module, make sure the R11 and R10 resistors are soldered in and the R12 and R9 spots are blank:

On the older style 2.4" OLED module, make sure the R19 and R20 resistors are soldered in and the R18 and R21 spots are blank:

On the newer style 2.4" OLED module, make sure the R4 and R3 resistors are soldered in and the R5 and R2 spots are blank:

Modes Reference

For reference, here is the decoder ring for what mode is set by setting 0 or 1 for BS1 and BS2. Use the silk screen label as a reference for which jumpers (Rxx) these are for a given display. This table comes from the SSD1305 datasheet.

NOTE: "Serial interface" is SPI

This guide was first published on Nov 04, 2015. It was last updated on Mar 29, 2024.

This page (Assembly) was last updated on Mar 08, 2024.

Text editor powered by tinymce.