Before wiring, we first need to be clear about the functions of the five pins of the button switch.
Taking ONPOW 5 pin push button switch as an example.
Although push button switches may have different appearances and pin distributions, their functional divisions are mostly the same.
-The first part is the LED pins (marked in red). The function is to provide power to the LED light. There are generally two of them, divided into positive and negative poles. Usually, "+" or "-" will be marked near the pins.
-The second part is the switch pins (marked in blue). The function is to connect the device you need to control. There are generally three of them, with the functions of "common pin", "normally open contact" and "normally closed contact". Usually, "C", "NO" and "NC" will be marked near the pins respectively. Usually we only use two pins. When we use "C" and "NO", a normally open circuit will be formed for the push button. Under normal circumstances, when you press the button, the device you connected will turn on. When we use "C" and "NC", a normally closed circuit will be formed. (What' s normally open or normally close mean?)
The following are relatively common wiring references.
( Before wiring, please ensure that your power supply matches the LED indicator on the button.)
More information