Tags:
create new tag
view all tags

Switches

There is quite a variety of different types if switches starting from a simple push button to reed switches which are sensitive to magnetic field, mercury switches and the "magic cup" as well as the relay, which allows to control high power signals with a low power signal.

The push button

The simplest switch device is a pushbutton. It short-circuits 2 pins if pushed and opens them when release. The little PCB board contains a 10 kΩ resistor, which can be used to pull up one of the 2 leads to a Vcc voltage level and which can be switched to ground by pushing the switch.

pushbutton.png pbschematic.png
The pushbutton Circuit diagram of
pushbutton PCB

Mercury switches

There are 2 different types of Mercury switches which contain a small mercury ball short-circuiting 2 leads. When the device is tilted the mercury flows away from the leads and the contact opens. Both PCBs contain a Mercury switch and a LED connected in a different way however. There are 2 PCBs with a mercury switch and a big LED which can be operated directly from 3.3V without an additional current limiting resistor. These PCBs are also called "magic cups" because they can be programmed such that you can "pour light" from the LED of one PCB to the other by inclining the board.

newmercury.png mercurySwitchSchematic.png
Mercury switch its circuit diagram

newmagicCup.png magicCupCircuit.png
The magic Cup its circuit diagram

The Ball Switch

The ball switch works exactly the same way as the mercury switch. The only difference is that the mercury blob is replaced by a metal ball. However, the ball switch PCB does not include an LED but just a 10 k resistor and its diagram corresponds to the one of the pushbutton.

ballSwitch.png

Reed Switches

A Reed switch reacts on magnetic fields and creates a short circuit when a strong enough magnetic field is in its neighborhood. The reed switch comes in 2 versions which however have essentially the same functionality. While the first one is mounted on a PCB by itself (again with a 10 kΩ resistor that can be used to pull one of the leads up to Vcc) the other one is mounted on a PCB which is normally used for analogue sensors.

miniReed.png bigreed.png
simple reed switch reed switch on analogue board

A special switch is the relay, which contains 2 independent circuits: The primary, low power circuit which activates a magnetic switch through which a high power secondary circuit gets powered. In our case we can switch a 220 V circuit with a mere 3.3V signal.

To test this circuit we will however only switch a LED on a 5 V circuit with a signal from the primary 3.3V circuit.

relay.png

-- Uli Raich - 2017-01-15

Comments

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng ballSwitch.png r2 r1 manage 707.1 K 2017-01-28 - 12:22 UnknownUser ball switch
PNGpng bigreed.png r1 manage 588.4 K 2017-01-15 - 19:14 UnknownUser reed switch on analogue board
PNGpng magicCupCircuit.png r1 manage 5.0 K 2017-01-28 - 12:43 UnknownUser schematic of mercury switches
PNGpng mercurySwitchSchematic.png r1 manage 4.0 K 2017-01-28 - 12:43 UnknownUser schematic of mercury switches
PNGpng miniReed.png r1 manage 2054.5 K 2017-01-15 - 19:11 UnknownUser simple reed switch
PNGpng newmagicCup.png r1 manage 754.8 K 2017-01-28 - 12:16 UnknownUser mercury switches
PNGpng newmercury.png r1 manage 720.1 K 2017-01-28 - 12:16 UnknownUser mercury switches
PNGpng pbschematic.png r2 r1 manage 8.5 K 2017-01-28 - 12:03 UnknownUser pushbutton circuit diagram
PNGpng pushbutton.png r1 manage 2273.8 K 2017-01-15 - 19:11 UnknownUser push button
PNGpng relay.png r1 manage 3347.8 K 2017-02-04 - 13:47 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2017-02-04 - uli
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback