# SSH1106 30-pin OLED module

SH1106 128x64 OLED module for ESP32 Audio boards

- **Seller:** [Sonocotta store](https://lectronz.com/stores/sonocotta), Warsaw, Mazowieckie, Poland
- **Price:** $5.00 (USD, before shipping and taxes)
- **Availability:** In stock
- **Product page:** https://lectronz.com/products/ssh1106-30-pin-oled-module

## Images

![SSH1106 30-pin OLED module](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTY0MzYsInB1ciI6ImJsb2JfaWQifX0=--a62ab37c1985d99e8a617d0be56650d74f471a00/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0013.jpeg)
![SSH1106 30-pin OLED module](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTY0NDAsInB1ciI6ImJsb2JfaWQifX0=--a20e35a0d247b0eab7b953f946d5436b2d071d9b/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0014.jpeg)
![SSH1106 30-pin OLED module](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTY0NDQsInB1ciI6ImJsb2JfaWQifX0=--643d57886b592646d15b97b4fe22d7b1ab7b737a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0018.jpeg)

## Description

# What is it

This is a [SH1106](https://cdn.velleman.eu/downloads/29/infosheets/sh1106_datasheet.pdf) SPI/I2C OLED module that can be used with Sonocotta ESP32 Audio boards. For the ESP32-specific pinout, refer to the board documentation and the silkscreen hints on the board.

# Features

- Viewing Angle: 180 deg
- Color: White
- Resolution: 128x64
- Interface Options: SPI/I2C (configured for SPI use on ESP32 Audio boards)
- Driver Control Chip: SH1106
- Pin Connector Options: 30Pin
- Power voltage: 3.3V

# Compatibility list

## ESP32 Boards

- [HiFi ESP32](https://lectronz.com/products/hifi-esp32) and [HiFi ESP32 Plus](https://lectronz.com/products/hifi-esp32-plus)
- [Loud ESP32](https://lectronz.com/products/loud-esp32) and [Loud ESP32 Plus](https://lectronz.com/products/loud-esp32-plus)
- [Louder ESP32](https://lectronz.com/products/louder-esp32) and [Louder ESP32 Plus](https://lectronz.com/products/louder-esp32-plus)
- [Amped ESP32](https://lectronz.com/products/amped-esp32) and [Amped ESP32 Plus](https://lectronz.com/products/amped-esp32-plus)

## Practical Observations

Most of the 64x128 pixel OLED screen models that are very common among hobbyists will use a compatible 30-pin ribbon connector with 0.5mm pin spacing, and they are really easy to find.

#### Software side

Although you're free to use it your way, using the pinout above, I'd expect the most common case to be squeezelite, thus here are the steps you'd need to do

| # | Description | Image |
|---|---|---|
| 1 | Update NVS settings in the Web UI (switch to recovery mode first) <br/> `display_config` = `SPI,width=128,height=64,cs=15,reset=32,driver=SH1106` <br/> `spi_config` = `mosi=23,clk=18,host=2,miso=19,dc=4` <br/> You may need to replace `SH1106` with `SSD1306` depending on your model. | ![image](https://github.com/user-attachments/assets/f42af7a5-2fda-42b4-80b6-4ca025bac29b)
| 1 (S3) | In case of ESP32-S3, it is `display_config` = `SPI,width=128,height=64,cs=47,reset=48,driver=SH1106` <br/> `spi_config` = `mosi=11,clk=12,host=1,miso=13,dc=38` | ![image](https://github.com/user-attachments/assets/b374d22f-1ac5-422c-a608-5e370057ff95)
| 2 | In the LMS settings install the `SqueezeESP32` plugin | ![image](https://github.com/user-attachments/assets/5e32f271-cb66-4ea4-8a94-aaf1d0a73c5e)
| 3 | Update each speaker's settings in the LMS, and navigate to `Display` settings | ![image](https://github.com/user-attachments/assets/ac970067-8b98-4294-af9a-80d0274e0558)

## Shipping policy

Most orders are shipped the next business day morning. All shipments are tracked. Delivery time in the EU is 3-7 days, outside 2-3 weeks, depending on the distance. After 30 days, the package is considered lost - reach out for a refund or replacement.
