[摘要] 本文介绍了基于51系列单片机的无线报警器,发射端将信息发送出去后,信息经过编码解码,接收端将信息传送给单片机,并控制报警。设计有两个模块组成:无线发射模块、单片机监控下的无线接收报警模块。发射模块中四个按键控制数据信息的发送,编码芯片PT2262对信息进行编码,然后送给发射头,经过发射头将信息发送出去;接收模块接收到信息后送给解码芯片PT2272,PT2272进行解码,然后将解码信息传送给单片机AT89C51,最后引起警铃报警。除此报警功能之外,此系统还添加了设防功能和撤防功能,用以应对断电时无线报警失灵的的情况。
本文详细分析了上述实现原理,给出了主要程序部分,并通过了测试,有较强的实用价值。
[关键词] 51系列单片机,PT2262, PT2272,设防,撤防
[Abstract] Wireless alarm based on the 51 series single chip is introduced in t
his paper, the transmitting terminal will send out information, which is through coding and decoding. The receiver gets the information, which will be transmitted to Single-chip puter to control the alarm. The design has two modules: wireless transmitting module and wireless receiving alarm module monitored by the single-chip puter .Four buttons in the transmitting module control data information send , the encoding chip PT2262 code information, and then sent to it to launch head first, finally launch head send out information; Receiving module receive information, which is sent to decoding chips PT2272 to be decoded, then which will transfer information to the single chip- puter AT89C51 , finally causing alarm bell ringing. Besides, this system also add the fortification function and removal function that deal with wireless alarm failure of power cuts.
The operation principle is analyzed in the paper. The main part of the program is given, and pass the test. This device has a strong practical value.
[Key words] 51 series MCU, PT2262, PT2272, fortification, disarm
目录
1 绪论 1
防盗报警器的设计背景 1
无线防盗报警器的国内外发展现状 1
2 系统分析 2
: 2
2
3硬件设计 3
3
3
3
5
5
6
7
7
AT89C51高性能8位单片机 7
10
11
12
12
4 软件设计 13
: 13
13
14
14
15
5 仿真与调试 16
16
17
无线装置的硬
毕业设计(论文)-基于51系列单片机的无线报警器 来自淘豆网www.taodocs.com转载请标明出处.