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.
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.
jaksonlee
PermalinkA 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.
- Log in or register to post comments
Joined November 07, 2019 124Thursday at 04:25 PM