FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12615 questions

14984 answers

23964 comments

46769 members

0 votes
206 views 0 comments
by

Hello,

Would you please help to let me know how to wire a push button as a digital input (D1) ? I have set pin-D1 as digital input.

I have wireed the +9V of the power supply to + pin; and 0V of the power supply to - pin.

How to wire a push button as digital input to D1 pin?

Do I need to link the GND pin to the - pin with a wire?

Thanks!

1 Answer

0 votes
by

Hello,

Button Configuration Example. 

In the following, example will be provided how to connect the button to the router in order to change Digital Input status. Such example, could be used as a panic button scenario, where the router will send SMS/Email message to recipients with predefined message once the button is pressed.

Regards.