How to connect the four pins of the tact switch
Tact switches (also known as micro switches) are common components in electronic equipment and are widely used in home appliances, digital products and industrial control fields. The connection method of its four pins directly affects the circuit function. This article will introduce the wiring method in detail, and attach the hot topic data of the entire network in the past 10 days for reference.
1. Tact switch pin structure

| Pin number | Function description |
|---|---|
| Foot No. 1 | Normally open contact (NO) |
| Foot No. 2 | Common terminal (COM) |
| Foot No. 3 | Normally closed contact (NC) |
| No. 4 feet | Mechanical fixing feet (no electrical connections) |
2. Standard wiring scheme
1.Normally open mode wiring: Connect pin 1 (NO) and pin 2 (COM) to the circuit and conduct when pressed.
2.Normally closed mode wiring: Connect pin 3 (NC) and pin 2 (COM) to the circuit. They are on by default and disconnected when pressed.
3.Dual switching wiring:Use NO and NC pins at the same time to achieve circuit switching function
4.fixed foot treatment: Pin No. 4 needs to be welded on the PCB to enhance mechanical stability.
3. Examples of common application circuits
| Application scenarios | Recommended connection method | Typical voltage |
|---|---|---|
| Microcontroller input | NO+COM is connected to the pull-up resistor | 3.3V/5V |
| power switch | NC+COM series circuit | 12-24V |
| Signal switching | Two-way switching connection method | ≤5V |
4. Reference of recent hot topics (last 10 days)
| Ranking | topic | heat index |
|---|---|---|
| 1 | AI large model technology breakthrough | 9.8M |
| 2 | New policy on subsidies for new energy vehicles | 7.2M |
| 3 | Smart Home DIY Tutorial | 5.6M |
| 4 | Semiconductor localization progress | 4.9M |
| 5 | Electronic component out of stock warning | 4.3M |
5. Precautions for wiring
1. Use a multimeter to confirm the switch type (normally open/normally closed) before wiring.
2. For industrial applications, it is recommended to connect arc-extinguishing capacitors in parallel at both ends of the contacts.
3. Pay attention to the impact of pin length on signals in high-frequency scenarios.
4. The welding temperature should be controlled below 260℃ and the welding time should not exceed 3 seconds.
6. Troubleshooting Guide
| Fault phenomenon | Possible reasons | solution |
|---|---|---|
| No response when pressed | NO pin not connected correctly | Check continuity between pins 1-2 |
| Normally powered on | NC pin incorrectly connected | Use NO connection instead |
| Poor contact | Oxidation or staining | Clean contacts or replace switch |
Through the above structured data, the wiring method of the tact switch can be systematically understood. In actual applications, adjustments need to be made based on specific circuit requirements. It is recommended to conduct prototype verification through a breadboard first.
check the details
check the details