mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
259 stars 109 forks source link

[Arduino Uno] PZEMSoftwareSerial example #15

Closed kozfelipe closed 4 years ago

kozfelipe commented 4 years ago

Hey guys

Im running PZEMSoftwareSerial example in my arduino uno using 115200 serial baud rate.

Heres my serial output every 2s:

Error reading voltage
Error reading current
Error reading power
Error reading energy
Error reading frequency
Error reading power factor

Error reading voltage
Error reading current
Error reading power
Error reading energy
Error reading frequency
Error reading power factor

I got my D11 and D12 setup according to example although I got only RX blinking at arduino side and TX blinking at PZEM side.

How can I diagnose this?

kozfelipe commented 4 years ago

nevermind Ive inverted my tx/rx

mandulaj commented 4 years ago

Yeah happens to the best of us :smile: Maybe this should be better clarified in the examples