Home Back

Switches and Buttons


open and closedSwitches and buttons can either be normally open (NO) or normally closed (NC) ... these are important terms to know.

A normally open switch is open (i.e it does not complete the circuit) until you operate it.

A normally closed switch completes the circuit until you operate it and then the circuit is broken

The two push buttons shown look identical but the red one is Normally Open - when you push the button the contacts close and the circuit is complete. The black push button is Normally Closed - when you push the button the contacts open and the circuit is broken.

Types of Switches

spst spst Single Pole Single Throw (SPST): This is the most basic ON/OFF switch. An example might be a switch on a plug socket which is either On or OFF.

Single Pole means there is just one switch - one wire in and one wire out. On each of the switches shown there are only two contacts.

Single Throw means there is one position where the circuit is complete, in the other position the circuit is broken.

spdt spdt Single Pole Double Throw (SPDT): This switch has two positions, both of which can be used to complete the circuit and hence it is called a Double Throw - there are two positions where the circuit is complete.

A SPDT switch is used to provide stairwell lighting where the lights can be switched on from either the top of the bottom of the stairs. A SPDT switch is sometimes referred to as a change-over switch as it changes the connection from one circuit to another.

dpst dpst Double Pole Single Throw (DPST): This is a pair of single pole switches that are electrically separate but are linked to the same mechanical switch. When you switch the switch, both switches switch together.

A DPST switch is often used for switching mains operated devices as both the Live and Neutral wires are switched on or off simultaneously.

dpdt dpdt Double Pole Double Throw (DPDT): This is a pair of double pole switches that are electrically separate but mechanically linked.

An interesting use of a DPDT switch is to reverse the polarity of a motor. DPDT switches are also useful for routing signals in audio equipment where two separate switches are needed for the left and right stereo channels.

rotary switch rotary switch Rotary Switch: This switch can chose one of many positions. This is the sort of switch that might be used as an input selector on a HiFi. The switches come with different numbers of poles, the one shown in the diagram is a 4 pole rotary switch. The photograph is of a stereo 6 pole rotary switch meaning there are two independent switches on the same rotary shaft, each with 6 switch positions.

DIL switch DIL switch Dual In Line (DIL) Switch: These switches can be used to create inputs to logic circuits or to set digital values for a logic circuit. The switches are mechanically and electrically separate but are physically joined in a convenient block which can be more than just the four switches shown in the diagrams.

micro Micro Switch: A micro switch is NOT a very small switch - very small switches do exist but these are just switches. A micro switch is one that requires a very small force to operate it - one that is easy to switch. Micro switches are used in sensors and control equipment.

reed switch Reed Switch: A switch that is operated by a magnetic field. The two poles of the switch are made from magnetic material. Holding a magnet near to one side of the switch induces a magnetic field in the metal contact which is then attracted to the other contact completing the circuit. The reed switch is usually enclosed in a coil of wire, a current in the coil causes the reed switch to close. In this sense the reed switch is much like an electromagnetic relay and is some times called a reed relay.

proximity Proximity Switch: A switch that is operated when something is nearby but no physical contact is necessary. The example shown is part of an alarm circuit on a fire door. The brown block on the door frame (right hand side) is a reed switch in this case and the brown block on the door (left hand side) is a magnet. There are other types of proximity switch that do not involve magnets.

key Key Switch: A switch that is operated by a key such as the ignition switch on a car.

button button button Push buttons: These switches generally turn on when you push them and turn off again when you release them. On the examples shown there are four legs but the push button is a simple switch needing only two contacts. The four legs are actually two pairs of legs and pushing the button connects one pair of legs to the other. Four legs are useful to stop the push button falling over.

Wiring a push button on protoboard

protoboard Wire the push buttons up carefully, they don't work if you get them the wrong way around. Also try and keep the buttons at one edge of the board. If you have many buttons label then with stickers and a pen or use different colours to distinguish the functions of the buttons. Notice the flat side on the button to allow for correct orientation in the board. The diagram shows a push button with a pull up resistor and a second push button with a pull down resistor. See the protoboard page for more details.