Wish List 0

Ky 017 Mercury Medallion Module For Uno R3

Rs. 29.00 Rs. 35.00

  • Product Code: SEN-VIB
  • SKU -
  • Availability: In Stock
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-This module consists of a mercury switch, a 680Ω resistor and a LED that will light up when tilt is detected.
-The mercury ball will open/close the circuit when the module is rotated
-Mercury switch module and digital 13 interface comes with LED to build a simple circuit, the production of tilt lights with the digital 13 interfaces comes with the LED, the mercury tilt switch sensor access to digital 3 interfaces, when the mercury tilt switch sensor has a button signal, LED light, and vice versa.
SPECIFICATIONS:
Operating Voltage    3.3V to 5.5V
Length (mm)          22
Width (mm)           24
Height (mm)          25
Weight (gm)          2
Shipment Weight      0.03 kg
Shipment Dimensions  10 × 10 × 10 cm

OVERVIEW:

-This module consists of a mercury switch, a 680Ω resistor and a LED that will light up when tilt is detected.

-The mercury ball will open/close the circuit when the module is rotated

PACKAGE INCLUDES:

1 PCS x Ky 017 Mercury Sensor


//SOURCE CODE TAKEN FROM BELOW LINK

//https://sensorkit.en.joy-it.net/index.php?title=KY-017_Tilt_switch_module

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 signal at the sensor will be read

   

  if (val == HIGH) // If a signal was noticed, the LED will be on.

  {

    digitalWrite (Led, LOW);

  }

  else

  {

    digitalWrite (Led, HIGH);

  }

}

15 days

Write a review

Please login or register to review