5V Solenoid Lock – Compact Electric Door Lock for DIY Projects
5V Solenoid Lock – 5V DC Electromagnetic Lock for Smart Door Systems
The 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.
Key Specifications
| Specification | Value |
|---|---|
| Operating Voltage | 5V DC |
| Peak Current | 1.5A |
| Holding Current | 0.3A |
| Lock Mechanism | Push-pull solenoid with spring return |
| Dimensions | 30 x 25 x 20 mm |
| Weight | 50 g |
What You Can Build With This
- Smart door lock using Arduino and Bluetooth
- Automatic cabinet lock with RFID access
- IoT locker system with ESP32 and MQTT
- Fingerprint-based safe lock
Compatibility
This 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.
Wiring Notes
To 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.
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, 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.
Does this lock require continuous power?
It requires power only when unlocking. When de-energized, the spring returns the latch to the locked position.
Can it be used outdoors?
The lock has a metal housing but is not weatherproof. For outdoor use, mount it inside a sealed enclosure.
📦 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.
What you can build with this
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