Bottle Matchine

hey Guys

I need some programming assistance with a beer bottling machine i am making
what i want is:
to push a button to run a cycle

6 valves open/relay

6 flow sensors read flow (SENSOR TYPE YF-S402)

when a designated amount is reached in each filler pipe the valve will close (330ml, 440ml, 750ml a designated amount that can be easily changed)

end of cycle

when the button is pushed again the cycle starts again

can anyone advise?
I'm very new to this programming world
thanks

Hello and welcome to the forum

What kind of advise do you want?

I'd be very inclined to start with just getting the meter to read the flow, and worry about the start button and relays later.

A quick search found this which may get you started?

i have no clue on how to program, learning slowly but have all hardware in place,
my main struggle is getting info from the flow sensor and to turn off the relay when it has reached a value.
I was able to get information from the flow sensor with a pi 3 b+ but i think a Arduino will best suit my project

so essentially i am looking for a quick code i can put in place and edit if need be to run a cycle.

the cycle needed is

button push ---> open valve ----> flow sensor reaches value (x)---> valve close ---> end of cycle

the code can just run one relay and sensor then i can replicate it to do all 6 when that is working

There are plenty of examples to start from on line --> for example this one seems to be close to what you want to do.

I would recommend though that you invest first a bit of time to understand programming and the commonly used arduino libraries, that will save you some headache later on

well if i get this working id be happy to share to all :slight_smile: still very new to this whole new world i have jumped into, its very exciting, thanks for the leads trying them now