4 pin push button switch current rating guide: avoid overload failures

2026-11-10

HOSONG Button

Article overview

A 4 pin push button switch is a four-leg momentary switch. Its legs are joined in two internal pairs, so it acts as one normally open contact with a small current limit. This guide shows how to read the current rating, identify the pairs with a multimeter, wire the part to Arduino and ESP32, and buy sensibly in Malaysia, so your next 4 pin push button switch survives its load.

How a 4 pin push button switch is wired inside

A 4 pin push button switch contains two permanently joined leg pairs, and pressing the cap bridges them. Four legs therefore do not mean four independent contacts. Electrically you still get one on/off path.

A 4 pin push button switch refers to a momentary single-pole, single-throw (SPST) tactile switch with four terminals that are internally paired. Sold as a 4 terminal push button switch, tactile switch 4 pin or mini push button switch, it is a normally open push button switch: the circuit stays open at rest and closes only while you hold the actuator down. It is usually a PCB mount part, although panel mount versions exist.

Which legs are connected in a 4 pin push button switch?

On most 6×6 mm parts, the two legs on the same side are joined by a metal plate, and the dome under the cap connects the two sides when pressed. In bench checks on a handful of generic switches, that pattern held every time, yet some manufacturers rotate the pairing by 90 degrees. So why gamble? Wire across a diagonal instead. A diagonal always takes one leg from each pair, so the switch works in either orientation. Standard 6×6 mm footprints commonly use leg spacing of about 6.5 mm by 4.5 mm, which is why parts from different makers often swap without re-layout, though you should confirm against the drawing.

4 pin push button switch internal connection diagram

Can a 4 pin push button switch replace a 2 pin switch?

Yes, electrically, provided the footprint and rating fit. Use one diagonal pair and let the other legs add solder strength. The common misconception is that the extra legs give a second circuit. They do not; they are parallel pairs that mainly improve mechanical stability. A 4 pin push button switch cannot control two separate loads, and a true double-pole push button is a different part. For background on the mechanism, see Wikipedia's push button switch entry, while the button and switch basics tutorial from SparkFun explains pull-ups and pinouts.

Reading the current rating on a 4 pin push button switch

The current rating is the largest load the contacts can switch repeatedly without welding, pitting or sticking, and it is printed together with a voltage. Labels such as 12 V DC, 50 mA appear on many small tactile switches, but values differ by series and manufacturer, so confirm on the datasheet. Treat the figure as a ceiling for a clean resistive load, never as a target.

Rated, switching and carrying current

Datasheets separate three ideas. Switching current is what the contacts make or break. Carrying current is what flows once they are closed. Minimum load is the smallest signal that still keeps the contact surface clean. Tactile parts are generally designed for low-level logic and small DC loads, so the 4 pin push button switch on your board is happiest feeding a microcontroller input with well under a milliamp. Overload is not only about amperes, either. Higher voltage sustains a longer arc as the contacts part, which accelerates wear.

Resistive, inductive and lamp loads

Load type changes the real stress. A resistor or LED is gentle, whereas a relay coil, solenoid or motor produces a voltage spike when current is interrupted. A cold lamp filament or a large capacitor draws a surge at the moment of closing. A common engineering habit, which is a rule of thumb rather than a standard, is to keep inductive loads well below half of the stated rating.

Load typeWhat happens at the contactsPractical action
Logic inputMicroamp-level current, minimal arcingIdeal use; add pull-up
LEDSteady currentSeries resistor required
Relay coil, solenoidInductive spike on releaseFlyback diode or transistor driver
MotorStart surge plus spikeUse driver or relay
Lamp, capacitorInrush at closingSoft-start or driver stage
Paraphrased from Microchip's ATmega328P datasheet and Arduino documentation: keep DC current per I/O pin at or below 20 mA in normal use, because 40 mA is an absolute maximum rating, not a design target.

Datasheet parameters worth comparing

