Based on Monolithic Integrated Circuit Classroom Light Automatic Control Research
- Author
- ChenJing
- Advisor
- WuChuiHong
- School
- Fujian Agriculture and Forestry University
- Major
- Agricultural Mechanization Engineering
- Classification
- TM571 Controller
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 1,582
- Citations
- 8
Abstract
Currently light intelligent control systems are not efficiently used in theclassroom. In order to improve the system, based on the theory of the lightcontrol and current methods of how to keep control, put forward methods ofdeveloping intelligent classroom light control system on the basis of AT89C52.and developed the hardware and software system.This classroom light intelligent control system is developed, whichmachine of AT89C52 is a major part, and the environment of development isbetter than before. This system can satisfy the following functions, such ascontrolling the circuit of illumination, testing and processing daylightsignal, testing and processing the signal of human body that illuminates theback track exists, reporting to the warning devices, etc. In order to satisfythese functions, the system adopted the homologous methods respectively, andto the gearing of the system, analyzing how to install, test and run the system.The microcontroller software was developed based on assemble language.Assemble language is one kind of structured program languages, it has moreadvantages than other high-level languages. Assemble language adopts buildingblock design. Its commonality is very good and easy to improve and expand.It could be used to develop larger-scale system with more perfect performance.At the same time, the anti-jamming technologies, such as watchdog, arenecessary when developing hardware and software.This system had many advantages. For example, the physical volume wassmall, the system was conveniently controlled, the credibility was high, theappropriation was strong, and its price proportion was ideal, etc. Theexperiment proved that the system can satisfy the control command of theclassroom’ s light device, so it could largely reduce the consuming of energyresources.
Table of contents
Abstract 7-8
ABSTRACT 8-9
1. INTRODUCTION 9-12
1.1 The significance of this research 9
1.2 study abroad classroom lighting controller status and problems 9-11
1.3 of this research content and objectives 11-12
1.3.1 research 11-12
1.3.2 research objectives 12
1.4 this project intends to address the key issues 12
2. classroom lighting controller and control scheme Profile Analysis 12-13
2.1 Classroom Lighting Controllers 12-13
2.2 system control program analysis 13
3. system control module hardware design 13-32
3.1 control module hardware configuration 13-14
3.2 The main control system hardware circuit 14-32
3.2.1 system control circuit 14-15
3.2.2 online programming module circuit 15-16
3.2.3 system power supply circuit 16-17
3.2.4 data acquisition circuit 17-21
3.2.4.1 ambient light collecting circuit 17-18
3.2.4.2 human presence sensor works 18-20
3.2.4.3 human presence signal acquisition circuit 20-21
3.2.5 System Clock Circuit 21-23
3.2.5.1 hardware clock chip select and interface circuit 21-22
3.2.5.2 hardware clock chip pin functions and how it works 22-23
3.2.6 System watchdog circuit 23-25
3.2.7 relay driver interface circuit 25-26
3.2.8 Remote Keyboard Manager module circuit 26-31
3.2.8.1 infrared remote control data stream coding structure 27-28
3.2.8.2 infrared remote control data stream identification 28-31
3.2.9 Timeout alarm circuit 31-32
4 control module software design and development 32-49
4.1 system monitoring the main program module 32-35
4.1.1 system self-test initialization 33-34
4.1.2 timer interrupt handling 34-35
4.1.3 build multi-tasking operating system 35
4.2 data acquisition module 35-38
4.2.1 The advantages and disadvantages of human presence sensor 36
4.2.2 data acquisition software designed to achieve 36-37
4.2.3 human presence sensor anti-jamming measures 37
4.2.4 human presence sensor installation requirements 37-38
4.3 clock module 38-43
4.3.1 Data input and output 38
4.3.2 clock internal registers used 38-40
4.3.3 Clock POST initialization 40-41
4.3.4 clock programming 41-43
4.4 display driver module 43-45
4.4.1 ULN2803 driver application 44
4.4.2 display program designed 44-45
4.5 System Key Function 45-49
4.5.1 Analysis and remote control keyboard collection 45-48
4.5.2 key function handler 48-49
5 system commissioning and problem analysis 49-52
5.1 SCM system debugging 49-52
5.1.1 debugging methods and procedures 49-51
5.1.2 Analysis of the main problems and solutions 51-52
6. Conclusions and recommendations 52-55
6.1 Conclusion 52
6.2 recommends 52-55
References 55-58
drawings A 58-59
Figure B 59-60
Appendix C 60-61
Appendix I 61-63
Thanks 63
Related dissertations
- The Design of Iron Core of Stators Automatic Production Line
- Based on Single Chip Microcomputer Technology Railway Crossing Alarm System Design
- The Design of the Platform for Environmental Monitoring Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- The Research and Design of Data Acquisition Module for Wind-Solar Hybrid Power Generation System
- Research on Data Acquisition and Management System of Gloves Production Line
- The Wireless Temperature and Humidity Monitoring System Design
- A type of cartridge case automatic weight machine detection system development
- Development of the Computer Auto Control System of the of Magnesium-smelting Forge
- Foaming Machine Control System Research and Design
- The Design and Implementation of Pneumatic Control System for Granulation Production Line
- A Birdhouse Environmental Control System for Large-Scale Broiler Healthy Breading
- The Design of Control System for Building Hot Water Supply
- The Software Design of Intelligent Household Control System Based on S5PV210Processor
- Research on Automatic Water Supply Control System of Poultry Farms Based on Mcu Microcontroller
- On-line Detection and Automatic Control of Available Chlorine Concentration in Electrolyzed Functional Water Generator
- The Design and Implementation oF Process Control Functions of DCS
- The Realization of the PLC Control System in Smart Home
- The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
- Design of Tube Cutting Robot Control System Based on Advanced Sensor