EasyManua.ls Logo

ADEEPT Ultimate Sensor Kit for Raspberry Pi - Lesson 12 Controlling an LED by Limit Switch

ADEEPT Ultimate Sensor Kit for Raspberry Pi
151 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Lesson 12 Controlling an LED by Limit Switch
Introduction
Limit Switch, or travel switch, can be installed on relatively stationary objects such as
mounting bracket and door frame, or moving objects like car and door. When the moving
object approaches the stationary one, the switch is closed; when the moving one moves
away from the static one, the switch is open.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * Limit Switch Module
- 1 * LED Module
- 2 * 3-Pin Wires
Experimental Principle
The Fritzing image:
The Physical picture:
Pin definition:
S
Output
+
VCC
-
GND

Table of Contents