Rain Sensors: Detector In progress
Requirements
There are two requirements for the rain detector:
- An alarm is sounded when rain is detected.
- The alarm must have an on/off switch so we can switch it on only when needed, for example, when there is washing drying outside.
Design
The rain detector comprises an off the shelf sensor pad containing two conductive tracks that are not connected to each other. Water falling on the plate bridges the tracks and lowers the resistance of the pad. A MH series interface module is connected to the sensor pad and produces both an analogue signal whose voltage depends on the resistance of the sensor pad and a digital signal that goes from high to low when the sensor pad resistance reaches a certain threshold value. A potentiometer is used to adjust the threshold. Both items were purchased as a single package along with a very short DuPont cable to connect them:
The output of the interface module will eventually be used to trigger an alarm. This has not yet been designed.
Construction
A housing for the rain detector was designed in TinkerCAD and 3D printed on a Bambu A1 using Amazon Basics orange PLA. The housing includes two lugs to enable the unit to be screwed to a wooden base. Brass M3 heat-set threaded inserts were fitted to each corner of the housing to enable the rain sensor to be screwed in place. A hole was included in the base of the housing to permit water to escape.
The following photo shows the housing after the heat-set inserts were added:
The rain sensor pad was attached to the housing with nylon M3 crosshead bolts:
That's as far as things have progressed so far.
STL file
An STL file that can be sliced to produce the 3D printed components can be downloaded from the cahamo/rain-sensors
repository on GitHub.
The file is copyright © 2024, Peter Johnson and is made available under the Creative Commons - Attribution - Share Alike license v4.0.