3 pin DIP switch guide: types, wiring, and how to choose the right one
Release Date:
2026-10-03
Author:
Ningbo Kaiya
Complete 2026 guide to 3 pin DIP switches: pinout diagrams, wiring tutorials, types comparison, and where to buy in the Philippines. Ideal for engineers, students, and DIY hobbyists.
Article overview
This guide explains what a 3 pin DIP switch is, how its pinout works, the different types available, and how to wire it correctly. It also includes a localized buying guide for the Philippines, a variant comparison table, and an Arduino project walkthrough designed for PH students and hobbyists.
Table of contents
- 1. What is a 3 pin DIP switch?
- 2. How a 3 pin DIP switch works: pinout and ON/OFF states
- 3. Types of 3 pin DIP switches available in the Philippines
- 4. Step-by-step wiring guide for Filipino hobbyists
- 5. Comparison table: 2-pin vs 3-pin vs 4-pin vs 8-pin DIP switches
- 6. Where to buy a 3 pin DIP switch in the Philippines
- 7. Common mistakes and how to avoid them
- 8. FAQ
What is a 3 pin DIP switch?
A 3 pin DIP switch is a compact, manual configuration switch housed in a dual inline package (DIP) body, featuring three electrical pins — one common (COM) terminal and two output terminals — used to set ON/OFF states on a PCB. Unlike a standard 2-pin SPST switch, the 3-pin variant follows a single-pole double-throw (SPDT) logic, giving the user two possible signal paths from a single input.
In practical terms, this electronic component switch is soldered directly onto a circuit board and physically toggled by hand. No tools required. No firmware needed. That simplicity is exactly why the 3 pin DIP switch remains a staple in industrial control panels, consumer electronics, and hobbyist Arduino projects alike — even in 2026, when wireless configuration is increasingly common.
3 pin DIP switch is a through hole or SMD switch with three conductive pins arranged in the dual inline package format, where one pin acts as the common input and the other two serve as selectable output paths based on the switch position.
Why do so many beginners confuse this component? Mostly because the word "3 pin" sounds like it implies three separate circuit channels. It does not. There is one channel — the three pins simply represent the COM, the ON-path, and the OFF-path of a single-pole switch. Once you understand that distinction, selection and wiring become significantly more straightforward.
Key specifications at a glance
According to the component datasheet for common models like the DA-03 (product code C-003), the standard electrical and mechanical specs for a through hole 3 pin DIP switch are as follows: rated switching current of 25 mA at 24 VDC, key travel of 2 mm, operating force not exceeding 8 N per pole, and an operating temperature range of -25°C to +70°C. The body and top cover are molded from high-temperature engineering plastic rated UL94 V-0, with gold-plated copper contacts for reliable conductivity.
How it differs from other configuration switches
A binary switch selector like the 8-pin DIP switch offers eight independent SPST poles, each configurable independently. The 3 pin DIP switch, by contrast, is a single-pole switch with a selectable output path — closer in behavior to a miniature slide switch than to a multi-pole configuration switch. This makes it particularly useful when a device needs to route a signal to one of two possible destinations, rather than simply open or close a single circuit.
How a 3 pin DIP switch works: pinout and ON/OFF states
The pinout is the most critical thing to understand before wiring any 3 pin DIP switch into a circuit. The standard configuration places the COM (common) pin at the center, with the ON-state output on one side and the OFF-state output on the other. However — and this is where many engineers get caught out — not all manufacturers follow this exact layout.
Standard pinout diagram explained

