Changes between Version 6 and Version 7 of ControlSystems/Electrical/Training/Arduino/Lesson3
- Timestamp:
- Nov 3, 2019, 4:48:03 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/Electrical/Training/Arduino/Lesson3
v6 v7 29 29 30 30 == Switch terminology == 31 There are many different types of switches (push button, toggle, knife, etc.), but there is some standard terminology engineers use to describe switches electrically that you should learn along with their schematic symbols: [[Image( https://s.yimg.com/fz/api/res/1.2/ugnRSPnAeeUVpznBx2_30g--/YXBwaWQ9c3JjaGRkO2g9MjgwO3E9OTU7dz01Mzc-/http://slab.concordia.ca/wp-content/uploads/2009/08/spdt.png, align=right)]]31 There are many different types of switches (push button, toggle, knife, etc.), but there is some standard terminology engineers use to describe switches electrically that you should learn along with their schematic symbols: [[Image(switch_symbols.png, align=right,width=250,margin=10)]] 32 32 * SPST = Single-Pole, Single-Throw: your push button switch has two leads that are either open or closed 33 33 * SPDT = Single-Pole, Double-Throw: a switch with three leads: a common lead that is connected to one of the other two leads based on the switch position. 34 34 * DPST = Double-Pole, Single-Throw: two SPST switches with a single control 35 35 * DPDT = Double-Pole, Double-Throw: two SPDT switches with a single control 36 [[Image(reed_switch.jpg,align=left,width=128,margin=10)]] 36 37 Every possible combination can be found; you can read a clear explanation [http://www.musicfromouterspace.com/analogsynth_new/ELECTRONICS/pdf/switches_demystified_assembly.pdf here] (with good pictures) 37 38 38 39 Switches are mechanical, but you don't necessarily have to touch a switch to operate it. Magnets are commonly used to open or close a switch. [https://www.sparkfun.com/products/8642 Magnetic reed switches] are frequently used in alarm systems where a magnet in a door or window opens or closes a switch mounted on the frame. In robotics, a magnet could be mounted on a moving arm and reed switches can be used to determine when the magnet is nearby. 40 39 41 **Exercise**: Use a magnet to operate a reed switch 42 [[BR]][[BR]] 40 43 41 44 == Potentiometer (a variable resistor) ==