This product may not be available anymore. Click here for similar products.

KY-021 Mini Magnetic Reed Module Details

  • The best price of KY-021 Mini Magnetic Reed Module by TechDepot Egypt in Egypt is 25 EGP
  • Available payment methods are
    Cash on Delivery
  • Delivery fees are 35+ EGP, with delivery expected within 2-4 day(s)
  • The first appearance of this product was on Jul 31, 2016

Technical Specifications

Weight:5 g

TechDepot Egypt's Description

Description

KY-021 Mini Magnetic Reed Connectivity

  • Arduino GND –> Module pin –
  • Arduino +5V –> Module PLUS (middle pin)
  • Arduino Digital pin 3 –> Module S

Code

//// Example code for sensor KY021// More info on http://tkkrlab.nl/wiki/Arduino_KY-021_Mini_magnetic_reed_modules//int Led =13;// define LED Interfaceint buttonpin =3;// define the Reed sensor interfacesint val ;// define numeric variables valvoid setup (){ pinMode (Led, OUTPUT);// define LED as output interface pinMode (buttonpin, INPUT);// output interface as defined Reed sensor}void loop (){ val = digitalRead (buttonpin);// digital interface will be assigned a value of 3 to read valif(val == HIGH)// When the Reed sensor detects a signal, LED flashes{ digitalWrite (Led, HIGH);}else{ digitalWrite (Led, LOW);}}

KY-021 Mini Magnetic Reed Module Price insights and history

  • The cheapest price of KY-021 Mini Magnetic Reed Module in Egypt was 15 EGP from TechDepot Egypt within the past 76 months
  • The highest price of KY-021 Mini Magnetic Reed Module in Egypt was 25 EGP from TechDepot Egypt within the past 76 months
  • The price difference between the cheapest and highest price of KY-021 Mini Magnetic Reed Module in Egypt is 10 EGP from TechDepot Egypt within the past 76 months
  • The average price of KY-021 Mini Magnetic Reed Module in Egypt is 20 EGP from TechDepot Egypt within the past 76 months

Top Products in Circuit Componentsmore

    Reviews of KY-021 Mini Magnetic Reed Module

    • No reviews exist yet for this product.

    Video Reviews of KY-021 Mini Magnetic Reed Module

    • loading video reviews