2.1 KiB
2.1 KiB
Instalar pantalla LCD 3.5
sudo rm -rf LCD-show
sudo apt install git
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show
Touch
cd LCD-show/
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
Calibración
DISPLAY=:0.0 xinput_calibrator
Para volver a HDMI
cd LCD-show/
sudo ./LCD-hdmi
Activar ssh
Se crea un archivo con nombre sh en la partición boot
En le nuevo OS nos toca generar el password creando un archivo userconf.txt en la particion boot con la siguiente estructura username:pasword_encriptada para encriptar una contraseña usar la siguiente linea:
echo 'mypassword' | openssl passwd -6 -stdin
reiniciar X
sudo systemctl restart display-manager
Autoconectar el WIFI
crear un archivo wpa_supplicant.conf en la particion boot
country=CO
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YOURSSID"
scan_ssid=1
psk="YOURPASSWORD"
key_mgmt=WPA-PSK
}
Ip Fija sudo nano /etc/dhcpcd.conf
interface wlan0
static ip_address=192.168.1.10/24
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
Camara
Crear un timelapse
Captura imagenes
libcamera-still -t 60000 --timelapse 2000 -o image%04d.jpg
Donde t es el tiempo de captura total, timelapse tiempo entre imagenes
Compilar video
ffmpeg -r 10 -f image2 -pattern_type glob -i 'image*.jpg' -s 1280x720 -vcodec libx264 time.mp4
r fps
s scala del video
http://www.lcdwiki.com/3.5inch_RPi_Display
https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)
Instalar OMV
https://pimylifeup.com/raspberry-pi-openmediavault/
wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/preinstall | sudo bash
reiniciar
wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash