Notifications
Clear all

ESP32/Arduino flow sensor project

6 Posts
4 Users
2 Likes
1,893 Views
(@pieter)
Member
Joined: 3 years ago
Posts: 5
Topic starter  

Hi Bill

I want to start a project with flow sensors. Measure flow rate and volume. Also to close a valve remotely if I need to, or if flow rate exceed a certain limit for example.

Again, my programming skills let me down 🤨 very frustrating


   
Quote
(@uadorna)
Member
Joined: 3 years ago
Posts: 1
 

Hi Pieter, I've explored this before and it's a really complex topic.  Key issue is whether your project can involve a sensor being "immersed" in the stream/flow (inside the tube) to do the measurement, or whether it needs to be external to the tube that the flow is within.

If the sensor can be inside the tube, then there are many sensors on the market that have impellers connected to a slotted encoder wheel that you then read the pulses off of on a signal wire.

If your case requires the sensor to be outside the tube, then it is infinitely more difficult (using sound waves, or pressure gauges) and the project is a major one...


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1081
 

@pieter

I like this idea, although the idea of bringing flowing liquids into my workshop is a bit scary LOL!

😮

Posted by: @uadorna

If the sensor can be inside the tube, then there are many sensors on the market that have impellers connected to a slotted encoder wheel that you then read the pulses off of on a signal wire.

If your case requires the sensor to be outside the tube, then it is infinitely more difficult (using sound waves, or pressure gauges) and the project is a major one...

Excellent points. I would assume that the immersed sensor would be the one to work with, working with them sounds a lot like working with rotary encoders.

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
(@pieter)
Member
Joined: 3 years ago
Posts: 5
Topic starter  

The sensor can be inside the pipe. no problems with that. I will ask questions when I get stuck through my project, thanks Bill

My problem again are not electronic/sensor reading related but programming related...

My brain is a void loop {...}

🤪


   
ReplyQuote
(@hakimjacob)
Member
Joined: 3 years ago
Posts: 1
 

Hi....what sort of water stream sensor do you have and what sign does it produce?

Second, no Arduino can control a solenoid of any sort. In the event that the solenoid is a DC fueled solenoid, you need a MOSFET to really change the ability to the solenoid, with an Arduino pin controlling the MOSFET. In the event that your solenoid is AC worked, at that point you need a hand-off to control the solenoid, with a MOSFET controlling the transfer. There are hand-off modules with such included, so they can be straightforwardly associated with an Arduino pin.

Sensor perusing pins are input pins. Solenoid controlling pins are yield pins. Your product will characterize information or yield. They can't be blended for your application.

Have you concentrated all the example Arduino programs in the IDE? IF not, start there.


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1081
 

@pieter @hakimjacob @uadorna  Just wanted to let you all know that I've moved this from "Suggest new content" to the "I/O Devices" section, as it's turning into more of a problem-solving thread than a content suggestion.  Originally I thought it WAS a suggestion, which is why I responded in the way I did.

Just didn't want you to look for this topic at the old URL and think that it got deleted!  It just was moved to a more appropriate home.

It's an interesting topic, so please continue to offer suggestions so that Pieter can get his flow sensors working. And if you want to propose it as an actual content suggestion later please do so.

Thanks!

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote