APP下载

基于机械门锁的远程解锁模块开发设计

2021-11-23陆建东颜竞峰

时代汽车 2021年22期

陆建东 颜竞峰

摘 要:互联网的出现加速了智能锁的升级,本项目针对老式外装门锁加装无线解锁模块实现远程开锁。本文介绍如何以手机为客户端,结合blinker和Arduino软件以及机械解锁模块实现远程控制解锁,减少更换锁产生的成本,方便实用,无需钥匙,解决忘带钥匙的烦恼。本项目开发内容包含无线控制模块与基座模块,通过无线控制模块作为移动端的信号接受点,收到开锁指令后判断,如果命令合法則将指令通过继电器传送给基座中的马达完成转动,最终实现门锁的开启。

关键词:机械门锁 远程控制 解锁模块

Development and Design of Remote Unlocking Module based on Mechanical Door Lock

Lu Jiandong Yan Jingfeng

Abstract:The emergence of internet has accelerated the upgrade of smart locks. This project is aimed at retrofitting a wireless unlocking module for old exterior door locks to realize remote unlocking. This article introduces how to use the mobile phone as the client, combined with blinker and Arduino software and mechanical unlocking module to realize remote control unlocking, reducing the cost of changing the lock, and solving the trouble of forgetting bringing the key. The development content of this project includes a wireless control module and a base module. The wireless control module is used as the signal receiving point of the mobile terminal. After receiving the unlock command, it is judged. If the command is legal, the command is transmitted to the motor in the base to complete the rotation and realize the opening of the door lock.

Key words:mechanical door lock, remote control, unlocking module

近年来,伴随着互联网的普及,带动了物联网的发展,传统的机械锁经过再次升级成为智能锁,能实现更多的解锁方式如远程解锁、指纹解锁、人脸解锁等等。但在经历机械锁到智能锁的切换时,必然会带来一段较长的过渡期,目前全国传统的老式机械锁保有量还十分巨大,如果需要更换成智能锁,存在以下缺点:

1)机械锁更换成智能锁将会带来额外成本支出,传统机械锁和智能锁的价格差别一般在5-10倍左右。

2)更换为智能锁工序也较为繁琐。

因此,本项目基于市面上常见的老式机械锁为研究对象,开发一款简易的通用型无线解锁模块,能在不更换机械锁的前提下,实现远程手机控制解锁。

1 系统实现

本设计的远程解锁模块的结构设计框如图1所示。手机客户端作为命令发送的起点,通过服务器连接无线控制模块,控制基座模块的运行,最终实现解锁功能。……

登录APP查看全文