EasyManua.ls Logo

ADEEPT Ultimate Sensor Kit for Raspberry Pi - Lesson 7 Controlling an LED by Reed

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 7 Controlling an LED by Reed
Introduction
Reed switch is a special magnet-sensitive switch. Inside the glass tube, the reed sheets
placed in parallel with a gap between compose the normally-open contact. When a
magnet approaches the reed switch, or after the coil wrapped on the reed is electrified and
a magnet field comes into existence thus magnetizing the reed, the contact of the reed will
sense it and become the opposite pole. Due to the principle that different poles attract
each other, when the magnetic force is larger than resistance of the reed, the open
contacts (sheets) are closed; when the magnetic force decreases to a certain degree, the
resistance takes charge again and the reed will back to the original state.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * Reed Module
- 1 * LED Module
- 2 * 3-Pin Wires
Experimental Principle
The Fritzing image:
The Physical picture:
Pin definition:
S
Output

Table of Contents