KY-002 |
|
Part Number | KY-002 |
Manufacturer | Joy-IT |
Description | KY-002 Vibration-switch module KY-002 Vibration-switch module Contents 1 Picture ........ |
Features |
connected.
Export: 16.06.2017
Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Page 16 of 214
KY-002 Vibration-switch module
Pinout
Code example Arduino
This example will activate a LED as soon as the sensor detects a signal. The modules KY-011, KY-016 or KY-029 can be used as a LED.
int Led = 13 ;// Declaration of the LED output pin int Sensor = 10; // Declaration of the Sensor input pin int val; // Temporary variable void setup () {
pinMode (Led, OUTPUT) ; // Initialisation output pin pinMode (Sensor, INPUT) ; // Initializstion sensor pin digitalWrite(Sensor, HIGH); // Activating... |
Document |
KY-002 Data Sheet
PDF 354.90KB |
Distributor | Stock | Price | Buy |
---|
No. | Part # | Manufacture | Description | Datasheet |
---|---|---|---|---|
|
|
Joy-IT |
Temperature sensor module |
|
|
|
Joy-IT |
Hall Magnetic Field Sensor |
|
|
|
Joy-IT |
Button-module |
|
|
|
Joy-IT |
Infrared Transmitter module |
|
|
|
Joy-IT |
Passiv Piezo-Buzzer module |
|
|
|
IMRAD |
Laser module |
|
|
|
ETC |
Laser sensor module |
|
|
|
ETC |
Laser module |
|
|
|
ETC |
Laser head sensormodule |
|
|
|
AZ-Delivery |
Laser Transmitter module |
|