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 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 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. Typically, the device's firmware reads the dip switches when the device is powered on.
Read more about this topic: Dip Switch
Famous quotes containing the word types:
“The bourgeoisie loves so-called positive types and novels with happy endings since they lull one into thinking that it is fine to simultaneously acquire capital and maintain ones innocence, to be a beast and still be happy.”
—Anton Pavlovich Chekhov (18601904)
“Science is intimately integrated with the whole social structure and cultural tradition. They mutually support one otheronly in certain types of society can science flourish, and conversely without a continuous and healthy development and application of science such a society cannot function properly.”
—Talcott Parsons (19021979)
“The wider the range of possibilities we offer children, the more intense will be their motivations and the richer their experiences. We must widen the range of topics and goals, the types of situations we offer and their degree of structure, the kinds and combinations of resources and materials, and the possible interactions with things, peers, and adults.”
—Loris Malaguzzi (19201994)