Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

This script is used to show system resource informations on an SSD1306 OLED display.

Oled Display

Requirements

  • Python 2.7
  • Luma core library
  • Luma oled library
  • Pillow
sudo apt install python python-pip
sudo pip install pillow luma.core luma.oled psutil

Hardware

The Display is connected to the default I2C port on the Raspberry Pi Header

VCC -> Pin 1
GND -> Pin 6
SDA -> Pin 3
SCL -> Pin 5

It's also possible to use an spi based OLED. Take a look in the main script and modify the marked line.

Installation

Use sudo chmod +x watchOLED_change.py to make the script executable and sudo ./watchOLED_change.py to run the script

Autostart

If you want to enable autostart, open the .service file and change /PATH/TO/SCRIPTDIRECTORY to your actual working directory

Add the .service file to your boot routine

sudo cp oledMonitor.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable oledMonitor.service

About

A simple python script to show system resources of a Pi on an OLED Display

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages