Even with the 0.1uF capacitor, I had wrong values.
So, I've gone with the voltage divider method, and it seems more reliable, at least for my case.
4.7V max to VCC, R1 1M, R2 330k, another 0.1uF capacitor in parallel with R2.
I don't need a very good accuracy, just a trend in order to know when to change my batteries.
Thanks for your help.
Hi @raulp, welcome to the MySensors community.
I don't understand what you are trying to do, but the MySensors getting started guide is available from the rocket icon at the top of the forum (https://www.mysensors.org/about )
Developer contribution guidelines are available at https://www.mysensors.org/download/contributing
Library documentation is available at https://www.mysensors.org/apidocs/index.html
@canossa Sorry for the late response.
yeah, since is so compact and you can get it for relatively cheap I opted in for the NRF52.
For home automation, I merged MySensors with Domoticz and it works for months now.