UCSD-E4E / smartfin-fw2

Smartfin FW 2
GNU General Public License v3.0
1 stars 0 forks source link

Decrease water detection time #25

Open ntlhui opened 3 years ago

ntlhui commented 3 years ago

50 ns fall time is great. We should test how low we can push WATER_DETECT_EN_TIME_US and still get reliable wet/dry detection. 1 µsec = 1,000 ns (obviously not telling you something you don't know!) so do you think #define WATER_DETECT_EN_TIME_US 1 would likely work?

In my understanding, the lower we can push that value, the less electrolytic corrosion we'll have and the more durable that sensor will be over time.

Thanks, Phil

ntlhui commented 2 years ago

Test Procedure:

With Rev C boards, do 100 trials at each of the following settings for WATER_DETECT_EN_TIME_US

In each trial, short the wet/dry sensor. Wait at most 5 seconds for a water detect indication.

Requirement is > 99% accuracy.

SUPScientist commented 2 years ago

Recommend doing with a variety of resistances meant to emulate those expected at a range of natural water conditions (e.g., conductivity = conductivity(Temp, Salinity)) as well as the dead short.

ntlhui commented 1 year ago

Assigning to REU 2023 students for evaluation