olehs / PZEM004T

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

multiple PZEM004T's #25

Closed phamiltonsmith closed 6 years ago

phamiltonsmith commented 6 years ago

Can I run/define multiple PZEM004T in one same code?

I would like to define 5 on one same unit...

TIA

olehs commented 6 years ago

Yes, if you have enough Hardware Serial ports and/or pins, suitable for Software Serial. See also https://github.com/olehs/PZEM004T/issues/10

phamiltonsmith commented 6 years ago

I did not see issue #10....

I am in the process of building a meter (Arduino mega based) to read consumption on 3 phases and solar production on two phases...

Tks for the work y have put into this!