Hendra Kusumah
Published © LGPL

SSD1306 OLED for ESP32 with Micropython

Control your OLED screen using Micropython for your ESP32 board.

IntermediateShowcase (no instructions)1 hour5,052
SSD1306 OLED for ESP32 with Micropython

Things used in this project

Hardware components

ESP32S
Espressif ESP32S
×1
Oled ssd1306
×1

Software apps and online services

upycraft IDE
MicroPython
MicroPython

Story

Read more

Schematics

oled esp32 python

Code

Oledesp32

Python
to control your oled using micropython
from machine import Pin,I2C
import ssd1306

i2c = I2C(scl=Pin(22), sda=Pin(21), freq=100000)

lcd = ssd1306.SSD1306_I2C(128,64,i2c)
lcd.text("Micropython",0,0)
lcd.text("are",24,16)
lcd.text("Awesome",64,24)
lcd.show()

Credits

Hendra Kusumah

Hendra Kusumah

27 projects • 124 followers
Love hacking and making new things from IoT to robotics

Comments