基于单片机的居室安全报警系统设计外文参考及翻译(共17页).doc

上传人:飞****2 文档编号:5489761 上传时间:2022-01-08 格式:DOC 页数:17 大小:99.50KB
返回 下载 相关 举报
基于单片机的居室安全报警系统设计外文参考及翻译(共17页).doc_第1页
第1页 / 共17页
基于单片机的居室安全报警系统设计外文参考及翻译(共17页).doc_第2页
第2页 / 共17页
点击查看更多>>
资源描述

《基于单片机的居室安全报警系统设计外文参考及翻译(共17页).doc》由会员分享,可在线阅读,更多相关《基于单片机的居室安全报警系统设计外文参考及翻译(共17页).doc(17页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、精选优质文档-倾情为你奉上本科生毕业设计(论文)专业外文翻译原 文: Microcontroller Based Home Automation System With Security 译 文:基与单片机的智能家居系统与安全性 指导教师 : 职称: 副教授 学生姓名 : 学号: 专 业 : 电气工程及其自动化 院(系) : 机电工程学院 2014年3月20日专心-专注-专业Microcontroller Based Home Automation System With Security Abstract: With advancement of technology things are

2、becoming simpler and easier for us. Automatic systems are being preferred over manual system. This unit talks about the basic definitions needed to understand the Project better and further defines the technical criteria to be implemented as a part of this project.Keywords-component; Automation, 805

3、1 microcontroller, LDR,LED, ADC, Relays, LCD display, Sensors, Stepper motorI.NTRODUCTIONA home automation system integrates electrical devices in ahouse with each other. The techniques employed in home automation include those in building automation as well as the control of domestic activities, su

4、ch as home entertainment systems, houseplant and yard watering, pet feeding, changing the ambiance scenes for different events (such as dinners or parties), and the use of domestic robots. Devices may be connected through a computer network to allow control by apersonal computer, and may allow remot

5、e access from the internet.Typically, a new home is outfitted for home automation during construction, due to the accessibility of the walls, outlets, and storage rooms, and the ability to make design changes specifically to accommodate certain technologies. Wireless systems are commonly installed w

6、hen outfitting a pre-existing house, as they reduce wiring changes. These communicate through the existing power wiring, radio, or infrared signals with a central controller. Network sockets maybe installed in every room like AC power receptacles. Although automated homes of the future have been sta

7、ple exhibits for Worlds Fairs and popular backgrounds in science fiction, complexity, competition between vendors, multiple ncompatible standards and the resulting expense have limited the penetration of home automation to homes of the wealthy or ambitious hobbyists.II.HOME AUTOMATIONHome/office aut

8、omation is the control of any or all electrical devices in our home or office, whether we are there or away. Home/office automation is one of the most exciting developments in technology for the home that has come along in decades. There are hundreds of products available today that allow us control

9、 over the devices automatically, either by remote control; or even by voice command. Home automation (also called domotics) is the residential extension of building automation. It is automation of the home, housework or household activity. Home automation may include centralized control of lighting,

10、 HVAC (heating,ventilation and air conditioning), appliances, and other systems,to provide improved convenience, comfort, energy efficiency and security. Disabled can provide increased quality of life for persons who might otherwise require caregivers or institutional care. Earlier, we looked into t

11、he face of future when we talked about automated devices, which could do anything on instigation of a controller, but today it has become a reality.III.NEED OF AUTOMATIONWith advancement of technology things are becoming simpler and easier for us. Automation is the use of control systems and informa

12、tion technologies to reduce the need for human work in the production of goods and services. In the scope of industrialization, automation is a step beyond mechanization. Whereas mechanization provided human operators with machinery to assist them with the muscularrequirements of work, automation gr

13、eatly decreases the need for human sensory and mental requirements as well. Automation plays an increasingly important role in the world economy and in daily experience. Automatic systems are being preferred over manual ystem. Through this project we have tried to show automatic control of a house a

14、s a result of which power is saved to some extent.a) An automated device can replace good amount of human working force, moreover humans are more prone to errors and in intensive conditions the probability of error increases whereas, an automated device can work with diligence,versatility and with a

