Uctronics RM0004 Скачать руководство пользователя страница 2

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...

Страница 2: ...ow 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 le sudo na...

Страница 3: ...hand screw 4 Power button 4 SD card adapter 4 M2 5 5 Round head screw 32 2 5 SATA shield 4 Side rack bracket 2 USB adapter 4 LCD sticker 4 M3 5 countersunk screw 15 M6 16 rack screw 4 Rubber pad 4 LC...

Страница 4: ...EXPLODED VIEW 02 M3 5 Countersunk Screws M3 5 Countersunk Screws M3 5 Countersunk Screws Rubber Pad Rubber Pad...

Страница 5: ...03 M2 5 5 Round head Screws M2 5 5 Round head Screws M3 5 Flat head screw for SSD M3 5 Flat head screw for SSD Note The screw holes for mounting the SSD are pre drilled No need to x the screws on bot...

Страница 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...

Страница 8: ...Use M3 5 countersunk screws to fix the side bracket to the housing INSTALLATION 06 M3 5 Countersunk Screws...

Страница 9: ...INSTALLATION 07 M2 5 5 Round head Screws M2 5 5 Round head Screws Fix the LCD display and power button with M2 5 5 round head screws then attach the stickers...

Страница 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...

Страница 12: ...rew for SSD When not installing the SSD just fix the SATA shield with M2 5 5 round head Note The screw holes for mounting the SSD are pre drilled No need to fix the screws on both sides which is also...

Страница 13: ...on to the Raspberry Pi GPIO1 8 tightly against the yellow spring pin on the SATA shield otherwise it may cause no power supply Spring load pins SD Card Adapter Insert the other end of the sd card adap...

Страница 14: ...INSTALLATION 12 Power Button Cable OLED Cable Insert the USB adapter and connect the SATA shield and Pi...

Страница 15: ...INSTALLATION 13 Push the 4 installed modules into the enclosure and simply tighten the captive loose off screws to complete the installation...

Страница 16: ...metal CONTACT US If any problem feel free to contact us Website www uctronics com Email support uctronics com...

Отзывы: