Thanks this helped a lot and works. I do have a question. When I compile your code I get the following warning: water_flow_sensor.ino:22:61: warning: invalid conversion from 'byte {aka unsigned char}' to 'void (*)()' [-fpermissive] attachInterrupt(t1FlowInterrupt, t1FlowPulseCount, FALLING); //you can use Rising or Falling
There are a special sensor for your application to turn on and Off a water pump when water is flowing you need to use this pressure controller you can buy on ebay enter this link on ebay www.ebay.com/itm/New-Automatic-Water-Pump-Pressure-Controller-Electronic-Pressure-Switch-145PSI/274596649097?hash=item3fef3c5889:g:FWgAAOSw0Z1fxhLl Follow instruction how to connect it. It is direction sensitive means you have to check where the side that says water in which connects directly to the pump and water out connect to your pipe or Faucet. ( In summary it connects in series with the water output side. Once you open the water faucet that you install after the unit, the pump turns on. Once you shut off the faucet after the pressure is built up inside the unit the pump shuts off)
Great video and very good technology. Thank you Hydrokinetic Energy Corp. (HEC) Key West Fl.
Perfectly working and well explained..thanks 🥰
which arduino bro?
then which arduino version ?
Wow! Great tutorial. May I know, if it is possible to connect 2 flow sensor on a single Arduino board?
Nice video, thanks :)
where can we find the liquid crystal app
Thanks this helped a lot and works. I do have a question. When I compile your code I get the following warning: water_flow_sensor.ino:22:61: warning: invalid conversion from 'byte {aka unsigned char}' to 'void (*)()' [-fpermissive]
attachInterrupt(t1FlowInterrupt, t1FlowPulseCount, FALLING); //you can use Rising or Falling
Hello @Robokart,
What code is written after pinMode(flowsensor, INPUT)?
volatile int flow_frequency; // Measures flow sensor pulses
unsigned int l_hour; // Calculated litres/hour
unsigned char flowsensor = 2; // Sensor Input
unsigned long currentTime;
unsigned long cloopTime;
void flow () // Interrupt function
{
flow_frequency++;
}
void setup()
{
pinMode(flowsensor, INPUT);
digitalWrite(flowsensor, HIGH); // Optional Internal Pull-Up
Serial.begin(9600);
attachInterrupt(0, flow, RISING); // Setup Interrupt
sei(); // Enable interrupts
currentTime = millis();
cloopTime = currentTime;
}
void loop ()
{
currentTime = millis();
// Every second, calculate and print litres/hour
if(currentTime >= (cloopTime + 1000))
{
cloopTime = currentTime; // Updates cloopTime
// Pulse frequency (Hz) = 7.5Q, Q is flow rate in L/min.
l_hour = (flow_frequency * 60 / 7.5); // (Pulse frequency x 60 min) / 7.5Q = flowrate in L/hour
flow_frequency = 0; // Reset Counter
Serial.print(l_hour, DEC); // Print litres/hour
Serial.println(" L/hour");
}
}
Gow to display on lcd 16x2 (4 wire)
Will you provide me the Working of ultrasonic flow sensor of two pins (Red and White)??
Bro can be possible arduino readings upload in raspberry pi
*-*please provide link for buying the sensor-**
excellent project! Good work !
Thanks a lot! dont forget to share this video.
How to turn on the pump when there is flow and it will automatically turn it off if there is no flow
@@GThirivigiramaAbhishekG yes I found a system
@@CreativeTree can u please share that code or information regarding that, it would be much useful to me, thanks in advance
There are a special sensor for your application to turn on and Off a water pump when water is flowing you need to use this pressure controller you can buy on ebay enter this link on ebay
www.ebay.com/itm/New-Automatic-Water-Pump-Pressure-Controller-Electronic-Pressure-Switch-145PSI/274596649097?hash=item3fef3c5889:g:FWgAAOSw0Z1fxhLl
Follow instruction how to connect it. It is direction sensitive means you have to check where the side that says water in which connects directly to the pump and water out connect to your pipe or Faucet. ( In summary it connects in series with the water output side. Once you open the water faucet that you install after the unit, the pump turns on. Once you shut off the faucet after the pressure is built up inside the unit the pump shuts off)
How about using Bluetooth HC 05 Arduino bro🥺
Give me water flow sensor library for proteus ,sir
cant it measure ML?
Mam plz give me the flow meter programme/ software
How we can connect a 12V relay to it?
Mam provide me flow chart
I want this machine can you sell me i m from Myanmar
Make water ATM
hai