Difference between revisions of "Collision Switch Module"
From Wiki
(→Experimental Procedures For Arduino) |
(→Experimental Procedures For Arduino) |
||
Line 59: | Line 59: | ||
|} | |} | ||
[[File:Collision Switch Module(Fritzing).png]] | [[File:Collision Switch Module(Fritzing).png]] | ||
+ | '''Step 2''': Compile and upload the code | ||
+ | Using SunFounder Uno |
Revision as of 09:33, 3 September 2019
Contents
Introduction
The Crash sensor is a miniature snap-action switch. It is also known as micro switch, an electric switch activated by a small physical force.
feature
- Special module with ports compatible with the expansion board of sensor.
- Output low level when the module is activated; keep outputting high level at the state of release.
- Applied in the detection of collision and touching impact.
Introduction of Pins
Introduction of Pins | |
OUT |
Switching signal output |
VCC |
positive pole |
GND |
negative pole |
principle
Getting an impact, the switch outputs low level, or else it outputs high level.
Experimental Procedures For Arduino
Step 1: Connect the circuit:
Creshsensor | Uno Board |
VCC | 5V |
GND | GND |
D0 | 2 |