stanwin00
Posts: 37
Joined: Tue Aug 06, 2019 9:55 am

Exit button on Raspberry PI

Thu Sep 19, 2019 9:47 am

Hi, I am trying to figure out how to wire a door exit button to my Pi Access system and I do know the code to utilise the GPIOs to activate the switch.

My questions are as follows:

1) Will it matter if my push exit button says 10A 250V? If no - does this mean I can use ANY type of button?
2) Will it be better if i Wire the push button to the NO part of the relay I already have attached to my pi? The relay controls the EM lock which is wired to NC of the relay and a 12 V power supply.

Appreciate any guidance here.

Thank you.

User avatar
Burngate
Posts: 6313
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Exit button on Raspberry PI

Thu Sep 19, 2019 10:28 am

stanwin00 wrote:
Thu Sep 19, 2019 9:47 am
Hi, I am trying to figure out how to wire a door exit button to my Pi Access system and I do know the code to utilise the GPIOs to activate the switch.
Not sure what you mean - a switch is an input device. It doesn't need "activating" - it just works
1) Will it matter if my push exit button says 10A 250V? If no - does this mean I can use ANY type of button?
If "10A 250V" is written on the switch, it means "Don't use this switch to control more than 10A or more than 250V"
It doesn't say anything about what you could use instead.
2) Will it be better if i Wire the push button to the NO part of the relay I already have attached to my pi? The relay controls the EM lock which is wired to NC of the relay and a 12 V power supply.
Surely you don't want to connect the switch (an input device) to any part of the relay (an output device)

Draw a diagram of what you want to achieve, and post it here.

stanwin00
Posts: 37
Joined: Tue Aug 06, 2019 9:55 am

Re: Exit button on Raspberry PI

Thu Sep 19, 2019 6:14 pm

Thank you. That explains and answers my questions. I will just proceed to wire the switch to one of the gpios then :) cheers.

User avatar
Imperf3kt
Posts: 3674
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Exit button on Raspberry PI

Thu Sep 19, 2019 11:12 pm

Note that 10A 250v sounds like an AC rating, it won't be the same for DC.
55:55:44:44:4C
52:4C:52:42:41

Return to “Troubleshooting”