

The DC Solenoid Lock Door (Manufacturer: Arduino Uno, Part ID: Lock Door) is an electromechanical locking device designed for access control systems. It operates using a solenoid mechanism that, when powered by direct current (DC), activates to lock or unlock a door. This component is widely used in security systems, smart home applications, vending machines, and other automated locking solutions. Its compact design and reliable operation make it a popular choice for projects requiring controlled access.








| Parameter | Value |
|---|---|
| Operating Voltage | 12V DC |
| Operating Current | 0.8A (800mA) |
| Holding Force | 1.2 kg |
| Lock Type | Fail-secure (remains locked when power is off) |
| Material | Metal (housing and locking mechanism) |
| Dimensions | 54mm x 42mm x 28mm |
| Weight | 120g |
| Wire Length | 25cm |
| Operating Temperature | -10°C to 55°C |
The DC Solenoid Lock Door typically has two wires for operation:
| Wire Color | Function | Description |
|---|---|---|
| Red | Positive (+) | Connect to the positive terminal of the power supply. |
| Black | Negative (-) | Connect to the ground (GND) of the power supply. |
Below is an example of how to control the DC Solenoid Lock Door using an Arduino UNO:
// Define the pin connected to the transistor or MOSFET controlling the solenoid
const int solenoidPin = 7;
void setup() {
// Set the solenoid pin as an output
pinMode(solenoidPin, OUTPUT);
}
void loop() {
// Activate the solenoid lock (unlock the door)
digitalWrite(solenoidPin, HIGH);
delay(5000); // Keep the lock open for 5 seconds
// Deactivate the solenoid lock (lock the door)
digitalWrite(solenoidPin, LOW);
delay(5000); // Keep the door locked for 5 seconds
}
Note: Ensure the transistor or MOSFET is properly connected to the solenoid and the Arduino. Use a resistor (e.g., 1kΩ) between the Arduino pin and the transistor base/gate to limit current.
The solenoid lock does not activate:
The solenoid lock heats up excessively:
The Arduino cannot control the solenoid:
The solenoid lock remains locked even when powered:
Q: Can I use a 5V power supply instead of 12V?
A: No, the solenoid lock is designed to operate at 12V DC. Using a lower voltage may result in insufficient activation.
Q: Is the solenoid lock waterproof?
A: No, the solenoid lock is not waterproof. Avoid exposing it to moisture or water.
Q: Can I use this solenoid lock with a battery?
A: Yes, you can use a 12V battery with sufficient current capacity (e.g., 800mAh or higher) to power the solenoid lock.
Q: What happens if I reverse the polarity of the wires?
A: Reversing the polarity may damage the solenoid lock. Always connect the red wire to the positive terminal and the black wire to ground.
By following this documentation, you can effectively integrate the DC Solenoid Lock Door into your projects and troubleshoot common issues with ease.