Page 1 of 1

How to : 12v relay with RPI

Posted: Fri Mar 24, 2017 8:05 am
by sagar502
i am beginner i dont know where to post question


but my que is i have rpi3 with 12v relay module
now i want to switching 12v relay using RPI3 but i dont know how !!!
plz help me guys how to make connections and any external power source needed??

Re: How to : 12v relay with RPI

Posted: Fri Mar 24, 2017 8:56 am
by drgeoff
We need details of the relay module. Ane details of what you are intenfing to switch with the relay will not go amiss either.

Re: How to : 12v relay with RPI

Posted: Fri Mar 24, 2017 3:27 pm
by sagar502
drgeoff wrote:We need details of the relay module. Ane details of what you are intenfing to switch with the relay will not go amiss either.

i have this 12v relay module and want to turn on-off lights using GPIO this relay and RPi3 now how to do this plz help http://www.ebay.in/itm/332068677111?aff_source=Sok-GoogImage

Re: How to : 12v relay with RPI

Posted: Sat Mar 25, 2017 12:22 am
by klricks
sagar502 wrote:
drgeoff wrote:We need details of the relay module. Ane details of what you are intenfing to switch with the relay will not go amiss either.
i have this 12v relay module and want to turn on-off lights using GPIO this relay and RPi3 now how to do this plz help http://www.ebay.in/itm/332068677111?aff_source=Sok-GoogImage
You forgot to mention what type of lights, voltage etc.

It is important to understand that a 12V relay uses 12V to operate the coils..... it does not provide 12V power for whatever is connected to the relays.

Also note that the relay contact rating is totally different than the coil rating. The relay contact rating from the ebay listing: AC250V 10A ; DC30V 10A...... So whatever lights you use must be <= to the rating shown.

Normally for the RPi you would use a 5V relay board then use 5V power from the RPi board to power the relays.

If the lights you want to control are 12V then your 12V relay board can be used. The 12V power source you use for the lights can also be used for the 12V relay coils. (... assuming the RPi and relay board is close to the power source).

If the lights are not 12V then you would need a separate 12V power supply for the relay + whatever power source is needed for the lights. (Or get a 5V relay board).

Re: How to : 12v relay with RPI

Posted: Sat Mar 25, 2017 6:20 am
by sagar502
thank you so much :D
i ordered 5v relay module today
i want to control room light or bulb using this relay now please tell me i have now [ 2 relay module (5v and 12v) ]
which one is use for 10v light using upcoming 230v ac power supply in-short i want to remotely operate home lights using rpi 3
i have 5v relay module this..... http://www.amazon.in/Generic-Channel-Re ... ge_o00_s00

i want to do this..... http://projects.privateeyepi.com/home/on-off-project
thank you so much for helping