You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was causing issues with the voltage readings for some reason. Returned voltage values would slowly decrease to some fixed point below the actual voltage. I was not sending any write requests to my knowledge. Voltage can still be calibrated manually by writing the reference voltage value.
The text was updated successfully, but these errors were encountered:
@Jff011 Thanks for the link! There's already a delay after selecting the reference voltage (https://github.com/scttnlsn/cell-monitor/blob/master/src/adc.cpp#L17). Are you thinking that I need to discard some samples? The thing is, the ADC readings all seem to work just fine (even after calibrating the internal voltage reference) so I don't think the issue involves any hardware subtleties. I suspect the issue has something to do with my calculations (i.e. calculating the interval voltage reference given the VCC value). I haven't invested much time in this yet since it's easy enough to calibrate the voltage reference instead of the VCC reading (calculating the voltage reference manually). Let me know if you have any ideas.
Removed the voltage calibration for now: 21d121b
Was causing issues with the voltage readings for some reason. Returned voltage values would slowly decrease to some fixed point below the actual voltage. I was not sending any write requests to my knowledge. Voltage can still be calibrated manually by writing the reference voltage value.
The text was updated successfully, but these errors were encountered: