{"product_id":"mc-38-magnetic-doorwindow-sensor-switch-for-alarm-systems-compoden","title":"MC-38 Magnetic Door\/Window Sensor Switch for Alarm Systems | Compoden","description":"\u003ch1\u003eMC-38 Magnetic Door\/Window Sensor Switch for Home Alarm Systems\u003c\/h1\u003e\u003cp\u003eThe MC-38 is a wired magnetic reed switch commonly used in door and window alarm systems. It detects the opening or closing of a door\/window by sensing the presence of a magnet. Compact and reliable, it provides a simple way to add intrusion detection to security projects.\u003c\/p\u003e\u003ch2\u003eKey Specifications\u003c\/h2\u003e\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eSensor Type\u003c\/td\u003e\n\u003ctd\u003eMagnetic reed switch (NO\/NC)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDetection Gap\u003c\/td\u003e\n\u003ctd\u003e15–25 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eVoltage Rating\u003c\/td\u003e\n\u003ctd\u003e100 V DC max\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCurrent Rating\u003c\/td\u003e\n\u003ctd\u003e0.5 A max\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWire Length\u003c\/td\u003e\n\u003ctd\u003eApprox. 30 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eHousing Material\u003c\/td\u003e\n\u003ctd\u003eABS plastic\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eDIY home security alarm with siren and code lock\u003c\/li\u003e\n\u003cli\u003eDoor open notification system using Arduino and buzzer\u003c\/li\u003e\n\u003cli\u003eRefrigerator door monitor with IoT alerts\u003c\/li\u003e\n\u003cli\u003eGarage door status indicator with LED display\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eThis sensor works with any microcontroller or development board that accepts digital input, such as Arduino, ESP8266, ESP32, and Raspberry Pi. It operates with 3.3 V or 5 V logic when configured with a pull-up resistor. No external power is required for the reed switch itself.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eThe sensor has three wires: COM (common), NO (normally open), and NC (normally closed). Connect COM to ground, and choose NO or NC depending on your logic. Use a 10 kΩ pull-up resistor on the signal wire to avoid floating states. Keep wires away from strong magnetic fields.\u003c\/p\u003e\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, the MC-38 works directly with Arduino. Wire COM to GND, NO to a digital pin, and enable the internal pull-up resistor. Read the pin state (HIGH when closed, LOW when magnet away).\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eCan this sensor be used outdoors?\u003c\/summary\u003e\u003cp\u003eThe ABS housing offers basic protection, but the sensor is not weatherproof. For outdoor use, install it in a sheltered location or use a waterproof enclosure to prevent moisture ingress.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eWhat is the exact detection gap?\u003c\/summary\u003e\u003cp\u003eThe switch reliably activates when the magnet is within 15–25 mm of the sensor body. The exact distance may vary slightly based on alignment and magnet orientation.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445018190189,"sku":"CDN-0726","price":40.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/download_dd257bbc-d24a-4b22-a69f-246747c3a235.jpg?v=1781592425","url":"https:\/\/compoden.com\/products\/mc-38-magnetic-doorwindow-sensor-switch-for-alarm-systems-compoden","provider":"Compoden","version":"1.0","type":"link"}