What is a switch?

From ROBOTC API Guide
Jump to: navigation, search

A switch is a very simple electronics component. At the most basic level, a switch just connects and disconnects parts of a electric circuit. VEX currently manufactures two types of switches, the limit switch and the bump switch. Although they look very different, their function is exactly the same. Both can be classified as Single Pole, Single Throw (SPST) switches, which will either have the terminals connected or disconnected based on the state of the switch. Additionally, the switches are momentary push buttons, which means that they will naturally be open (disconnected) until they are pressed, which closes the switch and connects the terminals. As soon as the switch is no longer being pressed it will return to being open.

VEX bumper switch and limit switch, respectively.

Notepad.gif TODO: replace with the correct symbol for the momentary SPST switch. see http://www.kpsec.freeuk.com/components/switch.htm for more info.

Schematic symbol for a SPST switch