Water Sensor - NoahMacDonald1/387_NM_Final GitHub Wiki

Water World

My last security measure is the implementation of a water sensor. This sensor is actually an analog sensor and can detect depth to an extent, but I need it to detect any water at all, rather than an amount. When the water sensor detects any water, even the moisture of your hands when you touch it, the box locks, and you can't input a code until the water is gone.

Video of the water sensor

NOTE: This sensor is more to protect the electronics inside the box than anything else. The circuit is still live when the sensor locks things down, so water getting where it shouldn't be is a major issue.

A water sensor

an IR sensor wired to a breadboard

You'll notice that my schematic above uses an IR receiver, rather than the water sensor. That's because TinkerCAD doesn't have a water sensor in their circuit building tools. I picked an IR receiver as a stand-in for the water sensor because the wiring was the same.