1)Crontrab

@reboot sleep 30; /usr/bin/python3 /home/pi/Desktop/Desarrollo_urdidora/main_PesajeUrdidora.py > /home/pi/Desktop/stdout.txt 2> /home/pi/Desktop/stderr.txt
*/10 * * * * /usr/bin/python3 /home/pi/Desktop/Desarrollo_urdidora/RegistrosStandAlone.py                                                       
0 0 * * * sudo reboot


2)Puertos

/etc/udev/rules.d $ nano 99-usb.rules

	SUBSYSTEM == "tty",ATTRS{idVendor}=="1d6b",ATTRS{idProduct}=="0002",ATTRS{serial}=="0000:01:00.0",MODE=="0777",SYMLINK+="Balanza"
	SUBSYSTEM == "tty",ATTRS{idVendor}=="0403",ATTRS{idProduct}=="6001",ATTRS{serial}=="A403KE3M",MODE=="0777",SYMLINK+="Impresora"
	##SUBSYSTEM=="hidraw",ATTRS{idVendor}=="05e0",ATTRS{idProduct}=="1200",ATTRS{serial}=="S/N:C1351826325B4AF09EEFCE579DDD6F77 Rev:PAACFS00-001-R053",MODE=="0777",SYMLINK+="Lector"
	SUBSYSTEM=="tty",ATTRS{idVendor}=="0403",ATTRS{idProduct}=="6001",ATTRS{serial}=="AI02O4NG",MODE=="0777",SYMLINK+="Lector_xbee"

3) Red

sudo nano /etc/dhcpcd.conf

	SSID IOT
	static ip_address=172.24.13.222/24
	static routers=172.24.13.1
	static domain_name_servers=172.17.3.6
	static domain_search=172.22.2.129

4) Contraseña pi: Soportes2020*

5)Configuracion i2c:

	 sudo apt-get install i2c-tools
	 sudo apt-get install python-smbus
	 sudo raspi-config -> Interfacing Options -> i2c -> ok
	 i2cdetect -y 1 (Permite verificar las direcciones de los equipos contados a la raspi)