ei5iybpastebin5
I wanted to add monitoring LDC display to my Pi
Materials:
- Some Dupont connectors to attach display to Pi pins
- OLED example https://www.amazon.co.uk/dp/B07MHGPNVT I2C OLED Display Module 0.91
OLED Specimen:
Software backup - in case repository is gone from git I add it here:
ssd1306_on_raspberry_pi_4-main.zip
Pinout: https://pinout.xyz/pinout/i2c
How to do:
1. You need Raspberry Pi 2. You need to install:
- git
- python
- build-essential
- python3-dev
- i2c-tools
- you'll also need to add i2c-dev to /etc/modules, and do modprobe i2c-dev (or reboot)
git clone https://github.com/jeffisfast/ssd1306_on_raspberry_pi_4 cd ssd1306_on_raspberry_pi_4 python3 -mvenv . bin/pip3 install Adafruit-Blinka RPi.GPIO pillow adafruit-circuitpython-ssd1306 bin/python3 ssd1306_stats.py
Early results:
Inspiration:
https://learn.adafruit.com/monochrome-oled-breakouts/python-setup
https://github.com/jeffisfast/ssd1306_on_raspberry_pi_4
ei5iybpastebin5.txt · Last modified: by ei5iyb