DIP Switch Symbol

DIP Switch symbol
The DIP Switch symbol (IEC 60617 / ANSI Y32.2).

Definition: The DIP Switch symbol represents an array of independent SPST switches packaged in a dual in-line package — here a 4-way unit with eight terminals (1 In/1 Out through 4 In/4 Out, one input-output pair per switch) — drawn as a rectangle enclosing a row of small switch paddles, each an individual make/break contact per IEC 60617 contact conventions.

Also known as: DIP switch, dual in-line package switch, dip switches, address switch, configuration switch, piano switch, 4-way DIP switch, slide DIP switch.

What the DIP Switch symbol means

The DIP switch symbol denotes a bank of miniature on/off switches sharing one IC-style package: 'DIP' is literally 'dual in-line package', the same 2.54 mm (0.1") pin-pitch footprint as a classic through-hole chip, so the part drops into an IC socket or standard perfboard grid. Each position is an electrically independent SPST contact — switch 1 connects 1 In to 1 Out when on, and so on — with no shared common unless the PCB provides one. The package exists to set configuration, not to switch loads: each closed contact typically pulls a logic line to ground (or Vcc) through the board wiring, encoding a bit.

That bit-per-switch character is the whole point. A 4-way DIP switch encodes 2⁴ = 16 binary combinations; an 8-way encodes 256. Before EEPROM and touch interfaces, DIP switches were how you set a device's address, mode, baud rate or option flags — and they persist wherever settings must be visible at a glance, survive power loss with zero components, and be changeable in the field without a computer: DMX lighting addresses, garage-door remote codes, industrial sensor modes, RS-485 node IDs and motherboard/legacy ISA card configuration.

How to identify the DIP Switch symbol

The symbol is a rectangle containing a row of small parallel switch elements — usually drawn as tiny paddles, half-filled boxes, or miniature SPST contact symbols — one per position, with a terminal leaving each side of every element. Position numbers 1–4 (or 1–8) label the elements, and the physical part carries an 'ON' legend along one edge, which schematics often reproduce. Terminals line up in two rows exactly like IC pins; on a 4-way part, pins 1–4 face pins 8–5 in DIP numbering, though schematic pin naming as 1 In/1 Out per switch is clearer and common.

Distinguish it from a single slide switch (one element, not an array), from a rotary-coded 'DIP' switch (a rotary dial in a DIP footprint that encodes BCD/hex on four output pins — different symbol), and from jumper headers (pin pairs bridged by shunts, drawn as header symbols). Actuator styles — slide, rocker, piano (side-actuated) — do not change the symbol.

Function in a circuit

Each closed switch simply completes its In-to-Out path; each open switch leaves it broken. In the canonical hookup, every Out pin ties to a microcontroller or logic input with a pull-up resistor to Vcc, and every In pin goes to ground: switch ON reads logic 0, OFF reads logic 1 (firmware often inverts so ON = 1). The pull-ups (discrete, resistor-network, or the MCU's internal ones) are mandatory — an open switch otherwise leaves the input floating. Reading the four lines as a nibble yields the configured value 0–15.

DIP switch contacts are specified for 'dry circuit' or logic-level duty: gold-plated contacts rated tens of milliamps, intended to be operated rarely (dozens to a few thousand cycles, sometimes specified as low as 20 operations for set-and-forget types) and often only while power is off, since many devices read them once at boot. They are not power switches and not user interfaces for frequent toggling — that is what proper toggles, tactile buttons and encoders are for.

Standards: IEC vs ANSI

IEC 60617IEC 60617 has no dedicated DIP-switch symbol; the array is drawn as multiple independent make-contacts within one package outline per the general contact rules. Component quality/performance is covered by IEC 61020-1 (electromechanical switches for electronic equipment).
ANSI/IEEE 315ANSI Y32.2 / IEEE 315 likewise composes the symbol from multiple SPST contacts in a package rectangle; EIA-448 series test methods and JEDEC DIP mechanical outlines (2.54 mm pitch) standardise the North American physical package.
Key differenceNeither standard defines a special DIP-switch glyph, so drawings on both sides show a boxed row of small SPST contacts and differ only in contact styling (IEC line-contact strokes vs ANSI toggle dots). The 'DIP' designation itself refers to the JEDEC-style dual in-line mechanical package, not to any drawing-standard entity.

Terminals / pins

PinName
in11 In
out11 Out
in22 In
out22 Out
in33 In
out33 Out
in44 In
out44 Out

Typical values

Typical through-hole DIP switch ratings: 25 mA at 24 V DC switching (non-switching carry 100 mA), the common Omron/CTS-class spec; some series rate 100 mA at 6 V DC or 50 mA at 30 V DC. Contact resistance ≤50–100 mΩ initial (gold-plated contacts for dry-circuit reliability); insulation resistance ≥100 MΩ; operating life commonly 1,000–10,000 operations per position (set-and-forget types as low as 20). Pitch 2.54 mm; positions 1–12 with 4, 8 and 10 the most common; SMD half-pitch (1.27 mm) variants exist. Operate only within logic-level currents — never mains, never motor loads.

Where the DIP Switch symbol is used

Example

In a 4-bit address selector for an RS-485 sensor node, the DIP switch's 1 In, 2 In, 3 In and 4 In pins all tie to ground while 1 Out–4 Out connect to microcontroller inputs PA0–PA3, each with a 10 kΩ pull-up to 3.3 V; setting switches 1 and 3 ON pulls PA0 and PA2 low, and firmware reading the inverted nibble computes address 0b0101 = 5 — one of 16 addresses selectable with no EEPROM, visible at a glance, and retained through any power loss.

Key facts

Frequently asked questions

How do you read a DIP switch with an Arduino or microcontroller?

Wire each switch's In pin to ground and each Out pin to a GPIO configured with an internal (or external ~10 kΩ) pull-up. A switch that is ON reads LOW (0) and OFF reads HIGH (1); invert in firmware if you want ON = 1. Read all positions and assemble them into a binary value — four switches give 0–15. Debouncing is rarely needed since the switches aren't toggled during operation, but read them at boot if your device only applies settings at startup.

How do DIP switches set a DMX address?

DMX-512 fixtures use 9 binary-weighted switches (values 1, 2, 4, 8, 16, 32, 64, 128, 256) to set the start address 1–511: switch on the combination that sums to the desired address. For address 21, switch on 1 + 4 + 16 (switches 1, 3 and 5). Some fixtures add a tenth switch for options or use an offset-by-one convention (all off = address 1), so always check the fixture's manual — but the binary-sum principle is universal.

Can a DIP switch carry power or switch a mains load?

No. DIP switch contacts are miniature, gold-plated, dry-circuit parts typically rated around 25 mA at 24 V DC switching (100 mA carry). They have no arc suppression, minimal contact gap and no safety approvals for mains isolation. Switching mains, motors, relays or anything inductive will arc, weld or destroy them. Use them exclusively to set logic levels, and let transistors, relays or properly rated switches handle the load.

What is the difference between a DIP switch and a jumper?

Both set hardware configuration bits, but a jumper is a removable shunt bridging two header pins — losable, fiddly, but nearly free and capable of slightly higher current — while a DIP switch is a captive bank of switches that can't fall off, shows its settings in a labelled row, and is changed with a pen tip in seconds. Boards that expect field reconfiguration favour DIP switches; set-once factory options often stay jumpers. Electrically both just close a contact between two points.

Why does my device ignore DIP switch changes until I power cycle it?

Most firmware samples configuration switches once during boot and caches the value, because settings like addresses and modes must not change mid-operation. The switches still physically changed state — the software simply isn't looking. This is by design and documented in most manuals ('changes take effect after restart'). If live reconfiguration matters, choose devices that poll their switches, or in your own designs re-read the DIP inputs periodically or on an interrupt.

Related symbols

Place the DIP Switch symbol on a wiring diagram or schematic in the free online circuit diagram maker — no download required.