{"product_id":"reed-switch-sensor-module-magnetic-detection-switch-for-diy-electronics","title":"Reed Switch Sensor Module - Magnetic Detection Switch for DIY Electronics","description":"\u003ch1\u003eReed Switch Sensor Module — Digital Magnetic Contact Switch, 3.3–5V\u003c\/h1\u003e\n\n\u003cp\u003eThe Reed Switch Sensor Module is a magnetic detection switch that outputs a digital signal when a magnetic field is present. It uses a reed switch and LM393 comparator to provide a clean HIGH\/LOW signal to your microcontroller. Ideal for door\/window sensors, position detection, and contactless switching in DIY electronics projects.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\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\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V–5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eDigital (HIGH\/LOW)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSwitch Type\u003c\/td\u003e\n\u003ctd\u003eNormally Open (NO)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Range\u003c\/td\u003e\n\u003ctd\u003eUp to 15mm (with standard magnet)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eComparator IC\u003c\/td\u003e\n\u003ctd\u003eLM393\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e32mm x 14mm\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/wifi-window-alarm-and-garage-door-controller-kit-esp8266\"\u003eMagnetic door\/window alarm system\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eBicycle or motorcycle speedometer\u003c\/li\u003e\n  \u003cli\u003eProximity sensor for robotic arm\u003c\/li\u003e\n  \u003cli\u003eLiquid level detector using floating magnet\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis module works with any 3.3V or 5V system including Arduino Uno, Mega, Nano, ESP32, ESP8266, Raspberry Pi, and STM32 boards. It connects directly to a digital input pin; no analog conversion needed. Often paired with a magnet for non-contact detection.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 3.3V or 5V, GND to ground, and DO (digital output) to any digital pin. A built-in LED indicates output state. No pull-up resistor required; the module handles signal conditioning.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\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\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, it outputs a digital signal that can be read by any digital pin on Arduino boards. Simply power the module with 5V and connect DO to a pin like D2.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat is the maximum detection distance?\u003c\/summary\u003e\u003cp\u003eThe detection range depends on the strength of your magnet. With the included standard magnet, you can expect reliable switching up to 15mm away.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I use this for a door sensor?\u003c\/summary\u003e\u003cp\u003eAbsolutely. Place the module on the frame and a magnet on the door. When the magnet moves away, the output goes HIGH, triggering your alert system.\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":53445019861357,"sku":"CDN-0728","price":45.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_10c66eef-2368-4922-8b24-a2fbe42f7766.jpg?v=1781512858","url":"https:\/\/compoden.com\/products\/reed-switch-sensor-module-magnetic-detection-switch-for-diy-electronics","provider":"Compoden","version":"1.0","type":"link"}