基于Lora技术的远程报警装置摘要随着社会的发展,城市越来越繁华,道路也越来越多。同时也出现了一些道路施工上的安全问题。为了保证在道路上的施工人员的安全,设计了本次课题来解决安全问题。本课题为基于LORA技术的远程报警装置,整个系统结合STC89C51单片机,LORA通信模块,MPU6050加速度传感器,LCD液晶,蜂鸣器等构成整个系统。该装置感应性好,电路简单,能在各种环境进行报警工作。该装置通过加速度传感器检测到异常时,单片机会通过LORA无线发送信息到报警接收装置进行提醒,并通过蜂鸣器进行报警提醒,还能通过液晶来显示相关的信息,达到可以进行道路施工时,如遇安全状况,可以在发生的当时就进行报警。AltiumDesigner这款工程技术软件就是作为一个原理进行实施的。在此除了进行原理图设计,和除了引用C语言来进行程序的编写,在进行仿真验证的时候,我们也可以通过Proteus仿真软件达到了设计目标,并且具有很高的实用性。关键词:单片机;LORA;MPU6050;报警RemoteAlarmDeviceBasedonLORATechnologyAbstractWiththedevelopmentofsociety,thecityismoreandmoreprosperous,andtherearemoreandmoreroads.Atthesametime,therearesomesafetyproblemsinroadconstruction.Inordertoensurethesafetyofconstructionpersonnelontheroad,thistopicisdesignedtosolvethesafetyproblems.ThisprojectisaremotealarmdevicebasedonLoratechnology.ThewholesystemiscomposedofSTC89C51,Loracommunicationmodule,mpu6050accelerationsensor,LCD,buzzer,etc.Thedevicehasgoodinduction,simplecircuitandcanalarminvariousenvironments.Whenthedevicedetectstheabnormalitythroughtheaccelerationsensor,themicrocontrollerwillsendinformationtothealarmreceivingdevicethroughLorawirelesstoremind,andalarmthroughthebuzzer.ItcanalsodisplaytherelevantinformationthroughtheLCD,soastoachievetheeffectofreal-timealarmincaseofsafetyconditionduringroadconstruction.Altiumdesignerisusedinthedesignofschematicdiagram.Inthispaper,inadditiontotheschematicdesign,Clanguageprogramming,butalsothroughtheProteussimulationsoftwareforsimulationverificationofrelatedfunctions,toachievethedesigngoal,andhashighpracticability.KeyWords:MCU;Lora;Mpu6050;Alarm目录第一章绪论...........................................................................................................11.1课题背景及意义.....................................................................................................11.2国内外发展现状.....................................................................................................21.3主要内容.................................................................................................................3第二章系统设计.....................................................................................................52.1系统的组成及方案设计.........................................................................................52.2主控制器方案设计.................................................................................................52.3显示系统方案选择.................................................................................................82.4无线通信模块的选取.............................................................................................92.5电源供电方案选择...............................................................................................11第三章系统硬件设计...........................................................................................113.1单片机.....................................................................................................................