Skip to content

darkgrue/SKU_RM0004

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKU_RM0004

Display driver for UCTRONICS Pi Rack Pro (SKU RM0004)

The project supports running on the Raspberry Pi and HomeAssistant.

I2C

Begin by enabling the I2C interface, add the following to the /boot/config.txt file:

dtparam=i2c_arm=on,i2c_arm_baudrate=400000

Enable Shutdown Function

Add the following to the /boot/config.txt file:

dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up

Reboot the system and wait for the system to restart:

sudo reboot now

Clone SKU_RM0004 Library

git clone https://github.com/darkgrue/SKU_RM0004

Compile

cd SKU_RM0004
make

Run

./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). Systemd method is recommended:

sudo cp ./contrib/RPiRackPro.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable RPiRackPro.service
sudo systemctl start RPiRackPro.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

About

Display driver for UCTRONICS Pi Rack Pro (SKU RM0004)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 99.1%
  • Other 0.9%