15、lmost zero error.Replacing human operators in tasks that involve hard physical or monotonous work.Replacing humans in tasks done in dangerous environments (i.e. fire, space, volcanoes, nuclear facilities,underwater, etc)Performing tasks that are beyond human capabilities of size, weight, speed, endu

16、rance, etc.Economy improvement. Automation may improve in economy of enterprises, society or most of humankind. For example, when an enterprise that has invested in automation technology recovers its investment, or when a state or country increases its income due to automation like Germany or Japan

17、in the 20th Century.b) This is why this project looks into construction and implementation of a system involving hardware to control a variety of electrical and electronics system.IV.SUPPY UNITA.Transformer:The main source of power(Fig 1) supply is a transformer. The maximum output power of power su

18、pply is dependent on maximum output power of transformer .We determine power from its current and voltage rating. e.g.: if there is a transformer of 12V, 500mA then maximum power delivered by transformer is 6Watt.It means we can drive a load from this transformer up to 6w. In our project our maximum

19、 power requirement is 1watt. So to provide this power we use 12V/250mA transformer. The maximum output power of this transformer is 4watt.it means it can easily drive load up to 4 watt.B.RectifierRectifier is a circuit which is used to convert ac to dc.Every electronic circuit requires a dc power su

20、pply for rectification. We have used four diodes.C.Input filter:After rectification we obtain dc supply from ac but it is not pure dc it may have some ac ripples .To reduce these ripples we use filters. It comprises of two filters low frequency ripple filter and high frequency ripple filter. To redu

21、ce low frequency ripples we use electrolytic capacitor. The voltage rating of capacitor must be double from incoming dc supply. It blocks dc and passes ripples to ground.D.RegulatorInitial stage of every electronic circuit is power supply system which provides required power to drive the whole syste

22、m. The specification of power supply depends on the power requirement and this requirement is determined by its rating. The main components used in supply system are.Regulator is a device which provides constant output voltage with varying input voltage. There are two types of regulators (a) Fixed v

23、oltage regulator(b) Adjustable regulatorWe have used fixed voltage regulator LM78XX last two digits signify output voltage. The voltage for our system is 5V that is why we have used 7805 regulator which provides 5V from 12V dc.E.Output filter:It is used to filter out output ripple if any.F.Output in

24、dicationWe use LED to observe the functioning of our system. If he LED glows it confirms proper functioning of our supply.We have used four power supply units.This supply is for the microcontroller,display and relay unit.The microcontroller requires 5 volt supply to perform any desired task.G.Contro

25、l UnitTwo control units were used one for internal system and one for external system and these control unit based on ATMELsAT89S52 microcontroller(Fig 2). The given capture shows the pins and basic requirement of microcontroller to make it functional. Detailed description of the controller is 100uf

26、 / 50v.In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software electable power saving modes. The Idle Mode stops the CPUwhile allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. Mode saves the RAM

27、contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset.The Downloadable Flash can be changed a single byte at a time and is accessible through the SPI serial interface. Holding RESET active forces the SPI bus into a serial programming inter

28、face and allows the program memory to be written to or read from unless Lock Bit 2 has been activated.H.FeaturesCompatible with MCS-51ProductsI.8KbytesofIn-SystemDownloadable Flash Memory ReprogrammableSPI Serial Interface for Program DownloadingEndurance: 1,000 Write/Erase Cycles4.0V to 5.5V Operat

29、ing RangeFully Static Operation: 0 Hz to 33 MHz56 x 8 bit Internal RAM32 Programmable I/O LinesThree 16 bit Timer/CountersEight Interrupt SourcesUll Duplex UART Serial ChannelLow Power Idle and Power Down ModesI .Advantages Less power consumptionLow costLess space requiredHigh speedFig 2-Chip BoardA

