If you need to detect water movement in a pipe (or air in a duct) from outside the pipe, this may help. This Arduino based device detects temperature changes and closes a relay contact. The pipe or duct has to change temperature when there is a flow for this to operate.

Step 1:

Materials needed for this include:

Arduino Uno

9 volt dc power supply (for the Arduino)


Relay Module for Arduino

Resistor (about 5K)

Misc. wire, solder, heat shrink tubing and mounting hardware

Connect the wires as shown in this schematic. I put the thermistor at the end of 5 feet of #22 wire.

Step 2:

Use the software sketch provided in this step as a starting point.

The software will turn the relay on for ten seconds when a temperature difference is detected, then shut off. This timing (as well as the temperature change required to trigger the relay) can be adjusted in software.

Tape the thermistor to the pipe.

<p>You are Great.....</p>
Sorry for talking with different field but i need arduino code for pwm for single phase inverter with 4 igbts <br>Thanks in advance

About This Instructable




Bio: I am an author and a maker. Current projects include Santa's Shop and Little Friend (ultracapacitor powered robot) on hackaday.io. I'm working ... More »
More by MikeTheMaker:Another Slinky Machine Robot Servo With Idle Horn Servo Bracket 
Add instructable to: