Skip to content

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

Notifications You must be signed in to change notification settings

aewatt95/Pi-Oled-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages