Incuvers-Inc / Model-1

7 stars 9 forks source link

unnecessary valve actuation #33

Open davidsean opened 5 years ago

davidsean commented 5 years ago

I am counting the number of valve actuations to evaluate their lifetimes. For now just CO2 but O2 will come shortly.

Basically I just count the number of times the valves have toggled over a week:

digitalWrite(pinAssignment_Valve, HIGH); this->valve_trigger_count++;

Interestingly I hear an audible "click" without seeing an increase in the valve_trigger_count. Looking at the logs I think it comes from: // CO2 level above setpoint. digitalWrite(pinAssignment_Valve, LOW); // just to make sure

...since the temperature is slightly above the setpoint when I hear the "click". I won't dig deeper until the test is finished (7days), but if the digitalWrite(pinAssignment_Valve, LOW) call indeed energizes the solenoid enough to hear a "click", this may contribute to premature failure.