Forum >How to use Relay Shield V2.1
General

How to use Relay Shield V2.1

userHead Neo SpiritZero 2015-04-18 20:46:57 3767 Views2 Replies
Does anybody know how to connect two input, a button and a sensor to the relay shield, but only want one output to control a solenoid?

Relay Module has Input, 5V and Ground pin, so which pins is connected to the relay for Relay Shield?
2015-04-21 04:53:02 I want to do something like this,
http://learn.robotgeek.com/demo-code/124-arduino-solenoid-tutorial-button-demo.html
but with the Relay Shield V2.1, I don't know where to connect the button and this
https://www.dfrobot.com/wiki/index.php?title=Relay_Module_(Arduino_Compatible)_(SKU:_DFR0017)#Pin_Definition
that control the relay.
userHeadPic Neo SpiritZero
2015-04-20 19:30:21 Hi Neo,

there's a wiki page that could help.I don't know if it was your current-using module.
https://www.dfrobot.com/wiki/index.php/R ... KU:DFR0144)

and for your project, the button and the sensor should be connect to the arduino digital pin as input, and the relay module dose as output.

Good luck! :)
userHeadPic Leff