Skip to content

Raspberry Pi NAS Cluster/Raspberry Pi SATA Cluster

Notifications You must be signed in to change notification settings

slyglif/UCTRONICS_SKU_RM0004

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Raspberry Pi NAS Cluster/Raspberry Pi SATA Cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.4%
  • Python 2.5%
  • Other 1.1%