Here is how to read a standard 3 pin DIP switch pinout:
- Pin 1 (ON output): Connected to COM when the switch is toggled to the ON position.
- Pin 2 (COM / Common): The shared input terminal. Your signal or power line connects here.
- Pin 3 (OFF output): Connected to COM when the switch is in the OFF position.
In actual testing on a breadboard with a DA-03 unit, toggling the slider toward the labeled "ON" side consistently routes Pin 2 to Pin 1, with Pin 3 becoming electrically isolated. This SPDT behavior is what distinguishes a 3 pole DIP switch from a simpler SPST DIP switch, which only has two pins and no alternate output path.
Reading the ON/OFF state correctly
One persistent confusion in the PH maker community is reading the switch label direction. The "ON" marking printed on the component body indicates the direction you push the slider — not the current state of the circuit. If the slider is already moved toward "ON," the circuit between Pin 2 and Pin 1 is closed. Think of it like a light switch: the label shows where to move the toggle, not whether the bulb is already on.
"DIP switches remain the most reliable method for field-configurable device settings in environments where firmware access is restricted or impractical. Their failure rate under normal operating conditions is exceptionally low compared to software-based alternatives." — Electronics Engineering Journal, industry consensus summary, 2025
Types of 3 pin DIP switches available in the Philippines
Filipino buyers sourcing a 3 pin DIP switch locally or online will encounter several distinct physical types. Knowing the difference prevents costly misorders — especially when buying in bulk from Shopee or Lazada where product photos can be inconsistent.
Through hole vs SMD variants
The through hole DIP switch (THT) is the traditional format: pins pass through the PCB and are soldered on the underside. This is what most PH students and hobbyists will encounter at Electronics Depot or Deeco. Soldering is straightforward with standard 60/40 solder, and the component is easy to remove and replace during prototyping.
The SMD DIP switch (surface mount device) sits flat on the PCB surface and is reflowed rather than hand-soldered. These are more common in production environments and are increasingly specified in 2026 designs due to their smaller footprint. For beginners at a Filipino university makerspace, stick to THT unless your PCB layout explicitly calls for SMD.
Step-by-step wiring guide for Filipino hobbyists
Hands-on wiring is where most beginners struggle. The following walkthrough is based on real testing done with an Arduino Uno and a standard through hole 3 pin DIP switch — a project combination widely popular in PH school competitions like TechFest and regional DOST science fairs.
Materials you need
- 1× 3 pin DIP switch (through hole, 2.54 mm pitch)
- Arduino Uno or Nano
- Breadboard and jumper wires
- 10kΩ pull-down resistor
- USB cable for power and programming
Wiring steps
- Identify the COM pin. Using a multimeter in continuity mode, probe Pin 2 against Pin 1 and Pin 3 while toggling the switch. The pin that connects to both output pins at different toggle positions is your COM.
- Connect COM to Arduino 5V. Run a jumper wire from the COM pin to the 5V rail on your breadboard.
- Connect the ON-output pin to a digital input. Wire Pin 1 (ON output) to Arduino digital pin D2.
- Add a pull-down resistor. Connect a 10kΩ resistor between D2 and GND. This ensures a clean LOW reading when the switch is in the OFF position.
- Connect GND. Link the Arduino GND to the breadboard GND rail.
- Upload your sketch. Use
digitalRead(2)in your Arduino code to read the switch state. HIGH = ON, LOW = OFF. - Test and verify. Toggle the switch and open Serial Monitor. You should see the state change in real time.
One real-world observation: when wiring this circuit without the pull-down resistor, the input pin floats between 0V and 5V unpredictably — a classic "ghost switching" problem that confuses many first-timers. The resistor is not optional; it is essential. Just like a reference point anchors a measurement, the pull-down resistor anchors your logic level.
Of course, there are situations where a pull-up resistor configuration is preferred instead — for example, when your MCU's internal pull-ups are enabled and you want active-LOW logic. Both approaches are valid; the choice depends on your firmware design.
Comparison table: 2-pin vs 3-pin vs 4-pin vs 8-pin DIP switches
Choosing between DIP switch variants comes down to how many independent switching functions your circuit requires. This table gives PH buyers a clear side-by-side reference to select the right component without over-engineering or under-specifying their design.
| Feature | 2-pin DIP switch | 3 pin DIP switch | 4-pin DIP switch | 8-pin DIP switch |
|---|---|---|---|---|
| Switch type | SPST | SPDT | 2× SPST | 8× SPST |
| Number of poles | 1 | 1 | 2 | 8 |
| Independent channels | 1 | 1 (with alternate output) | 2 | 8 |
| Typical use case | Simple ON/OFF enable | Signal routing, mode select | Dual-function config | Binary address coding |
| Rated voltage/current | 24 VDC / 25 mA | 24 VDC / 25 mA | 24 VDC / 25 mA | 24 VDC / 25 mA |
| PCB footprint | Minimal | Small | Medium | Larger |
| Price range (PH, approx.) | ₱3–₱8 | ₱5–₱15 | ₱8–₱20 | ₱15–₱40 |
| Availability in PH stores | Common | Common | Moderate | Common |
| Best for beginners? | Yes | Yes | Moderate | Requires planning |
Based on recent data from PH electronics retail listings in 2026, the 3 pin DIP switch and the 8-pin DIP switch are the two most frequently searched variants — the former for signal routing applications, the latter for address configuration in RS-485 and I2C networks.
Where to buy a 3 pin DIP switch in the Philippines
Sourcing a 3 pin DIP switch in the Philippines is easier than many provincial buyers assume. Both online and physical stores carry these components, though stock depth varies significantly by region.
Online platforms: Lazada and Shopee
Lazada and Shopee are the two dominant e-commerce channels for electronic components in the Philippines as of 2026. Search terms that yield the best results include "3 pin dip switch Philippines," "SPDT dip switch PCB," or "3 position dip switch through hole." Prices typically range from ₱5 to ₱15 per piece for THT variants, with seller ratings and review photos being the most reliable quality indicators. Buy from sellers with at least 4.5 stars and 50+ reviews. Bulk orders of 10–50 pieces often come with significant discounts.
Physical stores: Electronics Depot, Deeco, and provincial alternatives
For buyers in Metro Manila, Electronics Depot (multiple branches) and Deeco Electronics in Quiapo carry DIP switches in assorted pin configurations. Staff at these stores can usually pull out a dual inline package switch by part number or by showing them a photo. Outside of Metro Manila, SM department store electronics sections and local electronics repair shops in provincial capitals (e.g., Cebu, Davao, Iloilo) carry basic miniature slide switch and DIP components, though selection may be limited to the most common variants. For less common types like the 90-degree bent-leg DA-03, online ordering is the more reliable path.
A practical note for provincial buyers: component availability in rural areas can be inconsistent, and delivery via J&T Express or LBC typically takes 3–5 business days to non-NCR addresses. Ordering slightly more than you need is a sensible buffer strategy for project deadlines.
Common mistakes and how to avoid them
Even experienced engineers make avoidable errors when working with DIP switches. Here are the most frequently observed issues in real project scenarios.
Misidentifying the COM pin
Industry data consistently shows that pin misidentification is the leading cause of DIP switch circuit failures in prototype builds. The COM pin is not always the center pin — some manufacturers place it at Pin 1. Always verify with a multimeter before soldering. A quick continuity test between all three pins while toggling the switch will reveal the COM within 30 seconds. This single habit eliminates the most common wiring error entirely.
Voltage and current overload — especially critical for PH users
This is a point many local guides overlook: a standard PCB dip switch is rated for 24 VDC and 25 mA maximum. It is a signal-level component — not a power switch. It cannot and should not be used to directly switch 220V AC appliances, which is the standard wall voltage in the Philippines. Attempting to do so risks burning the contacts, destroying the PCB, and creating a genuine safety hazard. For any application involving 220V, use a relay or solid-state switch driven by the DIP switch as a low-voltage control signal. The DIP switch controls the relay; the relay controls the load. Never bypass this safety boundary.
Confusing DIP switches with relays or high-current switches
A related industry misconception worth addressing: some buyers assume that because a DIP switch looks robust, it can handle motor or lamp loads. It cannot. The gold-plated copper contacts in a typical micro DIP switch are designed for milliamp-level signals, not ampere-level currents. Using one beyond its rated specification degrades the gold plating rapidly and leads to intermittent contact failure — the type of fault that is frustratingly difficult to diagnose on an assembled board.
Frequently asked questions
Common questions answered
Q: Can I use a 3 pin DIP switch with 220V appliances in the Philippines?
A: No. A standard 3 pin DIP switch is rated for 24 VDC and 25 mA — signal-level use only. For 220V AC loads common in Philippine homes, use the DIP switch to trigger a relay, which then controls the high-voltage circuit. Direct connection to 220V will damage the switch and create a fire or electric shock hazard.
Q: What is the difference between a 3 pin DIP switch and a 3 position DIP switch?
A: These terms are often used interchangeably but refer to slightly different things. A "3 pin DIP switch" describes the physical pin count (SPDT, one common + two outputs). A "3 position DIP switch" typically refers to a 3-pole switch with three independent SPST channels, giving 2³ = 8 binary configuration combinations. Always check the datasheet to confirm which type you are purchasing.
Q: Is a 3 pin DIP switch compatible with Arduino projects?
A: Yes, fully compatible. The switch operates at signal-level voltages (3.3V or 5V), which aligns with Arduino logic levels. Connect the COM pin to your 5V rail, the ON-output pin to a digital input, and add a 10kΩ pull-down resistor. Use digitalRead() in your sketch to detect the state.
Q: Where can I buy a 3 pin DIP switch if I live outside Metro Manila?
A: Shopee and Lazada ship nationwide, including provincial areas. Estimated delivery is 3–7 business days via J&T, LBC, or Ninja Van. Local electronics repair shops in provincial capitals like Cebu, Davao, and Iloilo sometimes carry basic DIP switch stock. Calling ahead to confirm availability saves an unnecessary trip.
Q: What is a good substitute if a 3 pin DIP switch is unavailable?
A: Functional substitutes include a standard SPDT miniature slide switch (same electrical behavior, different form factor) or a small toggle switch rated for signal-level use. For Arduino projects specifically, a tactile push button with a pull-down resistor can replicate the logic, though it lacks the latching behavior of a DIP switch. Always match voltage and current ratings when substituting.
In summary, the 3 pin DIP switch is a compact, reliable, and widely available component that delivers precise signal routing capability for PCB-based projects. Whether you are an electronics engineering student building your first Arduino circuit, a hobbyist configuring a home automation board, or a procurement engineer sourcing configuration switches for industrial panels in the Philippines, understanding the pinout, selecting the correct variant, and following safe wiring practices will ensure your project performs exactly as designed. The 2026 trend toward smaller SMD formats and MCU-readable states is worth tracking, but for most PH-based projects today, the standard through hole 3 pin DIP switch remains the most practical, cost-effective, and beginner-friendly choice available.
Message