Flow Controller

The Homebrew Forum

Help Support The Homebrew Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Is anyone able to shed some light on why the whole unit resets when it gets to 0. I want it to say "target reached valve closed 25L" or whatever but instead it just resets the whole unit. This only happens with the relay attached. If it isn't it just displays it perfectly. Also when I reset it clicks intermittently about 5 times before starting and LCD display jumbles. Not sure why my power supply would affect it as the contacts on the relay should be electrically seperate from the coil voltage and arduino
 
Are you powering the relay from the +ve and -ve on the arduino board? I've been meaning to remove those connections on mine and use the separate 12v power that is powering the solenoid so it is totally isolated from the Arduino other than the signal high/low pin.
 
Yes. So what you're saying is the pos and neg come from a power supply and INT is the only connection to the arduino?

Edit: just trying to fathom out that drawing.
 
If I read this right I now need a 5v supply for my relay, a 5v supply to my Arduino, a 12v supply for my solenoid. I suppose I'd need a 5v supply anyway to power the Arduino when it wasn't plugged in toy mac


Edit: sorted. Thanks Steve. I really don't want three seperate supplies in my box. Seems a bit excessive.
 
Belter said:
If I read this right I now need a 5v supply for my relay, a 5v supply to my Arduino, a 12v supply for my solenoid. I suppose I'd need a 5v supply anyway to power the Arduino when it wasn't plugged in toy mac


Edit: sorted. Thanks Steve. I really don't want three seperate supplies in my box. Seems a bit excessive.

I think that those relays will power from 12v but need to double check the spec sheets for them. I haven't put 12v through my relay to find out! Maybe tomorrow... :)
 
stevela said:
Hmm this listing shows same relay in photo at 5-12v

http://www.ebay.co.uk/itm/1-Channel-5-1 ... 1e8072f26a

There are 12v versions of the relay with a different part code though and I've found a 12 to 5v convertor

http://www.ebay.co.uk/itm/DC-DC-Convert ... 0951097%26

I will hook mine up tomorrow to 12v, if I get chance before the MOSI beer festival, and see what happens. :)

Hmm I may have to order one of those. I bought 3x dual relays from china as I didn't want to have to wait for postage for any future projects so I'll try and blow one up by putting 12v through it before buying one of those.
 
Fil said:
stevela said:
This is the link I was looking at previously:

http://arduino-info.wikispaces.com/RelayIsolation
shouldnt have had a sample b4 looking at that.. ouch!

will read when clearer headed..


It's really straightforward Phil. Ignore the drawing and read the instructions below. Makes loads of sense.

Essentially leave the Arduino +ve where it is on VCC. Leave the int where it is. Remove the jumper from the other three terminals and connect your external supply to JD-vcc and ground.
Arduino ground wire gets removed entirely.
 
Dont know about the DnB ;) the proof will be in the supping..

Good to see your invention in use tho cant wait for the boxed up version :)
 
Looks great stevela, I have copied your code and tried to incorporate it into my brew system but I have a tft screen so have modified parts to show on my screen. Still need to sort some buttons out to alter the volume's etc.

The problem I found is that while it is getting to its target volume I cant do anything else as it is in the 'while' statement. But this wouldn't be a problem if it is part of the sequence of the brew.
 
I was thinking the same last night. I'm a bit stumped on how to box it up. I want to use the LCD I have so need somehow to fit some rubber buttons.
 
consider easy panel mount switches perhaps, use the switch to bridge a pin and gnd with i think a 10k resistor inline. and tell your code what pin that button is on .. its all in the arduino example sketches..

i tried to mount a pushrod to hit the uno reset button.. naw...

u can also get 4 or 5 button sticky back film buttons tho all i cld see on ebay were 4x4 keypads at the moment, perhaps i forgot the correct search phrase?
 
I'm getting really itchy and frustrated. I have everything now apart from the lcd screen. My mag pump arrived yesterday as did the motorised valve. I picked up a DPDT relay from Maplins the other day, so all ready for a test. The pressure sensors also arrived, but I have an extra flow sensor to try first. But no lcd screen.:evil: :cry:
 
bobsbeer said:
I'm getting really itchy and frustrated. I have everything now apart from the lcd screen. My mag pump arrived yesterday as did the motorised valve. I picked up a DPDT relay from Maplins the other day, so all ready for a test. The pressure sensors also arrived, but I have an extra flow sensor to try first. But no lcd screen.:evil: :cry:

Are you planning using separate buttons or the ones on the LCD? If they are separate you could always print out to the serial port and use the serial monitor as a temporary display.
 

Latest posts

Back
Top