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 3621157, filed in 1970 by Pierre Schwab, [1] is the earliest known DIP switch patent, which discloses a rotary style DIP switch.
US patent 4012608, filed in 1975 by Joseph Lockard, [2] is a DIP switch with sliding levers, the modern DIP switch.
The slide, rocker, and piano types, which are very common, are arrays of simple single pole, single throw (SPST) contacts, each of 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.
A tri-state type DIP switch can be in one of three positions (+, 0, −) which allows more codes than a binary DIP switch. For example, 8 pole tri-state DIP switches offer 6,561 (38) combinations/codes compared to 8 pole binary switches' 256 (28) combinations/codes. This makes them especially suitable for encoding devices such as a remote controller.
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. Some have a knob that can be turned by fingers, or a small slot that requires a screwdriver to change them. Typically, rotary types are available in two different types of output, 1) a binary encoded output, where 10 (BCD) or 16 (hex) choices are encoded into a 4-bit binary output, or 5 to 8 choices are encoded into a 3-bit binary output. 2) a rotary version of a multipole slide switch where one signal has a choice between multiple connections, such as SPDT, SP3T, SP4T.
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.
Single in-line SIP switches are also available, which only have one row of pins instead of the two rows of pins in DIP packages. This saves on pins and space. One of the pins is a common.
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.
There are many different kinds of DIP switches. Some of the most common are the slide, rocker, piano (side), and rotary types. 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 types 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.
After the late 1990s, DIP switches became less common in consumer electronics. Reasons include the trend toward smaller products, the demand for easier configuration through software menus or plug and play, 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 or address for each transmitter/receiver pair, so that multiple units can be installed without unintentionally controlling each other.
A relay is an electrically operated switch. It consists of a set of input terminals for a single or multiple control signals, and a set of operating contact terminals. The switch may have any number of contacts in multiple contact forms, such as make contacts, break contacts, or combinations thereof.
In electrical engineering, a switch is an electrical component that can disconnect or connect the conducting path in an electrical circuit, interrupting the electric current or diverting it from one conductor to another. The most common type of switch is an electromechanical device consisting of one or more sets of movable electrical contacts connected to external circuits. When a pair of contacts is touching current can pass between them, while when the contacts are separated no current can flow.
A transistor is a semiconductor device used to amplify or switch electrical signals and power. It is one of the basic building blocks of modern electronics. It is composed of semiconductor material, usually with at least three terminals for connection to an electronic circuit. A voltage or current applied to one pair of the transistor's terminals controls the current through another pair of terminals. Because the controlled (output) power can be higher than the controlling (input) power, a transistor can amplify a signal. Some transistors are packaged individually, but many more in miniature form are found embedded in integrated circuits. Because transistors are the key active components in practically all modern electronics, many people consider them one of the 20th century's greatest inventions.
In microelectronics, a dual in-line package is an electronic component package with a rectangular housing and two parallel rows of electrical connecting pins. The package may be through-hole mounted to a printed circuit board (PCB) or inserted in a socket. The dual-inline format was invented by Don Forbes, Rex Rice and Bryant Rogers at Fairchild R&D in 1964, when the restricted number of leads available on circular transistor-style packages became a limitation in the use of integrated circuits. Increasingly complex circuits required more signal and power supply leads ; eventually microprocessors and similar complex devices required more leads than could be put on a DIP package, leading to development of higher-density chip carriers. Furthermore, square and rectangular packages made it easier to route printed-circuit traces beneath the packages.
Transistor–transistor logic (TTL) is a logic family built from bipolar junction transistors. Its name signifies that transistors perform both the logic function and the amplifying function, as opposed to earlier resistor–transistor logic (RTL) and diode–transistor logic (DTL).
A programmable logic device (PLD) is an electronic component used to build reconfigurable digital circuits. Unlike digital logic constructed using discrete logic gates with fixed functions, the function of a PLD is undefined at the time of manufacture. Before the PLD can be used in a circuit it must be programmed to implement the desired function. Compared to fixed logic devices, programmable logic devices simplify the design of complex logic and may offer superior performance. Unlike for microprocessors, programming a PLD changes the connections made between the gates in the device.
A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider. If only two terminals are used, one end and the wiper, it acts as a variable resistor or rheostat.
A breadboard, solderless breadboard, or protoboard is a construction base used to build semi-permanent prototypes of electronic circuits. Unlike a perfboard or stripboard, breadboards do not require soldering or destruction of tracks and are hence reusable. For this reason, breadboards are also popular with students and in technological education.
Zero insertion force (ZIF) is a type of IC socket or electrical connector that requires very little force for insertion. With a ZIF socket, before the IC is inserted, a lever or slider on the side of the socket is moved, pushing all the sprung contacts apart so that the IC can be inserted with very little force - generally the weight of the IC itself is sufficient and no external downward force is required. The lever is then moved back, allowing the contacts to close and grip the pins of the IC. ZIF sockets are much more expensive than standard IC sockets and also tend to take up a larger board area due to the space taken up by the lever mechanism. Typically, they are only used when there is a good reason to do so.
A Hall effect sensor is any sensor incorporating one or more Hall elements, each of which produces a voltage proportional to one axial component of the magnetic field vector B using the Hall effect.
Integrated circuit packaging is the final stage of semiconductor device fabrication, in which the die is encapsulated in a supporting case that prevents physical damage and corrosion. The case, known as a "package", supports the electrical contacts which connect the device to a circuit board.
Programmable Array Logic (PAL) is a family of programmable logic device semiconductors used to implement logic functions in digital circuits that was introduced by Monolithic Memories, Inc. (MMI) in March 1978. MMI obtained a registered trademark on the term PAL for use in "Programmable Semiconductor Logic Circuits". The trademark is currently held by Lattice Semiconductor.
A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to analog or digital output signals.
The Friden Flexowriter was a teleprinter produced by the Friden Calculating Machine Company. It was a heavy-duty electric typewriter capable of being driven not only by a human typing, but also automatically by several methods, including direct attachment to a computer and by use of paper tape.
In electrical wiring, a light switch is a switch most commonly used to operate electric lights, permanently connected equipment, or electrical outlets. Portable lamps such as table lamps may have a light switch mounted on the socket, base, or in-line with the cord. Manually operated on/off switches may be substituted by dimmer switches that allow controlling the brightness of lamps as well as turning them on or off, time-controlled switches, occupancy-sensing switches, and remotely controlled switches and dimmers. Light switches are also found in flashlights, vehicles, and other devices.
A rotary switch is a switch operated by rotation. These are often chosen when more than 2 positions are needed, such as a three-speed fan or a CB radio with multiple frequencies of reception or "channels".
An electronic component is any basic discrete electronic device or physical entity part of an electronic system used to affect electrons or their associated fields. Electronic components are mostly industrial products, available in a singular form and are not to be confused with electrical elements, which are conceptual abstractions representing idealized electronic components and elements. A datasheet for an electronic component is a technical document that provides detailed information about the component's specifications, characteristics, and performance. Discrete circuits are made of individual electronic components that only perform one function each as packaged, which are known as discrete components, although strictly the term discrete component refers to such a component with semiconductor material such as individual transistors.
An electronic symbol is a pictogram used to represent various electrical and electronic devices or functions, such as wires, batteries, resistors, and transistors, in a schematic diagram of an electrical or electronic circuit. These symbols are largely standardized internationally today, but may vary from country to country, or engineering discipline, based on traditional conventions.
Fraunhofer FDK AAC is an open-source library for encoding and decoding digital audio in the Advanced Audio Coding (AAC) format. Fraunhofer IIS developed this library for Android 4.1. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC LC, HE-AAC, HE-AACv2 as well AAC-LD and AAC-ELD for real-time communication. The encoding library supports sample rates up to 96 kHz and up to eight channels.