Hi, everyone First post over here :D I started looking into Arduino a while back, and today I decided to give it a go, and started doing some planning, but first I would like for someone to double check my connections wich I'm not sure if they are right, project below.
So I'm not sure about: The relay board GND, where to connect it !? Connection between the ULN and Relay PCB !? Pump's connections !?
Parts I'm using:
uln2803a datasheet http://focus.ti.com/lit/ds/symlink/uln2803a.pdf relay PCB info http://cgi.ebay.co.uk/Four-4-Relay-Module-Board-8051-PIC-Project-12V-/160500525260?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item255e93a8cc
And I think this is all to get me started, if you need more information let me know.
Connect the GND on the Arduino and the relay board together.
You don't need to use the ULN2803 relay driver. The MOSFET on the relay board performs the same function. It turns the small signal from the Arduino into the current needed to drive the relay.
Connect the pump's supply voltage to C*x* then connect NO*x*to the pump. The other side of the pump to the pump's return voltage. Just like a switch in series with the pump.
You don't need to use the ULN2803 relay driver.
In fact if you do have it then it won't work unless the FET inputs have pull up resistors on them internally, which is doubtful.
Hi, Thanks everyone I think I got it, I was using the ULN because a friend of mine told me, but in his case he was using independent relays with no MOSFET. So better for me :D
Richard I based this as the float switch being a normal button is this right ? http://arduino.cc/en/Tutorial/Button
What do you mean "Turn on the internal pull-up resistor for this pin" do that on the programming later? this would be easyer, no need to use a resistor outside right :)
Fixed the 2nd pump connection to NO.
Some digital PINs are reserved for the keypad and LCD shield but im leaving that for later.
Please check my schematics now.
Thanks you guys bend very helpful. Pedro
Hi, Richard, exactlly I might get a 5A 12v power supply and use it for both pumps and Relay's :)
Also I might need to turn off/on 2x 220v pumps I did some calculation and:
1º pump 33w, 150mA 2º pump 66W, 300mA
I checked that the relay's support up to 10A/230AC so this shouldnt be a problem!?
Glad I'm finally get a hang of this :) :)
Will rest for today.