DIP switch

DIP switch
Slide style dip switch
Rocker style dip switch

DIP switches are manual electric switches that are packaged in a group in a standard dual in-line package (DIP) (the whole package unit may also be referred to as a DIP switch in the singular). 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.


DIP switch types

There are many different kinds of DIP switches. Some of the most common are the rotary, slide, and rocker 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 SPST (single-pole, single-throw) 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 DIP package can also be interpreted as one number. For example, seven switches offer 128 combinations, allowing them to select a standard ASCII character. Eight switches offer 256 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.[1] Typically, the device's firmware reads the DIP switches when the device is powered on.estepitarts


DIP switches were extensively used in ISA PC cards to select IRQs and memory addresses. They were also often used on arcade games in the 1980s and early 1990s to store settings before the advent of cheaper, battery-backed RAM, and 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 remote not only allows for convenience (such as not having to fully awaken to get out of bed if installed in a bedroom), but also to control the fan motor speed and light dimmer, which cannot be installed at the wall switch without separate circuits. 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.

Other types of remote controls use a fixed frequency in each unit, with a set of different frequencies used. For example, a control for table lamps or Christmas lights might be shipped from the vendor to the store in cases of six units, containing one unit each of frequencies A, B, C, D, E, and F, or two each of A, B, and C. Still others have DIP switches that choose between A/B/C on half of the units, and D/E/F on the other half of the units made, for example.

Rotary switches are also used in X10 home automation to select house and unit numbers. Each of the two has 16 positions, encoding four bits to create an eight-bit (one-byte) address for each unit (up to 28 or 256). Rotary switches are also used in some radio transmitters (particularly VHF and FM broadcast) to select the DC bias used to set the voltage-controlled oscillator, which determines the center frequency of the carrier wave output.


  1. ^ US Patent 5010445 Patent for a DIP switch with built-in active interfacing circuitry.

External links

Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Dip switch — may refer to: DIP switch, dual in line package switch Dip switch, part of an automotive headlamp This disambiguation page lists articles associated with the same title. If an internal link led you here, you ma …   Wikipedia

  • DIP switch — DIP stands for Dual In line Package. DIP switches are a group of small switches placed together, usually on electronic equipment. Many modems have these. The switches can be changed to alter various settings. For example, one DIP switch on a… …   Dictionary of telecommunications

  • DIP Switch —   [engl.], DIP Schalter …   Universal-Lexikon

  • dip-switch — dip′ switch n. aum brit. chiefly brit. a switch for dimming headlights …   From formal English to slang

  • dip|switch — «DIHP SWIHCH», noun. British. a switch for dimming the headlights of an automobile: »Switches for the screenwasher and wipers…come immediately to hand, and there is a floor button dipswitch (London Times) …   Useful english dictionary

  • dip switch — dip ,switch noun count BRITISH a DIMMER on a car …   Usage of the words and phrases in modern English

  • dip switch — UK / US noun [countable] Word forms dip switch : singular dip switch plural dip switches British a switch for making the headlights at the front of a car point downwards …   English dictionary

  • DIP-Switch — DIP Schalter (8 fach) DIP Schalter (scherzweise auch „Mäuseklavier“ genannt), sind kleine Schalter, die beispielsweise auf der Hauptplatine oder anderen Leiterplatten verwendet werden, um bestimmte Grundeinstellungen vorzunehmen. Die Abkürzung… …   Deutsch Wikipedia

  • dip switch — /ˈdɪp swɪtʃ/ (say dip swich) noun a switch that lowers the beams of a vehicle s headlights. Also, dipper switch …  

  • DIP switch —    A small switch used to select the operating mode of a device, mounted as a dual in line package. DIP switches can be either sliding or rocker switches, and they are often grouped for convenience. They are used in printed circuit boards, dot… …   Dictionary of networking

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”