DIP switch

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
An early DIP switch (1976)
A slide-style DIP switch
A rocker-style DIP switch

A DIP switch is a manual electric switch that is packaged with others in a group in a standard dual in-line package (DIP). The term may refer to each individual switch, or to the unit as a whole. This type of switch is designed to be used on a printed circuit board along with other electronic components and is commonly used to customize the behavior of an electronic device for specific situations.

DIP switches are an alternative to jumper blocks. Their main advantages are that they are quicker to change and there are no parts to lose.

US Patent 3,621,157 is the earliest known DIP switch patent. The patent discloses a rotary style DIP switch invented by Pierre P. Schwab. Schwab's patent application was filed on June 1, 1970, and the patent was granted on November 16, 1971.

The DIP switch with sliding levers was granted US Patent 4012608 in 1976.[1] It was applied for 1974 and was used in 1977 in an ATARI Flipper game.[2]


There are many different kinds of DIP switches. Some of the most common are the slide, rocker, piano (side), and rotary types.

Rotary DIP switches contain multiple electrical contacts, one of which is selected by rotating the switch to align it with a number printed on the package. These may be large like thumbwheels, or so small that a screwdriver must be used to change them (although there are also small potentiometers of this type).

The slide and rocker types, which are very common, are arrays of simple single pole, single throw (SPST) contacts, which can be either on or off. This allows each switch to select a one-bit binary value. The values of all switches in the package can also be interpreted as one number. For example, seven switches offer 128 (27) combinations, allowing them to select a standard ASCII character. Eight switches offer 256 (28) combinations, which is equivalent to one byte.

The DIP switch package also has socket pins or mounting leads to provide an electrical path from the switch contacts to the circuit board. Although circuits can use the electrical contacts directly, it is more common to convert them into high and low signals. In this case, the circuit board also needs interface circuitry for the DIP switch, consisting of a series of pull-up or pull-down resistors, a buffer, decode logic, and other components.[3] Typically, the device's firmware reads the DIP switches when the device is powered on.

With the popularization of surface-mount technology, these switches are now commonly available in non-DIP surface-mount package types. They are, however, still referred to as "DIP switches", as the term has become associated with the style of switch.


Slide / rocker / piano DIP switches are commonly available in 1 to 12 contacts (positions) SPST,[4][5] though some are available as special order up to 30 contacts (positions).[6]


DIP switches were used extensively in ISA architecture of PC expansion cards to select IRQs and memory addresses. Before the advent of cheaper, battery-backed RAM, DIP switches were also often used on arcade games in the 1980s and early 1990s to enter game settings such as difficulty or the number of credits per coin. DIP switches were very commonly used to set security codes on garage door openers as well as on some early cordless phones. This design, which used up to 12 switches in a group, was used to avoid RF interference from other nearby door opener remotes or other devices. Current garage door openers use rolling code systems for better security.

These type of switches were used on early video cards for early computers to facilitate compatibility with other video standards. For example, CGA cards allowed for MDA compatibility.

Recently (since the late 1990s), DIP switches have become less common in consumer electronics. Reasons include the trend toward smaller products, the demand for easier configuration through software menus, and the falling price of non-volatile memory. However, DIP switches are still widely used in industrial equipment because they are inexpensive and easy to incorporate into circuit designs, and because they allow settings to be checked at a glance without powering the system on.

DIP switches are still used in some remote controls to prevent interference; for example, to control a ceiling fan (and its light fixture) that was retrofitted to a single-circuit junction box. The DIP switches set a different radio frequency for each transmitter/receiver pair, so that multiple units can be installed in different rooms of the same house, or different units of the same apartment building, without unintentionally controlling each other.


  1. ^ US Patent 4012608 Miniature switch with substantial wiping action
  2. ^ ATARI Airborne Avenger Service Manual, TM-102, 1st printing 1977
  3. ^ US Patent 5010445 Patent for a DIP switch with built-in active interfacing circuitry
  4. ^ "DIP Switch Catalog" (PDF). C&K Switches. Archived (PDF) from the original on October 11, 2018. Retrieved October 11, 2018.
  5. ^ "DIP Switch Group". Tayda Electronics. Archived from the original on October 11, 2018. Retrieved October 11, 2018.
  6. ^ "30-position Slide DIP Switch, Part# 3-5161390-0". TE Connectivity. Archived from the original on October 11, 2018. Retrieved October 11, 2018.

External links

  • DIP Switches (5MB PDF) - C&K Switches - Archive
  • DIP Switches (1MB PDF) - CTS - Archive
  • DIP Switches - Grayhill - Archive
  • DIP Switches (33MB PDF) - TE Connectivity - Archive
Retrieved from "https://en.wikipedia.org/w/index.php?title=DIP_switch&oldid=863531970"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/DIP_switch
This page is based on the copyrighted Wikipedia article "DIP switch"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA