Controlling fluid flow with ball valve and flow control using arduino

Hallo,

I am pondering on a project to do the following :

I want to control fluid rate using a ball valve and servo/stepper motor
I have a flow rate sensor that can give me a flow value.
I want to use a 1602 keypad LCD shield to be able to specify the rate of flow, and the valve will keep it there.

I need to dose my water system with chemicals at a specific rate and as the tank gets empty the rate needs to be able to be adjusted by the stepper/servo/ball valve to keep to the specified lt/hour rate.

Please can somebody assist in the coding to make this work.

I have the following hardware :

Arduino Uno R3
1602 keypad lcd shield
stepper motor
stepper motor controller
flow rate sensor 0-30lt/min

I can hook al these together on instruction but i battle to figure out the code.

Thanks,
G

Break your project down into steps - get the lcd working , then move on .

People here will help with specifics if you get stuck, so have a go and post here .

Your flow rate sensor may be linear, but your ball valve is anything but LINEAR! Best to design some way to coordinate flow with valve open position.
Paul

hammy:
Break your project down into steps - get the lcd working , then move on .

People here will help with specifics if you get stuck, so have a go and post here .

Hallo Hammy,
To be honest, i have no clue. I got code to make a normal 1602 lcd display a value from the flow sensor. but i have no idea how to begin to get the 1602 keypad shield going and reading my flow sensor.
maybe you can point me in the right direction please.

The lcd display has a library for its use, add that and look at the example sketches that come with it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.