{"product_id":"5v-solenoid-lock-compact-electric-door-lock-for-diy-projects","title":"5V Solenoid Lock – Compact Electric Door Lock for DIY Projects","description":"\u003ch1\u003e5V Solenoid Lock – 5V DC Electromagnetic Lock for Smart Door Systems\u003c\/h1\u003e\n\n\u003cp\u003eThe 5V solenoid lock is an electromagnetic locking mechanism designed for low-voltage access control projects. It operates on 5V DC, making it ideal for microcontroller-driven systems like Arduino or ESP32 smart door locks. With a compact push-pull action, it secures cabinets, drawers, and appliance doors with a reliable spring-return latch.\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\u003e5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePeak Current\u003c\/td\u003e\n\u003ctd\u003e1.5A\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eHolding Current\u003c\/td\u003e\n\u003ctd\u003e0.3A\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLock Mechanism\u003c\/td\u003e\n\u003ctd\u003ePush-pull solenoid with spring return\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e30 x 25 x 20 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eWeight\u003c\/td\u003e\n\u003ctd\u003e50 g\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\/kit-bluetooth-smart-door-lock-kit-with-arduino-uno-plus-hc05\"\u003eSmart door lock using Arduino and Bluetooth\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eAutomatic cabinet lock with RFID access\u003c\/li\u003e\n  \u003cli\u003eIoT locker system with ESP32 and MQTT\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-fingerprint-safe\"\u003eFingerprint-based safe lock\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis 5V solenoid lock works with any microcontroller or board that provides a 5V output, including Arduino Uno, Mega, ESP8266, and ESP32. It can also be driven by Raspberry Pi GPIO using a transistor or relay module due to higher current requirements. Compatible with standard 5V power supplies.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eTo drive the lock safely, use a flyback diode across the coil to prevent voltage spikes. Connect the solenoid's positive wire to a 5V power source capable of supplying at least 2A. Use a MOSFET (such as IRF520) or a relay module, with the control pin from your microcontroller switching the gate or relay. Do not connect directly to a GPIO pin.\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, but do not connect the solenoid directly to an Arduino pin. Use a relay module or a transistor driver circuit with an external 5V 2A power supply.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDoes this lock require continuous power?\u003c\/summary\u003e\u003cp\u003eIt requires power only when unlocking. When de-energized, the spring returns the latch to the locked position.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it be used outdoors?\u003c\/summary\u003e\u003cp\u003eThe lock has a metal housing but is not weatherproof. For outdoor use, mount it inside a sealed enclosure.\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":53445080809837,"sku":"CDN-0935","price":240.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_695883cd-8719-4413-a57b-f24e697f2675.jpg?v=1781513188","url":"https:\/\/compoden.com\/products\/5v-solenoid-lock-compact-electric-door-lock-for-diy-projects","provider":"Compoden","version":"1.0","type":"link"}