i have purchased a relay https://www.amazon.co.uk/gp/product/B0794T8ZDL/ref=oh_aui_detailpage_o04_s03?ie=UTF8&psc=1
and once ive wired it up the led flashes to show it should be on or off but doesn't actually power it on. what wires should be in relay ant which should be attached from the motor and power supply side is it black or red? other equipment i am using 12 volt pump also have a powersupply for it all works when is with out relay
getting quite annoyed
Alex_Fairley:
getting quite annoyed
For problems with Arduino itself, NOT your project
You and me both
sorry how do i change it
Alex_Fairley:
sorry how do i change it
Already moved it.
Please take some time to read the "How to use this forum" topics.
the relay module requires 12VDC on the power input pins.
this is a separate power supply just for the relays.
the relay module has a place for each of your input pins.
you did not mention which pins you are using or what board you are using, or what voltage the board is.
assuming you have a 5 volt board, like and UNO or NANO. that should be good.
without a data sheet, I ASSUME that the 5v board ground gets tied to your power supply ground.
The jumpers on the left are to pick if a 5volt will turn on the relay, or if a 5 volt signal will turn off the relay.
what is not known is if the board has dropping resistors. put a 330 ohm between your output pin and the input pin on the relay to see if it will work.