Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Switches | ||||||||
Line: 27 to 27 | ||||||||
| ||||||||
Added: | ||||||||
> > |
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.
![]() | |||||||
-- ![]() Comments | ||||||||
Line: 42 to 49 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||||||||||||||||
> > |
SwitchesThere 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 buttonThe 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.
Mercury switchesThere 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.
Reed SwitchesA 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.
![]() Comments
|