MC-38 Magnetic Door/Window Sensor Switch for Alarm Systems | Compoden
MC-38 Magnetic Door/Window Sensor Switch for Home Alarm Systems
The 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.
Key Specifications
| Specification | Value |
|---|---|
| Sensor Type | Magnetic reed switch (NO/NC) |
| Detection Gap | 15–25 mm |
| Voltage Rating | 100 V DC max |
| Current Rating | 0.5 A max |
| Wire Length | Approx. 30 cm |
| Housing Material | ABS plastic |
What You Can Build With This
- DIY home security alarm with siren and code lock
- Door open notification system using Arduino and buzzer
- Refrigerator door monitor with IoT alerts
- Garage door status indicator with LED display
Compatibility
This 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.
Wiring Notes
The 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.
Why Buy from Compoden
Every 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.
Is this compatible with Arduino?
Yes, 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).
Can this sensor be used outdoors?
The 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.
What is the exact detection gap?
The 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.
📦 Free Setup Handoff Document Included
Every 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.
Ask Soldr above what you can build with this — it knows every Compoden kit this part appears in.
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items