Skip to content

Add ADC values sanity check/filtering

During the 06/2024 campaign we noticed that sometimes the ADC values would be very wrong due to the single event. For example:

=fan=,3.494,3.879,5.241,6.758,

While during the normal operation it was: =fan=,12.098,0.263,5.048,29.125

So maybe we could have some logic based on 12V measurement than would power cycle if the measurement is e.g. <8V or >16V? Ideally the restart should be done only once, if the wrong values continue to be reported after the restart, just accept them and don't restart on this condition again.