Ratings vary between makers, so this table lists the fields to compare rather than universal numbers.

ParameterWhat it tells youHow to use it
Rated voltage and currentMaximum resistive loadStay well below
Contact resistanceClosed-state qualityLower is better for signals
Insulation resistanceLeakage between legsMatters in humid sites
Operating forcePress effortMatch to user and cap
Electrical life (cycles)Expected operations at rated loadValid only at stated load

Does a 4 pin push button switch handle mains or motors?

No. A tactile switch is a signal component. Malaysia's household supply is 230 V AC, and switching it needs a purpose-rated switch, correct creepage distances and installation by a registered electrician. Even a doorbell push button switch is normally wired to a low-voltage bell circuit from a transformer, or it works wirelessly, and its housing is built for outdoor wear. Where you must control a heavy load, let the small switch command a relay, MOSFET or contactor. For specific safety questions, consult a qualified professional.

Identify the pairs on a 4 pin push button switch with a multimeter

Set a multimeter to continuity, probe the legs in pairs, and the two pairs that beep at rest are your internal connections. Pressing the cap should then make every cross-pair combination beep. The whole test takes about a minute.

Step-by-step continuity test

  1. Remove power and, if the part is on a board, desolder or isolate the 4 pin push button switch.
  2. Set the meter to continuity, or to its lowest ohms range.
  3. Probe legs 1–2, 2–3, 3–4 and 4–1 with the switch released, and note which pairs beep.
  4. Hold the cap down and repeat; all four legs should now read as connected.
  5. Mark the always-connected pairs, then take one leg from each pair for your circuit.
Probe pairReleasedPressedMeaning
Two legs of one pairBeepBeepPermanent internal link
Leg from pair A to pair BOpenBeepSwitching path
Any pair, erraticFlickerFlickerWorn or contaminated

Reading the results

If all four legs beep at rest, the switch is shorted or stuck. If nothing beeps when pressed, the dome is fatigued or a leg is cracked. Intermittent readings suggest contamination or contact wear, the typical aftermath of overload. Watch the numeric resistance too, because a closed contact that reads erratically will later show up as double-triggering. Of course, a handheld meter cannot reveal microsecond bounce; that needs an oscilloscope.

Common test mistakes

Probing while the part is still soldered into a circuit gives false beeps through parallel paths. Pressing too lightly is another trap, since the dome needs its full travel. Beep thresholds also differ between meters, so read the ohms value when in doubt.

Types and sizes of 4 pin push button switch

The main variants split by size, action, mounting and sealing, and the right choice follows the load and the enclosure rather than the price. Begin with the action, then the footprint.

VariantTypical useMountingRating note
6×6 mm tactileMicrocontroller inputsDIP or SMDSignal level; verify datasheet
12mm tactile push button switchFront-panel boardsPCB mountBigger body, easier to press
Latching typePower or mode holdPCB or panelOwn rating; do not assume
Metal panel buttonMachine panels12–40 mm holeUse maker's rating
IP67 sealedOutdoor, wearablePCB or panelIP code is not current capacity

Momentary versus latching

A momentary push button switch returns to open on release, which suits a microcontroller reading a press event. A latching push button switch stays closed until pressed again, so it behaves like a power switch. Latching versions are often larger, and their current rating can differ from momentary siblings, so never assume a rating transfers. A latching 4 pin push button switch may also use different internal pairing, which makes the datasheet pinout the only safe reference.

PCB mount versus panel mount

A PCB mount push button switch solders to the board, which leaves one mechanical decision: the cap must align with an enclosure hole. A panel mount push button switch bolts through the enclosure, and metal series commonly offer mounting holes of 12, 16, 19, 22, 25, 30 or 40 mm, so measure your cut-out before ordering. Some catalogues list quick-connect high-current buttons; quote the maker's rating rather than guessing. The switch types chapter on All About Circuits is a good primer on contact configurations.

