OLED USAGE
RM0004-0.96” LCD USAGE
1. Enable i2c1 and set the speed
2. Add the shutdown function
3. Configure manual start script
4.Then Add automatic start script
5.Enjoy
sudo nano /boot/config.txt
sudo nano /boot/config.txt
Add the following command to
/boot/config.txt file:
dtparam=i2c_arm=on,i2c_arm_baudrate=400000
Add the following command to the
/boot/config.txt
file:
dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up
Save and exit, then reboot:
sudo reboot
Clone SKU_RM0004 library
git clone https://github.com/UCTRONICS/SKU_RM0004.git
Compile
cd SKU_RM0004
make
Run
./display
Open the rc.local file
sudo nano /etc/rc.local
Add command to the
fi
of the
rc.local file
cd /home/pi/SKU_RM0004
make clean
make
./display &
Save and exit, then reboot:
sudo reboot
Now your OLED display is configured to display the IP/CPU/RAM/DISK/TEMP, while
enjoying the safe shutdown and power on with just a press of the on/off button.
Press the power button and then configure the following script to use the
safe shutdown function.
Save and exit.
Содержание RM0004
Страница 1: ...SKU RM0004...
Страница 6: ...Attach the top panel to the bottom panel INSTALLATION 04...
Страница 7: ...INSTALLATION 05 M3 5 Countersunk Screws Fix the metal housing with M3 5 screws...
Страница 10: ...Attach the 2 5 SSD to the SATA shield INSTALLATION 08...
Страница 11: ...INSTALLATION 09 SD Card Adapter Connect Pi and SATA shield by SSD adapter...
Страница 14: ...INSTALLATION 12 Power Button Cable OLED Cable Insert the USB adapter and connect the SATA shield and Pi...
Страница 16: ...metal CONTACT US If any problem feel free to contact us Website www uctronics com Email support uctronics com...