TINKER PiEDESIGN IN INDIA

Water level sensor with TinkerPie

How deep is the water on the strip? Tank and flood monitors.

TypeAnalog sensors
Connect toP10-P13
Gives0-100 %
SimulatorYes: a control appears under the simulated board

How it works

The water level strip has metal lines along its length. The more of the strip that is under water, the more the lines are connected and the higher the reading.

How to wire it

Plug the module's A0 / OUT into P10 (or P11-P13 when Wi-Fi is off), VCC to 3.3 V, GND to GND.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.waterLevel(Pin.P10)

// Arduino C++
sensors::waterLevel(Pin::P10)

Good to know

Projects with the Water level sensor

Water tank levelA water level sensor fills a blue bar graph and beeps FULL at the top.Sensor projects

Similar modules

More projects to try

Questions

Can I try the Water level sensor without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

How can I measure a whole tank?

Use the strip near the top as a "full" alarm, or measure the water surface from above with an HC-SR04 ultrasonic sensor.