LCD 16x2 i2c - Orangepi Lite
$ Comands mode usuer (sudo)
[enable module i2c] '''
'''
or
'''
$ sudo armbian-config
HHardware - toggle board low level functions: UART, I2C, SPI, …
[x]i2c
[x]i2c1
[x]i2c2
'''
or
edit /boot/armbianEnv.txt file with “nano /boot/armbianEnv.txt“
add “overlays=i2c0 i2c1 i2c2“
'''
''' or ''' $ sudo nano /etc/modules i2c-dev i2c-bcm2708
''' or ''' $ sudo reboot ''' Check i2c enable ''' i2cdetect -y 0 i2cdetect -y 1 '''
[Requiriments] '''
''' or ''' $ sudo apt install i2c-tools libi2c-dev python3-smbus '''
Install : ''' cd /home
git clone https://github.com/dnmnhat/lcd16x2.git
cd lcd16x2/
python3 time_date_ip.py ''' Crontab ''' sudo crontab -e ''' ''' @reboot sleep 10 && python3 /home/lcd16x2/time_date_ip.py
@reboot sleep 0 cd /home/minisatip && sudo ./minisatip -f -Z :0 -M 0 &
''' ''' sudo wget https://raw.githubusercontent.com/dnmnhat/lcd16x2/main/minisatip.sh
sudo chmod +x minisatip.sh && sudo ./minisatip.sh
'''
And Reboot.
df -h /synology-nas/record sudo mount 192.168.0.50:/volume1/Record /synology-nas/record