KY-021 Mini Magnetic Reed Module

15 EGP

## Product Description ### KY-021 Mini Magnetic Reed Connectivity * Arduino GND –> Module pin – * Arduino +5V –> Module PLUS (middle pin) * Arduino Digital pin 3 –... more on TechDepot Egypt

Buy it from TechDepot Egypt

Product Details

  • The best price of KY-021 Mini Magnetic Reed Module by TechDepot Egypt in Egypt is 15 EGP
  • Available payment methods are
    Cash on Delivery
  • Delivery fees are 35-45 EGP, with delivery expected within 5+ day(s)
  • Similar products to KY-021 Mini Magnetic Reed Module are sold at El Gammal Electronics, TechDepot Egypt with prices starting at 30 EGP
  • The first appearance of this product was on Jul 31, 2016

Technical Specifications

Weight:5 g

TechDepot Egypt's Description

Product 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);}}

Reviews of KY-021 Mini Magnetic Reed Module

  • No reviews exist yet for this product.

Similar Products

ProductStorePricePayment methodsDelivery timeFees

Store: El Gammal Electronics

Price: 30 EGPPayment methods:
Cash on DeliveryBank Transfer
Delivery time: 1-3 day(s) Fees : N/A Buy it

Store: El Gammal Electronics

Price: 127.50 EGPPayment methods:
Cash on DeliveryBank Transfer
Delivery time: 1-3 day(s) Fees : N/A Buy it

Store: TechDepot Egypt

Price: 625 EGPPayment methods:
Cash on Delivery
Delivery time: 5+ day(s) Fees : 35-45 EGP Buy it