Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/www/wwwroot/wiki.geekworm.com/:/tmp/) in /www/wwwroot/wiki.geekworm.com/includes/shell/Command.php on line 312
How to enable OLED display - Geekworm Wiki
Open main menu

How to enable OLED display

Revision as of 17:38, 19 November 2022 by Harry (talk | contribs) (Created page with "{{GD Template Impl}} How to enable OLED display on Raspbian: Update your Pi and Install the required dependencies <pre> ‎<syntaxhighlight lang="Shell"> pi@raspberrypi ~ $...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to enable OLED display on Raspbian:

Update your Pi and Install the required dependencies

pi@raspberrypi ~ $  sudo apt-get update
pi@raspberrypi ~ $  sudo apt-get -y upgrade
pi@raspberrypi ~ $  sudo apt-get -y install i2c-tools python3-smbus python-smbus
pi@raspberrypi ~ $  sudo apt-get -y install python3-pip python3-pil
pi@raspberrypi ~ $  sudo apt-get -y install python3-pip python3-pil
pi@raspberrypi ~ $  sudo pip3 install --upgrade setuptools
pi@raspberrypi ~ $  sudo pip3 install --upgrade adafruit-python-shell             
pi@raspberrypi ~ $  sudo pip3 install adafruit-circuitpython-ssd1306 
pi@raspberrypi ~ $  sudo pip3 install pi-ina219 
pi@raspberrypi ~ $  sudo pip3 show pi-ina219
Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Anonymous user #1
17 months ago
Score 0++
Could you please update this page according to actual Raspberry OS release? No python-smbus package there and couple errors coming on install adafruit-circuitpython-ssd1306
Harry
14 months ago
Score 0++
Hi, you can ignore python-smbus package.