What You Need

The main component required to make this project work is something called a flex sensor. The buoyancy of rising water levels will bend the sensor. As the sensor bends one way or the other, current values will increase or decrease accordingly. The sensor’s position can be read with a simple Arduino program and can be powered via either the Arduino’s 3.3 or 5.0 volt pins.

Figure 2. Water Level Notifier parts

Here’s the complete list (refer to the photo in Figure 2, Water Level Notifier parts):

  1. An Arduino Uno

  2. An Ethernet shield[20]

  3. A flex sensor[21]

  4. A 10k ohm resistor[22]

  5. A 1-inch fishing bobber

  6. Three wires (power, ground, ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.