51单片机GSM模拟快递货物柜设计+电路图

基于51单片机的基础上设计了一种可以运用GSM模块向固定用户发送短信的快递货物柜。本设计以STC89C52单片机作为核心,外围电路由继电器模块、GSM短信模块、LCD1602显示模块等组成。


摘 要:随着网购电商行业的快速发展,快递物流行业的负担也越来越重,尤其在双十一、春节前后,物流快递仓库爆满,消费者无法及时取件,进而导致了更多的问题,比方说由于未实现有效沟通,消费者和快递人员产生了冲突、快递配送只有很低的效率等,上述这些问题的产生严重影响了电商的进一步发展,必须及时有效的解决这些问题。

本文提出了一种基于STC89C52单片机的模拟快递货柜GSM短信发送验证码设计。该装置主要由单片机、电源模块、继电器电路、控制模块、键盘模块、LCD显示模块、GSM模块、LED灯光报警模块、机械开关等组成,借助成熟的GSM移动网络将随机验证码发送到用户手机上,用户凭借输入验证码到快递柜自取快递,既减轻了快递物流行业的压力与快递工作人员的工作负担,又极大地提高了取件的安全性与便捷性。

该论文有图13幅,表3个,参考文献16篇。

关键字:单片机  LCD显示模块  GSM  继电器模块

A Design of Simulated Express Cargo Cabinet Is Based on STC89C52 Microcontrollers

Abstract:With the rapid development of online shopping electrician industry, the burden of express is getting heavier and heavier, especially in the 11.11 or the Spring Festival, logistics express warehouse is so full that consumers can not pick up in a timely manner, which is lead to more problems. For example, consumers and courier staff have a conflict and courier delivery only has a lower efficiency just because there is no effective communication. The above problems limit the further development of electricity industries seriously. We must solve these problems promptly and effectively.

This paper presents a design that simulated express cargo cabinet could send the verification code message by STC89C52 microcontrollers. The device is mainly composed of microcontrollers, power module, relay circuit module, control module, keyboard module, LCD display module, GSM module, LED light alarm module, mechanical switch and other components. The device could send a random verification code to the specified user’s mobile phone. Then the users can express themselves by entering the verification code. The design reduces the pressure of the express industry and the burden of couriers. At the same time, the design also greatly improves the security and convenience of the express delivery.

Key Words: Microcontrollers  LCD display module  GSM  Relay module

目 录

摘要-Ⅰ

Abstract--Ⅱ

目录-Ⅲ

图清单-Ⅴ

表清单-Ⅴ

变量注释表-Ⅵ

1 绪论1

1.1概述 1

1.2本文主要研究内容-1

2 系统方案论证3

2.1控制芯片的选择方案-3

2.2负载驱动设计方案-5

3 系统总体结构与功能设计--6

3.1系统功能设计-6

3.2系统结构设计-7

4 单片机核心电路设计--8

4.1单片机核心电路的设计-8

4.2复位电路10

4.3时钟电路11

5 单片机外围电路设计-12

5.1液晶显示模块12

5.2 GSM模块--14

5.3继电器电路16

6 系统调试-18

7 结论-19

参考文献--20

致谢--21

附录22

图清单

图序号 图名称 页码

图2-1 三极管放大电路示意图 5

图3-1 系统总体流程图 6

图3-2 系统总体结构图 7

图4-1 STC89C52引脚图 9

图4-2 STC89C52单片机最小系统原理图 10

图4-3 复位电路图 10

图4-4 时钟电路图 11

图5-1 LCD1602显示模块示意图 12

图5-2 LCD1602管脚示意图 13

图5-3 LCD显示程序设计步骤流程图 14

图5-4 SIM800A模块示意图 15

图5-5 SIM800A引脚示意图 15

图5-6 继电器控制模块示意图 17

表清单

表序号 表名称 页码

表4-1 STC89C52单片机标准功能 8