tecnologia:luzparaeleko:inversor
This is an old revision of the document!
Manual Inversor: manual_inversor.pdf
Manual Monitorización: manual_monitorizacion.pdf
Monitorizar con raspberry
Conectamos el cable que viene con el inversor. Al inversor el exttremo RJ45 y por el otro lado es serial. Compramos un cable serial a USB y lo conectamos a este cable (por el serial) y a la raspberry
Ahora miramos los puertos USB de la raspberry
pi@raspberrypi:~ $ lsusb Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Nos quedamos con la línea:
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
python
import os, sys fd = os.open('/dev/ttyUSB0', os.O_DRWR | os.O.NONOBLOCK) os.write(fd,“
tecnologia/luzparaeleko/inversor.1655902395.txt.gz · Last modified: by admin
