Back to Parent

Moisture Sensor

The moisture sensor is connected to pin A5, and the LED light is connected to pin D4. The moisture sensor is also connected to the ground and the Argon board's 3v3 pin. 

The code was programmed (as shown below) so that when the moisture level read greater than 50%, the LED would turn on. The picture below shows the wiring layout, and the video displays a successful test. The video demonstrates the moisture sensor being placed against a wet coffee filter to cause the sensor to read the moisture. 

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!