-
Notifications
You must be signed in to change notification settings - Fork 634
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
Support for ZMPT101B AC Single Phase Voltage Sensor Module #2537
Comments
Judging by these two documents, don't we already support it as EmonAnalogSensor? We calculate R for the input, and simply read A0 aka ADC voltage |
You are correct but some significant modification needs to be done to calibrate the sensor with the actual reading. This portion of the code preventing creating sinusoidal wave at the output
Instead we need to hit A0 with minimal time gap. What is the context of using here? |
Interval is there based on the SDK docs and some feedback at the esp8266/Arduino repo. We can't continuously read ADC, WiFi driver will lose its mind and break since we load the system too much. afaik ESP8266 ADC has two ways of reading it
re. ratio code. It was pretty much the same since originally introduced, working as a simple multiplier of the raw readings. Note that I am neither the original author or actually use the sensor in question |
Description
Hay there,
Kindly extend support for ZMPT101B AC Single Phase Voltage Sensor Module.
Solution
No response
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: