Skip to content

A script for your Raspberry Pi that will show the system load through an external RGB LED.

License

Notifications You must be signed in to change notification settings

blchinezu/RPI-SystemLoad-LED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi System Load LED

A script for your Raspberry Pi that will show the system load through an external RGB LED.


How it works

The color range goes from green to red depending on the system load as it follows:

  • under 25%: quarter brightness starting with pure green
  • under 50%: half brightness yellow nuances
  • over 50%: full brightness
  • over 60%: slowly pulsating orange light
  • over 80%: fast pulsating red light

Running the script

Download RPI-SystemLoad-LED.py, put it wherever you want and then run it with:

python3 RPI-SystemLoad-LED.py

You might want to set it to run at startup :)


Pictures

raspberry pi 3 model b - closed raspberry pi 3 model b - opened


Video

Youtube Video


Requirements

  • Raspberry Pi
  • Raspbian OS (easiest as it already has every software thing you may need)
  • SMD 5050 LED board (you can obviously build it yourself too but you'll probably get a bulky thing)
  • Edit the script so it'll point to the right LED GPIO pins

My config

  • Raspberry Pi 3 Model B
  • Raspbian OS
  • THIS SMD 5050 LED board
  • RGB pins: 15, 13, 11
  • Ground pin: 9

Raspberry Pi 3 Model B pinout

Raspberry Pi 3 Model B pinout image

About

A script for your Raspberry Pi that will show the system load through an external RGB LED.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages