need a water flow sensor example
need a water flow sensor example
Any flowcode exemple of using this sensor? Actually i want to use this sensor to measure total flow pass in liters/minut and display on lcd. And i need starting point by a flowcode example
- Attachments
-
- flow.png
- (446.67 KiB) Downloaded 1527 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: need a water flow sensor example
That should be fairly easy to sort out.
Do you have hardware details in mind, e.g. Microcontroller (freq, internal/External osc.), LCD etc?
Perhaps would be better if you started the flowchart by setting up configuration settings and adding LCD.
Do you have hardware details in mind, e.g. Microcontroller (freq, internal/External osc.), LCD etc?
Perhaps would be better if you started the flowchart by setting up configuration settings and adding LCD.
Martin
Re: need a water flow sensor example
hardware is so simple, pic16f683 with intrnl Osc and 2X16 LCD, display data on lcd in liters. actually i need a calculation method of water flow in liters using this sensor then i modify my software and hardware according my use. need a calculation block diagram i think..medelec35 wrote:That should be fairly easy to sort out.
Do you have hardware details in mind, e.g. Microcontroller (freq, internal/External osc.), LCD etc?
Perhaps would be better if you started the flowchart by setting up configuration settings and adding LCD.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: need a water flow sensor example
?kg300 wrote:pic16f683
That chip does not exist.
Personally if it was me I would select one of the newer microcontrollers as they are much cheaper, faster and have more memory and functions than the older devices.
Martin
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: need a water flow sensor example
So its slightly more accurate than arduino version.
This the accuracy appears to be constant, its dependent on the target osc frequency.
It must be kept at 8MHz So is compatible with older devices.
- Attachments
-
- Water Flow Meter.fcfx
- (14.33 KiB) Downloaded 252 times
Martin
Re: need a water flow sensor example
Thanks medelec35medelec35 wrote:Testing Water Flow Meter hardware.png
I tried the attached Flowchart for my hardware (different target device) and injected a 225Hz signal into INT pin. Result was good as getting a value between 29.9 and 30.0 L/S
So its slightly more accurate than arduino version.
This the accuracy appears to be constant, its dependent on the target osc frequency.
It must be kept at 8MHz So is compatible with older devices.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: need a water flow sensor example
You're welcome.
Can you please let me know if works OK or not?
Can you please let me know if works OK or not?
Martin
Re: need a water flow sensor example
Yes, it's working. your example show me the way how i use this sensor. actually i'm trying to build a bottle filling project. the MCU start a small pump and sensor start to count flow, when 1 liter is done the MCU stop the pump. now i'm trying to modify your flowchart according my requirement..medelec35 wrote:You're welcome.
Can you please let me know if works OK or not?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: need a water flow sensor example
Thank you, that's good to know.kg300 wrote:Yes, it's working.
After modifying flowchart, you can post it if stuck?kg300 wrote: actually i'm trying to build a bottle filling project.
Martin
Re: need a water flow sensor example
yesmedelec35 wrote:Thank you, that's good to know.kg300 wrote:Yes, it's working.After modifying flowchart, you can post it if stuck?kg300 wrote: actually i'm trying to build a bottle filling project.