Tilt Switch Module KY020

30,00 EGP

In stock

Compare
SKU: MD-27996 Categories: , , Tags: , , ,

Tilt Switch Module KY020

3PIN Tilt Switch Module KY020 3.3-5V STANDARD TILT SWITCH SENSOR MODULE FOR ARDUINO
Feature:
  • Tilt Switch Module KY020 and a digital interface, built-in 13 LED build a simple circuit to produce tilt warning lamp 13 comes with digital interfaces of the LED
  • The tilt switch sensor interface to access digital 3,when the tilt open Off sensor senses a key signal, LED lights, otherwise off.
  • Working voltage: 3.3V~5V
  • Digital switch output (0 & 1)
  • High sensitivity
Routines source code:
  • int Led = 13 ;// define LED Interface
  • int buttonpin = 3; // define the tilt switch sensor interfaces
  • int val ;// define numeric variables val
  • void setup()
  • {
  • pinMode(Led, OUTPUT) ;// define LED as output interface
  • pinMode(buttonpin, INPUT) ;// define the output interface tilt switch sensor
  • }
  • void loop ()
  • {
  • val = digitalRead(buttonpin) ;// digital interface will be assigned a value of 3 to read val
  • if(val == HIGH) // When the tilt sensor detects a signal when the switch, LED flashes
  • {
  • digitalWrite(Led, HIGH);
  • }
  • else
  • {
  • digitalWrite(Led, LOW);
  • }
  • }
Package includes:
  • 1 x Tilt Switch Sensor Module
Tilt Switch Module KY020

Tilt Switch Module KY020

Tilt Switch Module KY020

Tilt Switch Module KY020

3f1cfc18 3eec 41da 874c 1cfc196f6b48

4b3f1f68 05c7 482d ad06 7f3877aea448

0d3bbcdf 6884 4afa 9512 dc2aeb8718ff

c7699abc 8025 4c91 b89f b42b4d9d9e1b

9e5f69d4 0385 49cd b3e5 aa484513c2df

77d3ddc6 12b7 40b1 9111 c25749018e66

70c9448e 65bb 4b41 81eb 5d1f5b030f7e

More Detailed Photos:

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module For Arduino

Additional information

Weight 0,04 kg
Dimensions 2,3 × 1,6 × 0,5 cm

Main Menu

0
YOUR CART
  • No products in the cart.