I am new to electricity & electronics, and I'm interested in using this "On-Off-On-Off" pushbutton in a project. I want to just make sure that I understand how its intended to be wired:
In that diagram above, it looks like I'm supposed to wire the middle pin to power/PWR
. It also looks like I'm supposed to wire both the left and right pins to other (independent) "left" and "right" circuits, and eventually wire them both back to ground/GND
.
If that's correct, then I believe what will happen is:
- I push the button for the 1st time, and it will route power from the middle pin to the left-most pin (thus providing power to whatever circuit that leads to).
- Then I push the button a 2nd time, and the switch turns off (no power to either left- or right-circuits).
- I push the button for the 3rd time, and it will route power from the middle pin to the right-most pin (thus providing power to whatever circuit that leads to).
- Finally, I push the button a 4th time, and again the switch turns off (no power to either left- or right-circuits).
- This pattern repeats indefinitely
Is my understanding of the wiring and behavior here correct, or am I way off base?
Best Answer
The linked page explains it fairly clearly:
Your understanding of the sequence is correct but we can summarise it in tabular form:
I can't think of too many useful applications for this.
Note that by connecting A and B together you can make a simple press to toggle switch.