161
edits
Jemthemisfit (talk | contribs) No edit summary |
Jemthemisfit (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=='''WORKING PROCESS'''== | =='''WORKING PROCESS'''== | ||
Line 15: | Line 16: | ||
In this example the sensor is being used as a rain indicator, so three states were defined: Dry Weather, Average rain and Heavy rain. Depending on the level of water present one of three LED lights would turn on and a corresponding message would be printed in the Arduino console. | In this example the sensor is being used as a rain indicator, so three states were defined: Dry Weather, Average rain and Heavy rain. Depending on the level of water present one of three LED lights would turn on and a corresponding message would be printed in the Arduino console. | ||
<gallery> | |||
File:WaterSensor.jpg |The Water Sensor | |||
File:3LED_Setup.jpg |Circuit with 3 x LEDs | |||
File:Detect_heavyRain.jpg |Red LED indicating presence of water | |||
</gallery> | |||
This code was used: | This code was used: |
edits