Electric Solenoid Lock

Introduction

The principle of the electric solenoid lock is the same as electromagnet, which means produce magnetism by electricity, the same sexes repel and opposites attract. Power on and unlock, power off and lock. It adopts solid and durable latch hook, and the maximum stress is 735N (75kg). Pure copper electromagnetic valve coil, stable performance and temperature tolerance. It can provide a long usage life over 500 thousand times. Self-sprang design for objects from 0.5kg to 4kg and the sprang strength is adjustable. Feedback design, supporting remote status check. The lock equipped with emergency mechanic switch, supporting manual control, free from reserve power.

Compared with traditional electric solenoid locks in market, this product is designed to power off and unlock, which will help you save much power. And the mechanic lock avoids emergency of no power situations. Adjustable sprang power makes an easier control and a better space adaptability. Self-feedback design. It can be widely used in remote multi-locks and multi-cabinets projects. Particularly useful for small space and multi-cabinets projects. Such as smart cabinets, smart door locks, vending machines. It is also suitable for IOT(Internet of Things) low power consumption projects.

warning_yellow.png Please note that you’d better control the electrify time within 5 seconds when unlocking the lock. Long electrify time will damage the solenoid valve. The lock is unsuited to violence damage. Recommend to use it as an indoor lock or assistant lock.

Features

Specification

Diamension Diagram

Dimension

Dimension Diagram

Tutorial

Preparation

Connection Diagram

Control the electric solenoid lock via a digital relay and 12V power adapter. Then the feedback wire will pass the lock status to the board DFRduino UNO.

Num Label Description
1 Signal Wire Signal ON/OFF
2 GND -
3 VCC +
4 Ground the black wire, connect the green wire to D6

Connection Diagram

Sample Code

Install Arduino IED software, open its compiling environment and upload the following codes.

* **************************************************** 
* @brief Electric Solenoid Lock

 * @copyright    [DFRobot](http://www.dfrobot.com), 2016
 * @copyright    GNU Lesser General Public License

* @author [Xiaoyu](Xiaoyu.zhang@dfrobot.com)
* @version  V1.0
* @date  2019-03-11

* GNU Lesser General Public License.
* All above must be included in any redistribution
* ****************************************************/
int Relay = 4;    

void setup() {
  Serial.begin(57600);   
  pinMode(6, INPUT_PULLUP);         //Set Pin6 as output    
  pinMode(Relay, OUTPUT);     
} 
void loop() {
  int singal=digitalRead(6);
  Serial.println(singal);           
  digitalWrite(Relay, HIGH);           
  delay(2000);
  digitalWrite(Relay, LOW);             
  delay(2000);

} 

Expected Results

The electric solenoid lock is unlocking in every 4s. In Arduino serial monitor, the output is 0 when unlocked and 1 when locked.

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum

More Documents

DFshopping_car1.png Get Electric Solenoid Lock from DFRobot Store or DFRobot Distributor.

Turn to the Top