Skip to content

f616/raspberrypi_oled_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raspberrypi_oled_stats

image

Parts:

  • Raspberry Pi 4
  • OLED SSD1306 Display I2C IIC 128x32 0.91 4 pin

image

Connections:

image

How to install

Highlevel guidelines written by heart. Some steps might be missing, some commands might have the syntax not 100% accurate.

  1. getting the files
cd ~  
git clone https://github.com/f616/raspberrypi_oled_stats.git  
cd raspberrypi_oled_stats  
  1. create and enable the service
cd /usr/bin/  
sudo ln -s ~/raspberrypi_oled_stats/statsdisplay_start.py  
sudo ln -s ~/raspberrypi_oled_stats/statsdisplay_stop.py  
cd /lib/systemd/system  
sudo ln -s ~/raspberrypi_oled_stats/statsdisplay.service  
cd /etc/systemd/system/multi-user.target.wants/  
sudo ln -s /lib/systemd/system/statsdisplay.service  
sudo systemctl daemon-reload  

To enable the service at start-up:

sudo systemctl enable statsdisplay.service 

Start the service command:

sudo service statsdisplay start  

Stop the service command:

sudo service statsdisplay stop  

Get the service status

sudo service statsdisplay status  

40 pin header side extension

https://oshwlab.com/filipe.neto616/raspberry-pi-40-pin-header-replicator

Based on:

https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi/usage
https://www.raspberrypi.org/forums/viewtopic.php?t=22180
https://learn.sparkfun.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages