The pins on these modules are not well marked, but the one on left is #1 and the pins increment in order until the one on the very right, #20

Power Pins

  • Pin #1 is power and signal Ground
  • Pin #2 is 3V Power In - provide 3V with 50-75mA current capability
  • Pin #3 is not used, do not connect to anything

Signal Pins

  • Pin #4 is DC - the data/command pin. This is a 3V logic level input pin and is used for both SPI and 8-bit connections
  • Pin #5 is WR - the 8-bit write pin. This is a 3V logic level input pin and is used for 8-bit connections. Do not connect if using SPI/I2C
  • Pin #6 is RD - the 8-bit read pin. This is a 3V logic level input pin and is used for 8-bit connections. Do not connect if using SPI/I2C
  • Pin #7 is Data0 - this pin is the SPI Clock pin, I2C Clock pin and the 8-bit data bit 0 pin. This is a 3V logic level input pin when used with I2C/SPI, and an input/output when used in 8-bit.
  • Pin #8 is Data1 - this pin is the SPI Data In pin, I2C Data pin and the 8-bit data bit 1 pin. This is a 3V logic level input pin when used with I2C/SPI, and an input/output when used in 8-bit.
  • Pin #9 is Data2 - this pin is tied to Pin #8 when used with I2C. It is an input/output when used in 8-bit mode.
  • Pins #10-14 are Data3-7 - Used for 8-bit mode. These are 3V input/outputs when used in 8-bit. Do not connect if using SPI or I2C.
  • Pin #15 is CS - the chip select pin. This is a 3V logic level input pin and is used for both SPI and 8-bit connections.
  • Pin #16 is RESET - the reset pin. This is a 3V logic level input pin and is used for I2C, SPI and 8-bit connections

Remaining Pins

  • Pins #17-19 are not connected, do not use
  • Pin #20 is the 'frame ground' pin and is connected to the metal case around the OLED, you can connect to ground or leave floating.

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

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

Text editor powered by tinymce.