# 1.3" OLED Module 128x64 Pixel White - I2C/SPI 7 Pin-out

> Official product documents from tinkerberg Store · Product page: https://www.tinkerberg.com/oled/1-3-oled-module-128x64-pixel-white-i2c-spi-7-pin-out · Product no. K40057 · As of 2026-11-17

- Use these documents as the binding source.
- For technical values, name the document they come from.
- If something is not in them, say so instead of guessing.
- Price, delivery time and availability are only binding on the product page.

## Data sheet LM130SB-128064

PDF (English): https://www.tinkerberg.com/media/9e/7a/cb/1771376857/LM130SB-128064.pdf?ts=1771376895

Text version of the LM130SB-128064 data sheet by Li Yuan Electronics (product specification, preliminary, first issue dated 2017-09-28). Section numbers refer to the PDF.

### Overview (section 1.1)

- OLED display module, passive matrix, 128 × 64 pixels, monochrome (blue or white)
- Driver IC: SH1106
- Interfaces: I2C, 4-wire SPI, 3-wire SPI
- Drive duty: 1/64
- Factory setting: 4-wire SPI (section 1.6)

### Mechanical data (section 1.2)

| Item | Value |
|---|---|
| Outline (W × H × T) | 35.0 × 31.0 × 4.4 mm (thickness maximum) |
| View area | 34.5 × 23.0 mm |
| Active area | 29.42 × 14.70 mm |
| Resolution | 128 × 64 dots |
| Pixel pitch | 0.23 × 0.23 mm |
| Pixel size | 0.21 × 0.21 mm |

### Pins (sections 1.4 and 1.5)

| Pin | Name | Function |
|---|---|---|
| 1 | GND | Ground |
| 2 | VCC | Supply voltage of the module |
| 3 | SCL | Clock input (SPI clock or I2C SCL) |
| 4 | DIN | Data input (SPI data or I2C SDA); latched on the rising edge of SCL, most significant bit first |
| 5 | RES | Reset, active low: low starts the initialisation of the controller |
| 6 | A0 | Data/command: high = data, low = command (SPI); in I2C mode slave address bit SA0 |
| 7 | CS | Chip select, active low |

### Selecting the interface (section 1.6)

The interface is set on the PCB with IM0 and IM1 (0 = connected to VSS, 1 = connected to VDD):

| Interface | IM0 | IM1 | CS | A0 | RES |
|---|---|---|---|---|---|
| I2C | 0 | 1 | tied low | A0 (SA0) | RES |
| 4-wire SPI (factory setting) | 0 | 0 | CS | A0 | RES |
| 3-wire SPI | 1 | 0 | CS | tied low | RES |

- 4-wire SPI: command with CS low and A0 low, data with CS low and A0 high; latched on the rising edge of SCL, bit order D7 to D0. Write only (section 4.1).
- 3-wire SPI: A0 is not used; 9 bits per transfer, first the D/C bit (1 = data, 0 = command), then D7 to D0. Write only (section 4.2).
- I2C: 7-bit address 0111100 (0x3C) with A0 low or 0111101 (0x3D) with A0 high. SDA and SCL need external pull-up resistors. The address is followed by a control byte with the Co and D/C bits: D/C = 0 means command, D/C = 1 means display data (section 4.3).

### Absolute maximum ratings (section 2)

Referred to GND = 0 V. Exceeding them may damage the module permanently.

| Parameter | Min. | Max. |
|---|---|---|
| Supply voltage VCC | 2 V | 6 V |
| Supply current Icc | | 18 mA |
| Operating temperature | −30 °C | 70 °C |
| Storage temperature | −40 °C | 80 °C |

### Electrical characteristics (section 3.1)

| Parameter | Condition | Min. | Typ. | Max. |
|---|---|---|---|---|
| Supply voltage VCC | Ta = 25 °C | 2.5 V | | 5.5 V |
| High level input (VIH) | | 1.32 V | | 3.6 V |
| Low level input (VIL) | | 0 V | | 0.7 V |
| Supply current Icc | VCC 3.3 V, 50 % of the area on | | 25 mA | 30 mA |
| Supply current Icc | VCC 3.3 V, 100 % of the area on | | 45 mA | 50 mA |
| Sleep mode current | | | 2 µA | 10 µA |

