基于蓝牙模块的U盘防丢电路的设计与实现

来源 :自动化与仪器仪表 | 被引量 : 0次 | 上传用户:caikesbad
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
主要围绕HC-05蓝牙模块的主从连接来实现U盘的防丢功能。在该设计中首先对两个HC-05蓝牙模块进行主从设置,使它们能够在上电后自动验证密码,当密码正确时则进行配对连接,密码错误则拒绝连接,防止其他蓝牙模块的干扰。当主从两个蓝牙模块之间物理距离在所设定的15米范围内,报警电路不输出报警信息。超过15米范围,蓝牙主模块与从模块之间的信号连接将会中断,蓝牙主模块检测不到从模块所发出连接信息,蓝牙主模块将会给继电器模块发出高电平信号,驱动继电器模块动作,使继电器模块的常开触点吸合,进而为单片机提供5V电源,单片机开始得电运行并通过P1.0口输出高电平来驱动蜂鸣器发出警报声,从而实现防丢的目的。 Mainly around the HC-05 Bluetooth module master-slave connection to achieve U disk anti-lost function. The design of the first two HC-05 Bluetooth module master and slave settings, so that they can automatically verify the password after power-on, when the password is correct, the connection is paired, the wrong password is refused to connect to prevent interference from other Bluetooth modules . When the master-slave two Bluetooth module physical distance between the set within 15 meters, the alarm circuit does not output alarm information. Over 15 meters, the signal connection between the Bluetooth master module and the slave module will be interrupted. The Bluetooth master module can not detect the connection information sent from the module. The Bluetooth master module will send a high signal to the relay module to drive the relay module Action, so that the normally open contact relay module pull-in, and then provide 5V power supply for the microcontroller, the microcontroller began to run and electricity through the P1.0 port output high to drive the buzzer sounded the alarm, so as to achieve the purpose of anti-lost .
其他文献
散发性脑炎是目前神经科的常见病,其临床表现较复杂,癫痫发作为其重要表现之一。本文总结1973年1月至1981年7月365例散发性脑炎中有癫痫发作的50例,重点分析散发性脑炎时癫
临床上颈动脉体瘤(CBTs)不常见。一般认为CBTs是位于颈外侧的无痛性肿块,有时累及颅神经。也可出现头晕、头痛。尚未发现有表现为TIAs的CBTs的报道。本文报道一例,患者,男,6
本文主要对某住宅楼地基下沉、墙体裂缝进行了检测鉴定,对上述事故产生的原因,结合其周围环境,进行了综合分析。 In this paper, the subsidence of a residential building
微信平台公众号“农史研究资讯”(nsyjzx),由曾雄生、王思明、王建革三位教授发起并担任主编,由中科院自然科学史研究所杜新豪、宋元明,南京农业大学中华农业文明研究院李昕
在我国传统的语文教学活动中,许多小学语文教师把传授语文基础知识作为教学的重点,忽视了其他的语文教学内容,使得学生的语文综合能力较差。因此,在我国教育事业蓬勃发展的情
心电图异常常见于心脏疾病,但也可见于诸如出血性脑卒中、非出血性脑卒中、颅内新生物、脑外伤、中枢神经系统感染和颅脑外科手术中。本文对291例60岁以上老年急性脑血管疾
本文一例原发性脑着色霉菌病系国内首次报告。患者系14岁男孩,脑CT扫描证实有双侧顶叶肿块,行开颅术,病理检查为毛样着色霉菌肉芽肿,脑室脑脊液培养也有着色霉菌,血和脑脊液
本文通过55例经手术病理或脑血管造影证实脑AVM的CT检查病例分析,提出脑AVM出血的诊断三项指征,符合其中二项即可作出AVM的诊断。同时提出非出血脑AVM二项诊断指征。并对脑AV
多发性硬化(MS)伴精神症状的发生率大约为10~28%,伴失语症不到1%,尚未发现伴有忽视症(neglect)报告。本文报告1例MS伴左侧忽视症。患者20岁女性,右利手,双眼视力模糊,眼底视乳