30、T89S52 is an ATMEL controller with the core of Intel MCS-51. It has same pin configuration as give above. The AT89S52 is a low-power, high-performance CMOS 8-bit microcomputer with 8K bytes of Downloadable Flash programmable and erasable read only memory and 2K bytes of EEPROM. The device is manufac

31、tured using Atmels high density nonvolatile memory technology and is compatible with the industry standard 80C51 instruction set and pin out. The on-chip Downloadable Flash allows the program memory to be reprogrammed in-system through an SPI serial interface or by a conventional nonvolatile memory

32、programmer. By combining a versatile 8-bit CPU with Downloadable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcomputer which provides a highly flexible and cost effective solution to many embedded control applications.The AT89S52 provides the following standard features: 8K bytes

33、 of Downloadable Flash, 2K bytes of EEPROM, 256 bytes of RAM, 32 I/O lines, programmable watchdog timer, two Data Pointers, three 16-bit timer/counters, a six-vectorJ .Pin DescriptionVCC: Supply voltage. GND: Ground., Port 0: Port 0 is an 8-bit open drain bidirectional I/O port. As an output port, e

34、ach pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high impedance inputs. Port 0 can also be configured to be the multiplexed low-order address/data bus during accesses to external program and data memory. In this mode, P0 has internal pull-ups. Port 0 als

35、o receives the code bytes during Flash programming and outputs the code bytes during program verification. External pull-ups are required during program verification.Port 1: Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 1 output buffers can sink/source four TTL inputs. W

36、hen 1s are written to Port 1 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pull-ups.In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 ex

37、ternal count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively, as shown in the following table .Port 1 also receives the low-order address bytes during Flash programming and verification.Port 2: Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. The Port

38、 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current (IIL) because of the internal pull-ups. Port 2 emits the hig

39、h-order address byte during fetches from external program memory and during accesses to external data memory that uses 16-bit addresses (MOVX DPTR). In this application, Port 2 uses strong internal pull-ups when emitting 1s. During accesses to external data memory that uses 8-bit addresses (MOVX RI)

40、, Port 2 emits the contents of the P2 Special Function Register. Port 2 also receives the high-order address bits and some control signals during Flash programming and verification. Port 3 Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 3 output buffers can sink/source fou

41、r TTL inputs. When 1s are written to Port 3 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (IIL) because of the pull-ups. Port 3 receives some control signals for Flash programming and ver

42、ification. Port 3 also serves the functions of various special features of the AT89S52.RST: Reset input. A high on this pin for two machine cycles while the oscillator is running resets the device. This pin drives high for 98 oscillator periods after the Watchdog times out. The DISRTO bit in SFR AUX

43、R (address 8EH) can be used to disable this feature. In the default state of bit DISRTO,the RESET HIGH out feature is enabled. ALE/PROG: Address Latch Enable (ALE) is an output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input

44、 (PROG) during Flash programming. In normal operation, ALE is emitted at a constant rate of 1/6 the oscillator frequency and may be used for external timing or clocking purposes. Note,however, that one ALE pulse is skipped during each access to external data memory.If desired, ALE operation can be d

45、isabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSEN: Program Store Enable (PSEN) is the read

46、 strobe to external program memory. When the AT89S52 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.EA/VPP: External Access Enable. EA must be strapped to GND in order

47、 to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should be strapped to VCC for internal program executions.This pin also receives the 12-volt programmi

48、ng enable voltage (VPP) during Flash programming.XTAL1: Input to the inverting oscillator amplifier and input to the internal clock operating circuit.XTAL2: Output from the inverting oscillator amplifier.H. Display UnitFig 3-Display UnitLiquid crystal displays (LCD) is an alphanumeric display and widely used in recent years as compared to LEDs. This is due to the declining prices of LCD, the ability to display numbers, characters and graphics, incorporation of a refreshing controller into the LCD, their by relieving the

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 教育教学

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