MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System

MC-38 Wired Door Window Sensor Magnetic Switch
1. Sensor Type: Magnetic reed switch
2. Wiring: Wired (2-part switch + magnet)
3. Application: Door/window open-close detection
4. Common Use: Home alarm systems

Apple Shopping Event

Hurry and get discounts on all Apple devices up to 20%

40,00 EGP

10 People watching this product now!

Payment Methods:

Description

The MC-38 is a wired magnetic reed switch sensor used to detect whether a door or window is open or closed, commonly deployed as part of a home alarm system. It consists of two parts — a switch half mounted on the fixed frame and a magnet half mounted on the moving door or window — that stay in contact (closing or opening the circuit, depending on wiring) only while the door or window is shut.

When the door or window opens, the magnet moves away from the switch, changing the circuit state and allowing a connected alarm system or microcontroller to detect the event — triggering an alarm, turning on a light inside a cupboard or sliding door, or logging the open/close event.

Alongside dedicated proximity and heat-detection sensors, magnetic door/window sensors like this one are a standard building block of a layered home security or automation setup.

Features:
1. Wired magnetic reed switch sensor
2. Detects door/window open or closed state
3. Two-part design: switch + magnet
4. Common home alarm system component
5. Can also trigger lights inside cupboards or sliding doors
6. Simple to wire into existing alarm or microcontroller circuits

🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
MC-38Wire 1/Wire 2board digital pin (INPUT_PULLUP) / GND
📟
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - Arduino Uno
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - Arduino Nano
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - Arduino Mega
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - ESP32
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - ESP8266
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - STM32
MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System - Raspberry Pi Pico
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_arduino_uno.inoArduino Uno
342 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin 2 on Arduino Uno
6#define SWITCH_PIN 2
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_arduino_nano.inoArduino Nano
343 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin 2 on Arduino Nano
6#define SWITCH_PIN 2
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_arduino_mega.inoArduino Mega
343 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin 2 on Arduino Mega
6#define SWITCH_PIN 2
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_esp32.inoESP32
336 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin 4 on ESP32
6#define SWITCH_PIN 4
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_esp8266.inoESP8266
340 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin D4 on ESP8266
6#define SWITCH_PIN D4
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_stm32.inoSTM32
340 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin PB4 on STM32
6#define SWITCH_PIN PB4
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
📄 File: mc-38_wired_door_window_sensor_magnetic_switch_home_alarm_system_-_raspberry_pi_pico.inoRaspberry Pi Pico
348 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Digital pin 2 on Raspberry Pi Pico
6#define SWITCH_PIN 2
7
8void setup() {
9 Serial.begin(115200);
10 pinMode(SWITCH_PIN, INPUT_PULLUP);
11}
12
13void loop() {
14 int state = digitalRead(SWITCH_PIN);
15 Serial.println(state == LOW ? "Door/window: TRIGGERED" : "Door/window: idle");
16 delay(200);
17}
Reed switch pair for door/window - same wiring/logic as any reed switch.

نظرة عامة ومواصفات المنتج — بالعربية

MC-38 Wired Door Window Sensor Magnetic Switch Home Alarm System متوفر الآن في متجر إكوسترا للإلكترونيات، ضمن قسم Sensors، بسعر 40,00 EGP. كود المنتج لدينا: EK861. المنتج غير متوفر حالياً — تواصل معنا عبر واتساب لمعرفة موعد توفره القادم.

أهم المواصفات الفنية:

  • Sensor Type: Magnetic reed switch
  • نوع التوصيل: Wired
  • Components: Switch unit + magnet unit
  • الاستخدامات: Door/window open-close detection, home alarm systems
  • الوزن: 1 g

هذا المنتج مناسب لمشاريع الأردوينو (Arduino) و ESP32 و Raspberry Pi، ومشاريع الروبوتات وإنترنت الأشياء والتعليم الهندسي. جميع القطع مفحوصة قبل الشحن.

تصفّح المزيد من Sensors في إكوسترا.

Specification

Specification

WeightWeight10 g
Dimensions5 × 4 × 2 cm
Sensor TypeMagnetic reed switch
Connection TypeWired
ComponentsSwitch unit + magnet unit
ApplicationDoor/window open-close detection, home alarm systems

Customer Reviews