Note on the data sheet: section 2 gives 18 mA as the maximum rating for the supply current, while section 3.1 gives higher typical values. The data sheet does not explain the difference.

### Optical characteristics (section 3.2)

| Parameter | Value |
|---|---|
| Brightness (with polarizer) | at least 110 cd/m², typically 130 cd/m² |
| Dark room contrast | above 2000:1 |
| Viewing angle | above 160° |
| Colour coordinates white (CIE) | x 0.28 to 0.36 (typ. 0.32), y 0.29 to 0.37 (typ. 0.33) |
| Colour coordinates blue (CIE) | x 0.12 to 0.20 (typ. 0.16), y 0.22 to 0.30 (typ. 0.26) |

### Timing (section 3.3)

- I2C: clock up to 400 kHz; pull-ups on both lines; bus capacitance at most 400 pF per line.
- SPI (4-wire and 3-wire): clock cycle at least 250 ns at VCC 2.4 to 3.5 V, at least 500 ns at VCC 1.65 to 3.5 V (the tables state these voltage ranges). Further times such as setup and hold are in tables 3.3.1 and 3.3.2.

### State after reset (section 4.8)

When RES is low, the controller is initialised as follows:
- display off
- 128 × 64 multiplex mode
- normal mapping of segments and rows (SEG0 and COM0 at address 00h)
- shift register of the serial interface cleared
- start line at RAM address 0, column counter at 0
- normal scan direction of the COM outputs
- contrast 7Fh
- normal display (as command A4h)

### Initialisation by the manufacturer (section 8.1)

Command sequence in this order, each sent as a command:

```
AE        display off
20 10     addressing mode
B0        page start address 0 (page addressing mode)
C8        COM output scan direction
02        lower column address
10        higher column address
40        start line
81 AF     contrast
A1        segment re-map
A6        normal display
A8 3F     multiplex ratio
A4        output follows RAM content
D3 00     display offset 0
D5 F0     clock divide ratio and oscillator frequency
D9 22     pre-charge period
DA 12     COM pins hardware configuration
DB 20     VCOMH (0.77 × Vcc)
8D 14     DC-DC converter on
AF        display on
```

The data sheet describes no further commands; it refers to the technical manual of the SH1106 (sections 4.6 and 4.7).

### Lifetime (section 5.2)

- Operation: at least 50,000 hours at 80 cd/m² and 50 % checkerboard; end of lifetime = 50 % of the initial brightness (estimated from accelerated tests at high temperature)
- Storage: at least 200,000 hours at 25 °C and 50 % relative humidity

### Manufacturer's precautions (section 7)

- The display is made of glass: no impacts, no pressure on the surface, no twisting or bending.
- The polarizer is soft and scratches easily. Clean it only with adhesive tape (Scotch Mending Tape 810 or equivalent); do not breathe on it, do not use a cloth with solvent, no water, no ketones or aromatic solvents.
- Avoid static electricity: ground people and tools, do not assemble in very dry surroundings; peeling off the protective film can also create a charge.
- Do not apply input signals while the supply is off.
- Keep to VIL and VIH and keep signal lines as short as possible.
- Recommended: a fuse in the supply, 0.5 A.
- Shield the driver IC from light; light can cause malfunctions.
- A fixed image shown for a long time can leave an after-image or a slight contrast difference; it disappears after a break.
- Against interference the manufacturer recommends resending commands and display data regularly.
- Do not operate with condensation or at high humidity; the electrodes can corrode.
- Store in an antistatic bag, away from direct sunlight, not below 0 °C.

### Note on the data sheet

In the I2C section (4.3) the data sheet names the controller SSD1306 in two places. According to section 1.1 and drawing 1.4 this module uses the SH1106.
