KY-021 Mini Magnetic Reed Module

15 EGP
LiveOut of stock

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

Buy it from TechDepot Egypt

KY-021 Mini Magnetic Reed Module 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 TechDepot Egypt, Future Electronics with prices starting at 25 EGP
  • 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);}}

Reviews of KY-021 Mini Magnetic Reed Module

  • No reviews exist yet for this product.

Similar Products

ProductStorePricePayment methodsDelivery timeFees

Store: TechDepot Egypt

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

Store: TechDepot Egypt

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

Store: Future Electronics

Price: 45 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it

Store: Future Electronics

Price: 240 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it