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.

images/waterlevelnotifierparts-labeled.jpg
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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.