2024-02-19 17:23:38 -03:00
|
|
|
# Configurar la RPI
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
### Instalar el software para inicializar tarjetas SD
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
`apt install rpi-imager`
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
### Instalar la imagen Raspbian 64 bit Lite
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
Copiar la versión lite:
|
|
|
|
https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
### Configurar la imagen
|
2023-10-23 20:43:15 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
`rpi-imager` permite habilitar SSH, cambiar el nombre al dispositivo, configurar una cuenta de usuario, etc.
|
2023-11-22 22:01:00 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
Para mas información revisar: http://rptl.io/newuser
|
2023-11-22 21:57:07 -03:00
|
|
|
|
2023-11-22 22:19:19 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
## Preparacipon de ambientes y dispositivo
|
2023-11-22 22:19:19 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
Este presupone que se usa la cuenta de soporte y el directorio principal `/home/soporte`
|
2023-11-22 22:19:19 -03:00
|
|
|
|
2024-02-19 17:23:38 -03:00
|
|
|
### Quitar la tarjeta de sonido para habilitar
|
|
|
|
|
|
|
|
`cat "blacklist snd_bcm2835" | sudo tee /etc/modprobe.d/blacklist-rgb-matrix.conf `
|
|
|
|
|
|
|
|
`sudo update-initramfs -u`
|
|
|
|
|
|
|
|
`sudo reboot`
|
|
|
|
|
|
|
|
### Preparación de paquetes
|
|
|
|
|
|
|
|
`sudo apt-get update`
|
|
|
|
|
|
|
|
paquetes basicos:
|
|
|
|
|
|
|
|
`sudo apt-get install git python3-pip -y `
|
|
|
|
|
|
|
|
Requerimientos del LED-MATRIX
|
|
|
|
|
|
|
|
`sudo apt-get install python3-dev python3-pillow -y`
|
|
|
|
|
|
|
|
Requerimientos de pantallas led:
|
|
|
|
|
2024-03-27 19:11:25 -03:00
|
|
|
`sudo apt-get install python3-matplotlib python3-requests python3-numpy python3-pytzdata python3-apscheduler -y`
|
2024-02-19 17:23:38 -03:00
|
|
|
|
|
|
|
### Clonar los repositorios
|
|
|
|
|
|
|
|
`git clone https://dev.ilab.cl/TDTP/pantallas-led`
|
|
|
|
|
|
|
|
`git clone https://github.com/hzeller/rpi-rgb-led-matrix/`
|
|
|
|
|
|
|
|
`cd rpi-rgb-led-matrix/bindings/python`
|
|
|
|
|
|
|
|
|
|
|
|
`make build-python PYTHON=$(command -v python3)`
|
|
|
|
|
|
|
|
`sudo make install-python PYTHON=$(command -v python3)`
|
|
|
|
|
|
|
|
Return to the folder and proceed with the installation
|