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:
“... there are two types of happiness and I have chosen that of the murderers. For I am happy. There was a time when I thought I had reached the limit of distress. Beyond that limit, there is a sterile and magnificent happiness.”
—Albert Camus (19131960)
“The rank and file have let their servants become their masters and dictators.... Provision should be made in all union constitutions for the recall of leaders. Big salaries should not be paid. Career hunters should be driven out, as well as leaders who use labor for political ends. These types are menaces to the advancement of labor.”
—Mother Jones (18301930)
“The American man is a very simple and cheap mechanism. The American woman I find a complicated and expensive one. Contrasts of feminine types are possible. I am not absolutely sure that there is more than one American man.”
—Henry Brooks Adams (18381918)