Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Still not clicking , flashing of light is correct but no clickingTake the exclamation marks out .. .. ie
digitalWrite(relay, LOW);
MM
I have connected the desired 12 v water pump accordingly with a 12v dc and does not workHave you got anything connected to the relay ? The 'click' may not be audible ?
MM
ive got the 5v from arduino going into the vcc on the relay, gnd to gnd. the 12 v dc plug is connected to the water pump with the negative split connected to NO and COMSorry, scrub that .. .. .
It looks as though your trying to power a 12vdc Relay coil with 5vdc from the Uno .. ..
oh so i need a 5 volt relay, will that power a 12 v appliance ?Yes, but .. .. .. look what's written on the back of the relays .. the coils won't open with only 5vdc they need 12vdc
Thankyou so much, very appreciated!!Yes .. .. .. ..
If you read the print on the back of the relay
12vdc is the coil - used to operate the switch
10A - 250vac - max load for the switch
15A - 125vac
you need a relay with a 5vdc coil
If you Google 5vdc Relay module there's loads of good examples
MM
its a 4 channel 12 v relay from duinotech link is https://www.jaycar.com.au/arduino-c...N3Tqqd-MmrSOAST2AeoeMF8SelO_2ZnBoCNKoQAvD_BwEDo you have a link to the relay board? It looks like it uses opto-isolators to switch the relay and Vcc may need to be 12V (on the relay board only).
Mike.
It needs 12 V on the Vcc connection of the relay board.its a 4 channel 12 v relay from duinotech link is https://www.jaycar.com.au/arduino-c...N3Tqqd-MmrSOAST2AeoeMF8SelO_2ZnBoCNKoQAvD_BwE
could i use a 5v relay instead and use the arduino?It needs 12 V on the Vcc connection of the relay board.
Do not connect 12 V to the Vcc connection of the Arduino. That will damage it. You have to disconnect Vcc on the Arduino from Vcc on the relay board.
Yes, that should work.could i use a 5v relay instead and use the arduino?
Yes, but it's likely cheaper just to buy a 12V wallwort to power the relays.could i use a 5v relay instead and use the arduino?