Display driver for UCTRONICS Ultimate Rack with PoE Functionality for Raspberry Pi 4 (SKU U6145)
Begin by enabling the I2C interface:
sudo raspi-configChoose 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 wiringpigit clone https://github.com/UCTRONICS/U6143_ssd1306.gitcd U6143_ssd1306/Cmake clean && make sudo ./display
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.serviceOR add the startup command to the rc.local script (not recommended)
sudo nano /etc/rc.localand add the command to the rc.local file:
/usr/local/bin/display &Reboot your system:
sudo reboot nowFor 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-ssd1306Test demo:
cd U6143_ssd1306/python
sudo python3 ssd1306_stats.py