Wish List 0

Mc 38 Wired Door Window Sensor Magnetic Switch Home Alarm System

Rs. 33.00 Rs. 40.00

  • Product Code: SEN-LOCK
  • SKU -
  • Availability: In Stock
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System may be used as a door or window protection machine.
-It produces the signal whilst moved faraway from every different which can be fed to the microcontroller to perform the desired motion as per requirement.

-This sensor appropriate to apply for cause alarm or ON/OFF light interior a cabinet sliding door.
-This wired sensor is cause via the magnet.
-When the magnet is closed by, the circuit is closed or open if the magnet far from the sensor.

Features :
1. Easy to install
2. Strong concealment
3. Magnetic sensor alarm, control the switch of the circuit via the built-in magnet
4. Alarm when someone intrudes into your places
5. Can be used in places like apartment, hotel, office, etc.
6. Ideal for residential or commercial use.
7. Designed to do embedded in the door or window frame.


SPECIFICATIONS:
Model                                  MC38
Material                               Plastic
Color                                  White
Contact Capacity(Max. Switch Current)  0.5A
Voltage                                100V
Rated Power (W)                        10W
Actuation Distance (mm)                15 ~ 25
Connecting cable length (cm)           30

OVERVIEW:

-Actuation Distance : 15 – 25 mm;

-Connecting cable length: 30 cm.

-Magnetic sensor alarm, control the switch of the circuit via the built-in magnet

-Alarm when someone intrudes into your places

-Can be used in places like apartment, hotel, office, etc.


PACKAGE INCLUDES:

1 PCS x Mc 38 Wired Door Window Sensor Magnetic Switch Home Alarm System


//SOURCE CODE TAKEN FROM BELOW LINK

//https://electropeak.com/learn/interfacing-mc-38-magnetic-reed-switch-with-arduino/

/*

  MC-38 Magnetic Sensor Anti-Theft Alarm

  modified on 26 Sep 2020

  by Mohammad Reza Akbari @ Electropeak

  https://electropeak.com/learn/

*/



const int magnet_switch = 2;     // Magnet switch

const int ledPin =  13;      // LED pin


void setup() {

  // initialize the LED pin as an output:

  pinMode(ledPin, OUTPUT);

  // initialize the pushbutton pin as an input:

  pinMode(magnet_switch, INPUT_PULLUP);


  Serial.begin(9600);

}


void loop() {

  if (digitalRead(magnet_switch) == LOW) {

    Serial.println("Switch Closed");

    digitalWrite(ledPin, HIGH);

    while (digitalRead(magnet_switch) == LOW) {}

  }

  else {

    digitalWrite(ledPin, LOW);

  }

15 days

Write a review

Please login or register to review