water detector – Kevin Gulling http://www.kevingulling.com Game Development, VR, and more Wed, 01 Mar 2017 01:43:54 +0000 en-US hourly 1 https://wordpress.org/?v=5.9.13 81085834 Funduino Analog Water Sensor for Arduino Test and Review https://kevingulling.com/2017/02/funduino-analog-water-sensor-arduino-test-review/ https://kevingulling.com/2017/02/funduino-analog-water-sensor-arduino-test-review/#comments Tue, 28 Feb 2017 18:39:39 +0000 https://kevingulling.com/?p=1518 Analog Water Sensor Test and Review The Funduino analog water sensor is an inexpensive, easily obtainable sensor module with many use cases. I purchased mine from the Good-Module Ebay store for just under $1 USD. You can find these modules available from other sellers on Ebay as well with similar prices. There are a lot […]

The post Funduino Analog Water Sensor for Arduino Test and Review appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
Analog Water Sensor Test and Review

The Funduino analog water sensor is an inexpensive, easily obtainable sensor module with many use cases. I purchased mine from the Good-Module Ebay store for just under $1 USD. You can find these modules available from other sellers on Ebay as well with similar prices.

Funduino H20 Sensor

There are a lot of uses for this sensor module. It can be used to detect the presence or absence of water, accurately gauge the water surface level, or you can even accurately gauge the volume of water present by using a volume measurement device such as a measuring cup in conjunction with the analog water sensor module. This makes it the Funduino analog water sensor a versatile component! Be careful not to confuse this module with a digital boolean water sensor which will only return a true or false value rather than an integer.

yt video link - water sensor

Hooking up the module to an Arduino is simple. Connect the positive to 5v, the negative to ground on the Arduino, and the analogue out to one of the 5 analog pins on the Arduino Uno. This module can also be connected to 3v, so it is virtually compatible with every type of Arduino as well as many other development boards.

Water Sensor Arduino Sketch

int h20 = 0;

void setup() {
pinMode(h20, INPUT);
Serial.begin(9600);

}

void loop() {
int i = analogRead(h20);
Serial.println(i);
delay(1000);
}

This sketch is set up to view the values (the integer i) returned by the sensor in the serial monitor. You can easily use this value to set triggers. For example in a project that I built using this sensor module, I have it set to switch off a water pump if i is less than 100. This protects my pump from operating while not fully submerged.

Some other projects you might consider this module for may be:

  1. Water leak detection
  2. Automatic plant watering
  3. Rain fall meter

If you utilize this sensor in a project that you want to show off, feel free to post a link in the comments!

The post Funduino Analog Water Sensor for Arduino Test and Review appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
https://kevingulling.com/2017/02/funduino-analog-water-sensor-arduino-test-review/feed/ 1 1518