olehs / PZEM004T

Arduino communication library for Peacefair PZEM-004T Energy monitor
MIT License
225 stars 114 forks source link

what is the use of IP? #11

Closed crosofg closed 7 years ago

crosofg commented 7 years ago

What is the use of IP and setAdress here in Pzem? Can someone give an example code please?

olehs commented 7 years ago

Not sure, but I think it is posiible to connect multiple meters to a single TX-pin and different RX's. Or even to a single RX (using diodes). In this case only one meter with a valid address will response.

Anyway, this is only a guess.