Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Electric Lock: Examples, Pinouts, and Specs

Image of Electric Lock
Cirkit Designer LogoDesign with Electric Lock in Cirkit Designer

Introduction

An electric lock is an electromechanical device designed to secure doors, gates, or other entry points by using an electrical current to control the locking mechanism. These locks are widely used in access control systems for residential, commercial, and industrial applications, offering enhanced security and convenience over traditional mechanical locks. Common applications include keyless entry systems, security checkpoints, and automated entry systems in smart homes and buildings.

Explore Projects Built with Electric Lock

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Smart Door Lock with RFID, Keypad, and LCD Display
Image of Smart door lock: A project utilizing Electric Lock in a practical application
This circuit is a smart door lock system that uses an ESP32 microcontroller to interface with an RFID reader, a 4x4 membrane keypad, an I2C LCD screen, and a relay module controlling a 12V solenoid lock. The system allows access via RFID cards or a passcode entered on the keypad, displaying status messages on the LCD screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Bluetooth-Controlled Smart Locker with Servo Motor
Image of door lock: A project utilizing Electric Lock in a practical application
This circuit is a smart locker system controlled by an Arduino UNO, which uses an HC-05 Bluetooth module for wireless communication, a servo motor for locking and unlocking, and an IR sensor for proximity detection. The system is powered by a 12V battery with a buck converter to step down the voltage, and it includes an LCD display for user interface.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Based Smart Locker with Keypad, Fingerprint Scanner, and I2C LCD
Image of Arduino Based Smart Locker with 4x4 Keypad,I2c LCD,R307 Fingerprint sensor with 12v Solenoid lock: A project utilizing Electric Lock in a practical application
This circuit is a smart locker system controlled by an Arduino UNO, featuring a 4x4 membrane keypad, a 16x2 I2C LCD, an R307 fingerprint sensor, and a 12V solenoid lock. The system allows unlocking the solenoid lock using either a correct keypad code or a registered fingerprint, with feedback provided via the LCD and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Based Smart Locker with Keypad, I2C LCD, and Fingerprint Sensor
Image of Arduino Based Smart Locker with 4x4 Keypad,I2c LCD,R307 Fingerprint sensor with 12v Solenoid lock: A project utilizing Electric Lock in a practical application
This circuit is a smart locker system controlled by an Arduino UNO, featuring a 4x4 membrane keypad, a 16x2 I2C LCD, an R307 fingerprint sensor, and a 12V solenoid lock. The system allows unlocking the solenoid lock using either a correct keypad code or a registered fingerprint, with feedback provided via the LCD and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Electric Lock

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Smart door lock: A project utilizing Electric Lock in a practical application
ESP32-Based Smart Door Lock with RFID, Keypad, and LCD Display
This circuit is a smart door lock system that uses an ESP32 microcontroller to interface with an RFID reader, a 4x4 membrane keypad, an I2C LCD screen, and a relay module controlling a 12V solenoid lock. The system allows access via RFID cards or a passcode entered on the keypad, displaying status messages on the LCD screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of door lock: A project utilizing Electric Lock in a practical application
Arduino UNO Bluetooth-Controlled Smart Locker with Servo Motor
This circuit is a smart locker system controlled by an Arduino UNO, which uses an HC-05 Bluetooth module for wireless communication, a servo motor for locking and unlocking, and an IR sensor for proximity detection. The system is powered by a 12V battery with a buck converter to step down the voltage, and it includes an LCD display for user interface.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino Based Smart Locker with 4x4 Keypad,I2c LCD,R307 Fingerprint sensor with 12v Solenoid lock: A project utilizing Electric Lock in a practical application
Arduino-Based Smart Locker with Keypad, Fingerprint Scanner, and I2C LCD
This circuit is a smart locker system controlled by an Arduino UNO, featuring a 4x4 membrane keypad, a 16x2 I2C LCD, an R307 fingerprint sensor, and a 12V solenoid lock. The system allows unlocking the solenoid lock using either a correct keypad code or a registered fingerprint, with feedback provided via the LCD and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino Based Smart Locker with 4x4 Keypad,I2c LCD,R307 Fingerprint sensor with 12v Solenoid lock: A project utilizing Electric Lock in a practical application
Arduino-Based Smart Locker with Keypad, I2C LCD, and Fingerprint Sensor
This circuit is a smart locker system controlled by an Arduino UNO, featuring a 4x4 membrane keypad, a 16x2 I2C LCD, an R307 fingerprint sensor, and a 12V solenoid lock. The system allows unlocking the solenoid lock using either a correct keypad code or a registered fingerprint, with feedback provided via the LCD and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

General Specifications

  • Operating Voltage: Typically 12V or 24V DC
  • Current Draw: Varies with model (e.g., 500mA at 12V DC)
  • Holding Force: Ranges from 250kg to 1000kg (550lbs to 2200lbs)
  • Operating Temperature: -10°C to +55°C (14°F to 131°F)
  • Humidity: 0 to 95% non-condensing

Pin Configuration and Descriptions

Pin Number Description Notes
1 Power (+) Connect to positive voltage
2 Power (-) Connect to ground
3 Control Input Trigger for lock actuation
4 Normally Closed (NC) Closed when lock is powered
5 Common (COM) Common terminal for switches
6 Normally Open (NO) Open when lock is powered

Usage Instructions

Wiring the Electric Lock

  1. Connect the positive voltage supply to the Power (+) pin.
  2. Connect the ground to the Power (-) pin.
  3. The Control Input pin can be connected to a switch, relay, or an output from a microcontroller to actuate the lock.
  4. The NC and NO pins are used for status indication or to interface with an alarm or monitoring system.

Best Practices

  • Ensure the power supply matches the voltage rating of the electric lock.
  • Use a diode (e.g., 1N4007) across the lock coil to suppress voltage spikes.
  • For safety, always install the lock with a mechanical override option.
  • Regularly inspect and maintain the lock for reliable operation.

Troubleshooting and FAQs

Common Issues

  • Lock does not engage: Check the power supply voltage and connections.
  • Intermittent operation: Inspect wiring for loose connections or damage.
  • Lock overheats: Ensure the current draw is within specifications.

FAQs

Q: Can the electric lock be used outdoors? A: Yes, but ensure it is rated for outdoor use and properly sealed against the elements.

Q: How can I test if the lock is working? A: Apply the rated voltage to the Power (+) and (-) pins and use a multimeter to check continuity across the NC or NO pins.

Q: What happens if the power fails? A: Most electric locks are fail-secure, meaning they remain locked if power is lost. Fail-safe models unlock when power is lost.

Example Arduino Code

// Example code to control an Electric Lock with an Arduino UNO

const int lockControlPin = 3; // Connect to Control Input of Electric Lock

void setup() {
  pinMode(lockControlPin, OUTPUT); // Set lock control pin as an output
  digitalWrite(lockControlPin, LOW); // Start with the lock disengaged
}

void loop() {
  // Engage the lock for 5 seconds
  digitalWrite(lockControlPin, HIGH); // Apply voltage to engage lock
  delay(5000); // Wait for 5 seconds

  // Disengage the lock
  digitalWrite(lockControlPin, LOW); // Remove voltage to disengage lock
  delay(5000); // Wait for 5 seconds before next cycle
}

Note: The above code assumes the electric lock is activated by applying a HIGH signal. Some locks may require a LOW signal to engage; adjust the code accordingly. Always include a current-limiting resistor if the control input is not designed for direct connection to a microcontroller.