Reporte de avance con prototipo 2

Written by Sebastián Sáez on November 27, 2020 in Uncategorized with no comments.

Tuve que comprar algunos materiales que me faltaban, llegaron hoy a las 11. Hice pruebas y ya tengo funcionando la version que permite uso de panel solar, pero que además incorpora el LEDIR con control por software (así podemos apagarlo Lo que falta:agregar ventilador (voy a probar cuanto consume porque no puedo controlarlo, estaría siempre […]

Instalar python 3.8

Written by Sebastián Sáez on November 19, 2020 in Uncategorized with no comments.

Installs Python into /usr/local/bin HINT sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Backuo linux image (sd card)

Written by Sebastián Sáez on November 17, 2020 in Uncategorized with no comments.

https://magpi.raspberrypi.org/articles/back-up-raspberry-pi The simplest way to back up your Raspberry Pi is to copy the entire SD card as an image. This technique is the reverse of flashing your SD card when installing an OS to it. Instead of copying an image file from your computer to the SD card, you copy the entire SD card […]

launch script at boot

Written by Sebastián Sáez on November 13, 2020 in Uncategorized with no comments.

https://learn.sparkfun.com/tutorials/how-to-run-a-raspberry-pi-program-on-startup#method-2-autostart

Activar UART (maxbotix)

Written by Sebastián Sáez on November 13, 2020 in developers and flowwatch with no comments.

Disable Linux serial console By default, the primary UART is assigned to the Linux console. If you wish to use the primary UART for other purposes, you must reconfigure Raspberry Pi OS. This can be done by using raspi-config: Start raspi-config: sudo raspi-config. Select option 3 – Interface Options. Select option P6 – Serial Port. At the […]

Crear carpeta para llaves SSH

Written by Sebastián Sáez on November 12, 2020 in developers and flowwatch with no comments.

You have to create the .ssh directory and the authorized_keys file the first time. Create the .ssh directory Set the right permissions Create the authorized_keys file The permissions are important! It won’t work without the right permissions! Now you can add the public key to the authorized_keys file: You have to add the public key of your computer to the authorized_keys file of the computer you want to access using SSH Keys! […]

SSH via Serial

Written by Sebastián Sáez on November 12, 2020 in developers and flowwatch with no comments.

Para aislar problemas asociados al manejo de red, es recomendable conectarse al rpi usando el puerto serial. Como acceder al Raspberry pi por SSH usando comunicación serial Se requiere un adaptador de TTL (lado rpi) a USB (lado laptop) Comando en Mac Comando en Linux Tomado de https://medium.com/@sarala.saraswati/connecting-to-your-raspberry-pi-console-via-the-serial-cable-44d7df95f03e

Prototipo2

Written by Sebastián Sáez on November 12, 2020 in developers and flowwatch with no comments.

Dataplicity user: servidor.ecohyd@gmail.compass: eA3PHd2PYh Linux user: pipass: raspberry Instrucciones: Activar un hotspot en celular con nombre “internet” y pass “internet” Encender flowwatch ir a https://www.dataplicity.com/devices/5ba0a18a-433c-4461-958f-9994404561ae/ ejecutar los siguientes comando su pi (pass arriba ^) activate ifconfig (revisar estado conexion wlan0) webserver ir a http://ip-device:5000 (ip dada por el hotspot) si fallaejecutar ifconfig (anotar ip)ir a […]