智能家居防盗系统
智能家居防盗系统
摘要:本系统以单片机 AT89S52 为控制核心,采用采用音频解码芯片
HT9200A 和高保真语音录放集成芯片 ISD4004,利用个人通信终端(电
话、手机等)实现对电器设备的远程控制。配合多路红外遥控技术,
实现对电器设备的近距离遥控,并辅助使用单总线数字温度传感器
DS18B20 及高精度时钟日历芯片 PCF8563 显示时钟日历及温度。该系
统由单片机构成主控部分,进行主要的信息处理,接收外部操作指令
形成各种控制信号。在远程控制方面,使用不同的语音提示实现对不
同电器的操作和对受控电器状态的反馈,从而使操作者能够及时了解
被控电器的信息,使产品达到交互式与智能化,由电话机组成的自动
拨号报警功能,使得本系统的功能大大地增强,使居家生活更加趋于
智能化。将该系统与 PC 机相连,可直接由 PC 机控制家电,也可用遥
控器控制 PC 机,该系统具有控制灵活、可操作性强、可扩展性强、
发展潜力大等优点,是实现智能化家居、智能化寓所的智能电器控制
系统,具有十分广阔的市场前景和非常良好的应用价值。
关键词:单片机 电话远程控制 红外遥控 智能控制
第 1 页
智能家居防盗系统
Abstract:The system uses the AT89S52 MCU as its control center, adopts
the double-tone multiple frequency code-interpret IC MT8870 and
athering
chip ISD4003-6M,make use of individual correspondence term-
inal (telephone、mobile phone etc.)to realize long-distance control of
the electronic equipment. Match with the infrared ray long-distance
technology, it realizes near-distance control and uses the single-total
line digital temperature Spread the feeling machine DS18B20 and high
accuracy clock calendar chip
PCF8560 to manifest the clock 、the calendar
and the temperate. The main control part of this system is made up with
the MCU, it does the main massage handles, receives exterior operation
instruction and forms various control signal. In the aspects of
long-distance controlling , using
different voice to hint different
operation and give a state feedback of the be-controlled ,thus it can let
the writer know the information of the be-controlled, let the production
to be change over with each other type and intellectualized。The auto
dialing alarming function made up with the phone improves the usage of
this
system
highly,
makes
the
family
life
more
intellectu-
alized.Connecting this system with the PC and using the appliated program,
it can control the household appliance by the PC machine directly. The
PC machine can be hand-controlled and also can be controlled by the
infrared ray remote control. It has many superiority on it. For example,
agile controllment, powerful maneuverability and expansibility, and
great potentiality .There are expansive foreground and very good
application worth on this PLC wirings intellectualized managed system.
Keywords: MCU
Phone remote control
Infrared ray remote control
Intellectualized Management
第 2 页
智能家居防盗系统
目 录
第 3 页
智能家居防盗系统
1. 系统设计
1.1 设计要求
1.1.1 任务
设计并制作一个智能家居防盗系统,实现家中无人职守时对电器的控制以及有人入侵
时智能电话报警。
1.1.2 要求
(1)基本要求
① 按键控制各开关或电器的启停〔6~10 个〕;
② 红外遥控;
③ pc 机控制(利用 ps2,rs232 协议);
④ 传感器,必选〈光电传感、温度传感、红外传感〉;可选(热释电、烟雾、位移、
燃气);
⑤ 数码管显示时间温度及防区号;
⑥ 报警;
(2)发挥部分
① 通过电话语音报警
1.1.3 说明
⑴ 本设计中需要的家用电器可以假想或者模拟,控制端口能检测到发出的正常的控
制信号即可;
⑵ 其他。
1.2 总体设计方案
1.2.1 设计思路
题目要求设计并制作一个智能家居防盗系统,实现家中无人职守时对电器的控制以及有人入
侵时智能电话报警。根据要求,设计需包括语音、按键、显示、红外、电话拨号等部分。方
框图如图 1.2.1 所示。从按键输入的控制命令由单片机转换成相应的控制命令控制相应的电
路动作,实现对电器的控制;若有防盗报警信号,单片机控制自动拨号电路自动拨出预设的
电话号码,并控制语音芯片报告盗情。
第 4 页
智能家居防盗系统
PC机
2
3
2
S
R
AT89S52
遥控器
红外收发
LCD显示
电话机
电话线
温度传感器
防盗检测
按键
音频解码
语音芯片
自动拨号电路
图 1.2.1 系统总体设计方框图-
1.2.2 方案论证与比较
⑴ 按键电路
方案一:
方案二:
⑵ 自动拨号电路
方案一:
方案二:
⑶ 红外接收电路
方案一:
方案二:
⑷ 显示电路
方案一:
方案二:
⑸ 温度检测电路
第 5 页
智能家居防盗系统
第 6 页
智能家居防盗系统
第 7 页
智能家居防盗系统
第 8 页
键盘
语音