Waterproof and doorbell options

A waterproof push button switch relies on a sealed body, and IP67 variants exist for wearables, automotive and outdoor equipment. Remember that an IP code describes dust and water ingress under IEC 60529, not electrical capacity. A doorbell push button switch in Malaysia's humid, rainy climate benefits from a sealed housing, yet the bell circuit is still best installed by a competent person.

Wiring a 4 pin push button switch to Arduino, ESP32 and Raspberry Pi

Connect one diagonal leg to a GPIO pin and the opposite diagonal leg to ground, then enable the internal pull-up resistor. That is the simplest reliable wiring, and it needs no external resistor. For any micro push button switch Arduino project, the official pushbutton wiring example follows the same idea.

Pull-up, debounce and test code

A floating input reads random noise, so it needs a defined resting level. With INPUT_PULLUP the pin reads HIGH at rest and LOW when pressed. Contact bounce lasts a few milliseconds, therefore a 20 ms software lockout is a sensible start. Hardware fans can add a 100 nF capacitor across the switch; with a 10 kΩ pull-up the time constant is 10,000 × 0.0000001 = 1 ms.

  1. Place the 4 pin push button switch across the breadboard centre gap so each pair sits on its own side.
  2. Wire one leg to D2 and the diagonal leg to GND.
  3. Upload the sketch below.
  4. Press the button and confirm the LED toggles exactly once per press.
const int BTN = 2;
const int LED = 13;
bool last = HIGH;
unsigned long t = 0;
void setup() {
  pinMode(BTN, INPUT_PULLUP);
  pinMode(LED, OUTPUT);
}
void loop() {
  bool s = digitalRead(BTN);
  if (s != last && millis() - t > 20) {
    t = millis(); last = s;
    if (s == LOW) digitalWrite(LED, !digitalRead(LED));
  }
}

ESP32 works the same at 3.3 V, but GPIO 34 to 39 are input-only without internal pull-ups, so add an external 10 kΩ resistor there. Raspberry Pi GPIO is also 3.3 V logic, so never feed it 5 V, and use the library's built-in pull-up setting. A 10 kΩ pull-up at 5 V passes only 0.5 mA when the 4 pin push button switch closes, far below any tactile rating.

LED current-limiting resistor calculation

Use R = (V supply − Vf) ÷ I. Assuming a red LED with a forward voltage near 2.0 V (check your part) and a 10 mA target, the results are below, rounded up to the next standard value.

SupplyCalculated RStandard valueActual current
3.3 V130 Ω150 Ω8.7 mA
5 V300 Ω330 Ω9.1 mA
12 V1,000 Ω1 kΩ10 mA

Lit versions need extra care: match the supply voltage to the built-in LED and add a series resistor unless the maker states one is included.

Overload failures in a 4 pin push button switch

Most failures trace to three causes: too much current, an inductive spike, or a missing resistor. Spotting the symptom early saves the board.

Symptoms that point to overload

SymptomLikely causeFix
Needs several pressesPitted contactsReplace; reduce load
Cap sticks downWelded or fatigued domeReplace; add driver
Double triggersBounce, no debounce20 ms lockout or RC filter
LED deadNo or wrong resistorRecalculate, replace LED
Warm, discoloured bodySustained overcurrentStop and review load

In my experience reviewing hobby boards, the most frequent culprit is the unprotected inductive load, not mechanical wear. Why do people overlook it? Because everything works fine for the first week.

Illustrative case: a relay coil wired straight to the switch

Consider a hypothetical 12 V relay with a 160 Ω coil. By Ohm's law the coil draws 12 ÷ 160 = 75 mA. If the 4 pin push button switch is labelled 50 mA, the load is already 50% over its rating before counting the release spike. The contacts pit, the press becomes unreliable, and weeks later the project "randomly" fails. It is like driving a lorry over a footbridge: the structure was never designed for that weight.

