Open hogthrob opened 2 years ago
That's interesting. Previously I got values below -70°C IIRC, so I thought the -50 setting would be pretty safe. I'll double-check if the Zephyr pinctrl driver set some pull-ups or pull-downs automatically, which would be an explanation for the changed behavior.
Just for the record: I tried to put a 10k resistor on the NTC connections and it does show exactly the expected 25°C on the display.
The calculated "open sensor" temperature on the MPP 2420 LC is around -32.5 and not below -50 as required for
https://github.com/LibreSolar/charge-controller-firmware/blob/a56b0d0e8046fcb911dd2a21015845509d13565a/app/src/daq.cpp#L251
to do its magic. Was working with old firmware from 2019. Could not see the difference in the code easily, looks to me more or less identical, hence raising the issue here. I personally solved the problem by entirely disabling the sensor via an
mppt_2420_lc.overlay
file in the app directory:but it would be nicer, if we get back the original automatic detection capability.