/SKU_RM0004

Raspberry Pi NAS Cluster/Raspberry Pi SATA Cluster

Primary LanguageC

SKU_RM0004

The project supports running on RaspberryPi, Ubuntu, HomeAssistant,You can also use Python to call compiled DLLs on these platforms.

RaspberryPi

Turn on i2c and set the speed

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

dtparam=i2c_arm=on,i2c_arm_baudrate=400000

Turn on the button to control the shutdown function

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

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

reboot your system

sudo reboot

Wait for the system to restart

Clone SKU_RM0004 library

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

Compile

cd SKU_RM0004
make

Run

./display

Add automatic start script

Open the rc.local file

sudo nano /etc/rc.local

Add command to the rc.local file

cd /home/pi/SKU_RM0004
make clean 
make 
./display &

reboot your system