Hello! I have built an in-line heater with two DS18B20 temperature sensors and a relay that turns the heater on and off when the temperature gets above or below a certain temperature. I need to connect a GREDIA 1/4 inch water flow meter that causes the relay to turn the heater on when it senses flow, and off when there’s no flow. I’m not sure how to incorporate that code into my current code. I would really appreciate all the help i can get. I have attached my current code.
Temp_Sensor_Final.ino (1.17 KB)