logo
Recherchez avec le numéro de pièce ainsi que le fabricant ou la description
Preview

KY-017 - Joy-IT

Download Datasheet
Stock / Price

KY-017 Tilt switch module

.............. 1 3 Pinout ............. 2 4 Code example Arduino ...........

Features

16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 71 of 214 KY-017 Tilt switch module Pinout Code example Arduino This example will light up a LED as soon as the tilt module is in the right angle. The modules KY-011, KY-016 or KY-029 can be used as 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) ; // Initialization output pin pinMode (Sensor, INPUT) ; // Initialization sensor pin } void loop () { val = digitalRead (Sensor) ; // The active.

Related Product

No. Partie # Fabricant Description Fiche Technique
1 KY-010
Joy-IT
Light barrier-module Datasheet
2 KY-011
Joy-IT
2-Color (Red+Green) 5mm LED module Datasheet
3 KY-012
Joy-IT
Active Piezo-Buzzer module Datasheet
4 KY-013
Joy-IT
Temperature-Sensor module Datasheet
5 KY-015
Joy-IT
Combi-Sensor Temperature + Humidity Datasheet
6 KY-016
Joy-IT
RGB 5mm LED module Datasheet
7 KY-018
Joy-IT
Photoresistor module Datasheet
8 KY-019
Joy-IT
5V Relais module Datasheet
9 KY-001
Joy-IT
Temperature sensor module Datasheet
10 KY-002
Joy-IT
Vibration-switch module Datasheet
11 KY-003
Joy-IT
Hall Magnetic Field Sensor Datasheet
12 KY-004
Joy-IT
Button-module Datasheet
More datasheet from Joy-IT
Depuis 2018 :: D4U Semiconductor :: (Politique de confidentialité et contact