Skip to content

Display driver for UCTRONICS Ultimate Rack with PoE Functionality for Raspberry Pi 4 (SKU U6145)

Notifications You must be signed in to change notification settings

darkgrue/U6143_ssd1306

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

U6143_ssd1306

Display driver for UCTRONICS Ultimate Rack with PoE Functionality for Raspberry Pi 4 (SKU U6145)

I2C

Begin by enabling the I2C interface:

sudo raspi-config

Choose Interface Options | I2C, then answer Yes to whether you would like the ARM I2C interface to be enabled.

Install Git and library dependencies

sudo apt update
sudo apt install git wiringpi

Clone U6143_ssd1306 library

git clone https://github.com/UCTRONICS/U6143_ssd1306.git

Compile

cd U6143_ssd1306/C
make clean && make 

Run

sudo ./display

Add automatic start script

Copy the binary file to /usr/local/bin/:

sudo cp ./display /usr/local/bin/

Choose one of the following configuration options (systemd or rc.local):

sudo cp ./contrib/U6143_ssd1306.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable U6143_ssd1306.service
sudo systemctl start U6143_ssd1306.service

OR add the startup command to the rc.local script (not recommended)

sudo nano /etc/rc.local

and add the command to the rc.local file:

/usr/local/bin/display &

Reboot your system:

sudo reboot now

For older 0.91 inch LCD without MCU

For the older version LCD without MCU controller, you can use the Python demo.

Install the dependent library files:

sudo apt update
sudo apt install python3-pil python3-pip
sudo pip3 install adafruit-circuitpython-ssd1306

Test demo:

cd U6143_ssd1306/python 
sudo python3 ssd1306_stats.py

About

Display driver for UCTRONICS Ultimate Rack with PoE Functionality for Raspberry Pi 4 (SKU U6145)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.5%
  • Python 5.4%
  • Other 1.1%