LED pushbutton

PB's picture


Joined: Apr 14, 2020

Replies: 0
LED pushbutton
April 17, 2020 - 10:59am

I want to switch on and off an led using two different buttons where one button only switches on the led and the other only switches off the led. Please give me the circuit diagram and explanations. Thanks.

jaksonlee's picture


Joined: Nov 07, 2019

Replies: 122
A Push Button is a type of
April 17, 2020 - 1:16pm

Push Button is a type of switch work on a simple mechanism called “Push-to-make”. Initially, it remains in off state or normally open state but when it is pressed, it allows the current to pass through it or we can say it makes the circuit when pressed.

Technical Shahzad's picture


Joined: May 23, 2020

Replies: 48
LED Control with Push Button
May 31, 2020 - 9:03am

For this, there is a simple way you can use, is to connect your 2 push buttons with arduino or any other micro-controller's digital pins and interface these pins for switch, also connect an LED with another digital pins of the controller board. Now, you have to create a condition for both buttons i.e., when button one is pressed, the LED must be turned ON. Similarly when button two is pressed, the LED must be turned OFF. I hope you will get to the point. Here I would like to suggest you to get connect with the Sierra Software Ltd. platform technical support team for getting better assistance regarding your queries and project online support.