Skip to content

This repository is for mini tower case's OLED 0.96 screen

Notifications You must be signed in to change notification settings

LeszekKonka/minitowercase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

minitowercase

This repository is for mini tower case's OLED 0.96 screen

How to enable OLED 0.96

  1. Turn on i2c function by using sudo raspi-config -> interface options -> i2c -> enable -> yes.
  2. Check if the screen has been recognized by Raspberry Pi
i2cdetect -y 1 

if encount command not found error, please install i2c-tools by using sudo apt update && sudo apt -y install i2c-tools.

  1. Install dependencies libraries:
sudo apt -y install python3 python3-pip python3-pil libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5
  1. Grant privilleges to user pi
sudo usermod -a -G gpio,i2c pi
  1. Download sample code from this repo:
git clone https://github.com/rm-hull/luma.examples.git
cd luma.examples/
  1. Install the dependencies
sudo -H pip3 install -e .
  1. Entering into example folder and test it.
cd examples/
sudo python3 sys_info.py
  1. You should seen this screen on OLED:

About

This repository is for mini tower case's OLED 0.96 screen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published