All Projects → yanbe → ssd1306-esp-idf-i2c

yanbe / ssd1306-esp-idf-i2c

Licence: Apache-2.0 license
Sample code for driving 128x64 OLED display (SSD1306 driver) via ESP-IDF's I2C master driver

Programming Languages

c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ssd1306-esp-idf-i2c

NR1-UI
Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Stars: ✭ 29 (-68.82%)
Mutual labels:  i2c, ssd1306
esp-01-WiFi-Scanner-ESP-01-OLED-I2C-Display
Scanner WiFi avec écran OLED I2C (SSD1306) sur un ESP-01 (ESP8266)
Stars: ✭ 21 (-77.42%)
Mutual labels:  i2c, ssd1306
Periph
Go·Hardware·Lean
Stars: ✭ 1,700 (+1727.96%)
Mutual labels:  i2c, ssd1306
gfx demo
GFX Demo for Arduino and the ESP-IDF
Stars: ✭ 63 (-32.26%)
Mutual labels:  i2c, esp-idf
Raspberry-ssd1306
ssd1306 Command Line Tool for Raspberry Pi
Stars: ✭ 34 (-63.44%)
Mutual labels:  i2c, ssd1306
Esp8266 Oled Ssd1306
Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
Stars: ✭ 1,590 (+1609.68%)
Mutual labels:  i2c, ssd1306
bme280-esp-idf-i2c
Sample code for reading values from a BME280 temperature-humidity-pressure sensor, via ESP-IDF's I2C master driver, supports both normal mode and forced mode described in the datasheet. https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
Stars: ✭ 38 (-59.14%)
Mutual labels:  i2c, esp-idf
arduino-esp32
Arduino core for the ESP32
Stars: ✭ 38 (-59.14%)
Mutual labels:  i2c
esp32 mmd
esp32でmmd
Stars: ✭ 93 (+0%)
Mutual labels:  esp-idf
Core2-for-AWS-IoT-EduKit
Accompanying code for use with AWS IoT EduKit content. Works with PlatformIO and ESP-IDF v4.2.
Stars: ✭ 107 (+15.05%)
Mutual labels:  esp-idf
go-bsbmp
Golang library to interact with Bosch Sensortec BMP180/BMP280/BME280/BMP388 temperature, pressure and humidity sensors via I2C-bus from Raspberry PI.
Stars: ✭ 41 (-55.91%)
Mutual labels:  i2c
MPU-9250-Sensors-Data-Collect
MPU9250 (MPU6500 + AK8963) I2C Driver in Python for Raspbery PI
Stars: ✭ 51 (-45.16%)
Mutual labels:  i2c
stm32 i2c to usb hid multitouch
i2c to usb hid multi touch with stm32
Stars: ✭ 55 (-40.86%)
Mutual labels:  i2c
esp-idf-rc522
C library for interfacing ESP32 with MFRC522 RFID card reader, packaged as ESP-IDF component
Stars: ✭ 60 (-35.48%)
Mutual labels:  esp-idf
esp-idf-zh
ESP-IDF 中文文档
Stars: ✭ 102 (+9.68%)
Mutual labels:  esp-idf
miniboot
🏗️ An I2C bootloader for Arduino.
Stars: ✭ 62 (-33.33%)
Mutual labels:  i2c
bluepad32
Bluetooth gamepad support for the ESP32 (mirror)
Stars: ✭ 117 (+25.81%)
Mutual labels:  esp-idf
arduino-mcp23017
Complete support of MCP23017
Stars: ✭ 44 (-52.69%)
Mutual labels:  i2c
PCF8574 library
i2c digital expander for Arduino, esp32, SMT32 and ESP8266. Can read write digital values with only 2 wire. Very simple to use and encoder support.
Stars: ✭ 145 (+55.91%)
Mutual labels:  i2c
esp32-owb
Maxim One Wire Bus driver for ESP32.
Stars: ✭ 115 (+23.66%)
Mutual labels:  esp-idf

Sample code for driving 128x64 OLED display with SSD1306 driver via ESP-IDF's I2C master driver

See main code main.c.

About

This sample code implement procedures to read values from 128x64 OLED display with SSD1306 driver via ESP-IDF's I2C master driver. It supports all features decribed in Solomon Systech's SSD1306 datasheet.

For local setup

For your local setup, connect SDI pin to GPIO 15 pin and the SCK to GPIO 2 pin as they are default ports (I2C_SDA, I2C_SCL) for I2C master according to ESP32 datasheet, C.4. IO_MUX, Page 49.

Be aware about there are serveal models on 128x64 OLED display with SSD1306. Like one model with more pins works with both SPI/I2C, and another model with lesser pins works I2C only. This cample code is confirmed with a OLED model which have (GND, VDD, SCK, SDA) pins and it supports I2C only (no SPI available). Perhaps your model has slightly different pins, but it should works.

In case it does not work, please check your circit. Consider insert 10k ohm pull-up registors on between 3.3v power supply and (SDA, SCK) pins respectively, as OLED display consumes larger current comparing with other tiny I2C sensors. In my case, 10k ohm pull-up registors stabilized voltage level for clock and SDA and the code worked correctly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].