How to fix an overloaded circuit

Let the switch drive a logic input and let a transistor, MOSFET or relay module carry the load. Add a flyback diode across any coil, such as a 1N4007 for small relays, with the stripe toward the positive supply. Now the 4 pin push button switch carries microamps, and the real current flows through parts built for it. Of course, many ready-made relay modules already include this protection, so check before doubling up.

Selection flow and buying a 4 pin push button switch in Malaysia

Choose by load, footprint, action and environment, then verify the supplier's datasheet and compliance documents. Five questions are enough.

Five-step selection flow

  1. Define the load: voltage, current, and whether it is resistive or inductive.
  2. Pick a rating with generous margin, then confirm it on the datasheet.
  3. Match the footprint: 6×6 mm or 12 mm, DIP or SMD, and the cap height against the enclosure hole.
  4. Choose action and sealing: momentary or latching, standard or IP67.
  5. Confirm stock, lead time and compliance paperwork before ordering.

Local sourcing, compliance and lead time

For a push button switch in Malaysia, buyers typically choose between marketplaces such as Lazada and Shopee, maker-focused electronics retailers, and franchised distributors like element14 and RS. Prices change often, so compare per-piece cost rather than pack price. For example, a hypothetical pack of 50 switches at RM12.50 works out to RM0.25 each, before shipping. Ask sellers for datasheets and RoHS declarations. SIRIM certification generally concerns finished regulated electrical products rather than loose tactile components, so confirm requirements with your supplier or the relevant authority if you are building a product for sale. In 2026, AI-driven demand is tightening capacity for conventional components, so allow longer lead times and approve alternates.

Market context for 2026

IndicatorFigureSource
Global tactile switch market, 2025USD 7.62 billionFortune Business Insights
Annual growth rate8.79%Fortune Business Insights
Malaysia's share of global semiconductor back-endAbout 13%UNCTAD, 2025

Demand for miniature, ultra-low-profile SMD and IP67 sealed parts keeps rising with wearables and automotive electronics, which explains why a plain 4 pin push button switch can still see price and delivery shifts.

Frequently asked questions

Q: How many wires does a 4 pin push button switch need?

A: Only two. Pick one leg from each internal pair, ideally the diagonal corners, and leave the others for mechanical strength. The extra legs do not create a second independent circuit.

Q: What current can a 4 pin push button switch handle?

A: It depends on the series, so read the datasheet. Many small tactile switches are rated for low-voltage DC at tens of milliamps, which suits logic signals, not motors or mains. Use a relay or MOSFET for anything larger.

Q: Do I need a resistor with a 4 pin push button switch on Arduino?

A: Not an external one if you use INPUT_PULLUP, because the internal pull-up holds the pin high. An LED, however, always needs a series resistor sized with R = (V − Vf) ÷ I.

Q: Where can I buy a push button switch in Malaysia?

A: Lazada, Shopee, local maker electronics stores and distributors such as element14 and RS all stock them. Compare datasheets, per-piece price in RM and delivery time, and request RoHS information for products you plan to sell.

A 4 pin push button switch is simple, but its small contacts demand respect. Confirm the paired legs with a multimeter, wire across a diagonal, keep the load far below the datasheet rating, and let a transistor or relay carry anything inductive. Add the right pull-up, debounce and LED resistor, and buy with documents in hand. Do that, and your 4 pin push button switch should last far longer in your 2026 build.

Previous:

MESSAGE

Leave a Message Online

*Note: Please ensure that all information is accurate and keep your contact details up to date. We will get in touch with you as soon as possible.

%{tishi_zhanwei}%

Contact Information

Contact: Manager Zhang (Business Department)

Phone:+86 0769-86302535-8808

Mobile phone:+86 18025227237

E-mail:hosong@hosong.cn

Address: No. 2, Industrial Road No. 1, Xiajiangcheng, Gaobu Town, Dongguan City, Guangdong Province, China