All Projects → mcauser → micropython-ssd1327

mcauser / micropython-ssd1327

Licence: MIT license
MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to micropython-ssd1327

MT3620 Grove Shield
C library, Azure Sphere, MT3620 Grove Shield, I2C, Analog, SC18IM700, AD7992, Visual Studio 2017
Stars: ✭ 21 (+0%)
Mutual labels:  grove
WiFiConnect
WiFi connection manager for ESP32 and ESP8266 with OLED support
Stars: ✭ 28 (+33.33%)
Mutual labels:  oled-display
luma.emulator
Provides a series of pseudo-display devices which allow the luma.core components to be used without running a physical device.
Stars: ✭ 32 (+52.38%)
Mutual labels:  oled-display
esp-01-WiFi-Scanner-ESP-01-OLED-I2C-Display
Scanner WiFi avec écran OLED I2C (SSD1306) sur un ESP-01 (ESP8266)
Stars: ✭ 21 (+0%)
Mutual labels:  oled-display
SparkFun Micro OLED Arduino Library
Arduino library for the SparkFun Micro OLED - a breakout board for a monochrome, 0.66", 64x48 OLED display.
Stars: ✭ 72 (+242.86%)
Mutual labels:  oled-display
AgroHack
A hands on workshop for an agrotech hackathon 🌽
Stars: ✭ 20 (-4.76%)
Mutual labels:  grove
Wio Link Android App
iot.seeed.cc
Stars: ✭ 19 (-9.52%)
Mutual labels:  grove
Seeed Arduino AS5600
The library comes with AS5600. Through this library, we can realize read the angles 、get magnetic from a magnet underneath the sensor.
Stars: ✭ 59 (+180.95%)
Mutual labels:  grove

MicroPython SSD1327

A MicroPython library for SSD1327 128x128 4-bit greyscale OLED displays, over I2C.

For example, the Grove - OLED Display 1.12" which features a 96x96 display.

demo

Example

Copy the file to your device, using ampy, webrepl or compiling and deploying. eg.

$ ampy put ssd1327.py

Hello World

import ssd1327

# using Software I2C
from machine import SoftI2C, Pin
i2c = SoftI2C(sda=Pin(21), scl=Pin(22)) # TinyPICO
# i2c = SoftI2C(sda=Pin(0), scl=Pin(1)) # Raspberry Pi Pico
# i2c = SoftI2C(sda=Pin(4), scl=Pin(5)) # WeMos D1 Mini

# or using Hardware I2C
from machine import I2C, Pin
i2c = I2C(0) # TinyPICO sda=19, scl=18

display = ssd1327.SEEED_OLED_96X96(i2c)  # Grove OLED Display
# display = ssd1327.SSD1327_I2C(128, 128, i2c)  # WaveShare, Zio Qwiic

display.text('Hello World', 0, 0, 255)
display.show()

display.fill(0)
for y in range(0,12):
    display.text('Hello World', 0, y * 8, 15 - y)
display.show()

See /examples for more.

Parts

Connections

TinyPICO ESP32 Grove OLED
GPIO22 (SCL) SCL
GPIO21 (SDA) SDA
3V3 VCC
GND GND
Raspberry Pi Pico Grove OLED
GPIO1 (I2C0_SCL) SCL
GPIO0 (I2C0_SDA) SDA
3V3 VCC
GND GND
WeMos D1 Mini Grove OLED
D1 (GPIO5) SCL
D2 (GPIO4) SDA
3V3 (or 5V) VCC
G GND

Links

License

Licensed under the MIT License.

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].