基于单片机的多功能智能插座的设计

 2023-03-25 06:03

论文总字数:24935字

摘 要

由于电子产品的日益剧增和能源浪费严重,致使我们必须对电力资源要节约使用。很多时候我们的用电设备都在待机耗能,我们必须使这些能尽可能节约下来。智能插座的使用能够做到自我保护、安全供电、定时节约等功能。其中定时功能可以有效的让电器断电避免不必要的浪费。

通过对比几种单片机最终选取AT89S52单片机。它是计算机的一种精简处理器。目前用于功能较为简单控制的核心部分。本文利用外接显示器来显示不同功能下的状态,便于控制和观察。由于常用显示器只有两种,所以对比选择LCD12864来实现显示模块。

通过对插座的了解和人们的需求,人们使用的最大隐患就是安全问题。这就需要在人们保证安全的情况下来控制使用插座。在一些高压区、工厂、有毒气条件下的作用较为突出。能够实现远距离控制是我首先能够想到的。所以我采用了红外遥控来与内部单片机相互感应控制。这样能够有效解决人们人身安全。本文还利用了按键定时和继电器控制电路来保护电路。

关键词:温度检测;单片机;传感器;定时器;继电器

The Design of the Multifunctional Intelligent Socket Based on Single Chip Microcomputer

Abstract

Due to the growing surge of the electronic products, and energy waste is serious, we must use it to save power resources.Many times we all electrical equipment in standby energy consumption, we must make these can save as much as possible.The use of smart sockets can do to protect themselves, the safety of power supply, timing saving etc.The timing function can effectively make electric power to avoid unnecessary waste.

By comparing several kinds of single chip microcomputer eventually choose AT89S52 single chip microcomputer.It is a kind of computer to streamline the processor.Currently used for the control core part of function is relatively simple.In this paper, using an external monitor to show the state of different function, easy to control and observation.Because only two kinds of commonly used display, contrast to choose LCD12864 to implement the display module。

Through the understanding of the socket and the demand of people, people use one of the biggest hidden danger is safe problem.This needs the people to ensure that the security situation in control using socket. In some high, factory, have the effect of the gas conditions.To realize the remote control is the first thing I can think of.So I used the infrared remote control to induction with internal microcontroller control.It can effectively solve the people personal safety.This article also USES the key timing and relay control circuit to protect the circuit.

Keywords:Temperature Detection ;MCU;Timer ;Relay

目 录

摘 要 I

Abstract II

第一章 引 言 1

1.1课题背景 1

1.2设计综述 1

1.3智能插座的发展趋势 2

1.4总体方案要求与分析 2

第二章 整体方案与设计 3

2.1 开关选择 3

2.2显示方式的选择 3

2.3时钟设计和单片机的选型 3

2.4按键控制部分实现 4

第三章 系统的硬件选型 5

3.1继电器的原理和选择 5

3.2 单片机AT89S52介绍 5

3.2.1单片机内核介绍 5

3.2.2单片机框架结构 5

3.3 时钟DS1302介绍 6

3.4液晶LCD12864介绍 6

3.5 红外遥控控制介绍 6

3.6传感器的选择 6

3.7红外遥控的选择 7

第四章 系统软件模块及程序设计 8

4.1单片机最小系统和液晶显示 8

4.2 系统温度模块检测 8

4.3 继电器的驱动电路 9

4.4 键盘电路程序 10

第五章 硬件制作与调试 11

5.1 硬件选取制作 11

5.2 调试方案 11

5.2.1 电源电路的调试 11

5.2.2 单片机系统调试 11

5.2.3显示模块调试 11

5.2.4按键模块调试 11

5.2.5继电器电路调试 12

5.3软件调试 12

5.4整体调试 12

第六章 结束语 13

致 谢 14

参考文献(References) 15

附 录 16

1. 多功能智能插座原理图 16

2. 显示器LCD12864程序 16

第一章 引 言

1.1课题背景

插头是日常使用最常见的电器附件。他是电器运转的不可或缺的部分,起初的插头插座都很简单,尺寸规格大不相同,目前已经有了统一,目前插头插座不断发展,由于生活用到电较多,存在很大的安全隐患,为了避免触电过电带来的危险,对插座的要求也越来越高;要防水,防热等。为了方便控制,遥控、定时、自动断电等智能型的插座日益增多。

目前虽然有一小部分插座具备智能性却不够实用,由于多数人们使用的是单一接口供电的插座,不能实现人们所需要的智能化。即使有部分插座可以实现造价也非常高,这样使人们没法接受,只有一些特殊行业购买,市场性极低。基于以上情况,智能插座在未来有很好的发展前景和重要意义。我设计的插座是一种具有数字化的。插座功能类似于单相多功能电表。设计思想为设计以微功耗单片机89C52为核心并与按键和液晶显示的多功能插座。它具备手动控制、温度检测、自我保护、自动断开、实时显示等基本性能。

剩余内容已隐藏,请支付后下载全文,论文总字数:24935字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;