Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Spikes in PZEM-004T v3.0 Readings #137

Open
f1netune opened this issue Jan 23, 2025 · 0 comments
Open

Data Spikes in PZEM-004T v3.0 Readings #137

f1netune opened this issue Jan 23, 2025 · 0 comments

Comments

@f1netune
Copy link

Hello, I prepared a sensor network which including pzem004t v3.0 (100A) sensors based on LoRa communication.

I am currently using the PZEM-004T module with your library to monitor voltage, current, power, and energy data. While the readings are generally accurate, I occasionally observe significant data spikes or anomalies in the sensor output. Here are some examples:

Received from Node 4 V[V]: 237.90 I[A]: 906166.25 P[W]: 538.60 E[Wh]: ovf RSSI: -114 SNR: -9.75
In contrast, the majority of readings from the same nodes are consistent and within expected ranges:

Received from Node 2 V[V]: 235.40 I[A]: 14.34 P[W]: 505.30 E[Wh]: 103.62 RSSI: -108 SNR: 5.25
Received from Node 3 V[V]: 233.90 I[A]: 14.97 P[W]: 613.10 E[Wh]: 103.04 RSSI: -114 SNR: -1.50
These spikes occur sporadically and seem unrelated to actual load or environmental conditions. Could you please provide insights into why such anomalies might occur?

Here are a few questions I hope you can help clarify:

Are these spikes likely due to communication errors between the ESP32 and the PZEM module?
Could this behavior be caused by electrical noise or improper grounding in the setup ?
Is it something that LoRa can cause?
Are there any known limitations or quirks in the PZEM-004T hardware or the library that could result in such anomalies?
Any guidance or recommendations for mitigating these spikes would be greatly appreciated.

Thank you for your time and support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant