The Design and Implementation of MCU Programming-Simulation Experiment System
- Author
- XuJinZeng
- Advisor
- LuHongWu
- School
- Shandong Normal University
- Major
- Educational Technology
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 1,518
- Citations
- 4
Abstract
After years of development,Micro Control Unit (MCU) is widely used in every field of human social life with progress in its performance and thousands of models.The course has become an important one in the major of computer, automation and control, and specialized in electronic and information engineering. The course,with strong theory and practice, should closely integrate theory and experiment together in actual teaching.Becides the grasp of theoretical knowledge,the students can grasp MCU structure principle and application skills better through a series of experiments such as the design of hardware circuit, programming, simulation and testing and so on. With the development of interface chip technology, the supply of programming simulation experiment instrument cannot completely meet university course’s teaching and learning needs incurrent marketing,so the purchase of Single-chip simulation system with low cost, advanced technology, the microcontroller programming open source has important realistic significance to the education and the train of talent in Micro Control Unit course.With the idea of modular structure design,the paper carefully designs and develops the microcontroller programming-simulation experiment system considering the actual demand of the present teaching of SCM in simulation experiment system programming. The microcontroller programming-simulation experiment system includes the PC and single-chip microcontroller programming control software and programming simulation experiment board. PC and single-chip microcontroller programming control software can detecte Single-chip connected to Single-chip programming simulation experiment board, control chip microcontroller programming to erase, write, read target in the ROM chip program,and show in the control interface with HEX files (.HEX documents). The simulation experiment system can run the program written in microcontroller and show the real result. single-chip microcontroller programming control software and programming simulation experiment board compose of a complete microcontroller programming simulation experiment system.The microcontroller programming-simulation experiment system is developed in the environment of Visual C++ IDE. MCU on the microcontroller programming simulation experiment broad use the AT89S51 single-chip launched by American Atmel company,which has wide use, strong compatibility and low price. This series of single-chip microcontroller has integrated not only basic function of the components in the system but also programmable (ISP) function.The selection of the MCU can effectively reduce the system’s technology and cost, and increase the reliability of the system at the same time. The microcontroller programming-simulation experiment system has stable performance and comprehensive function.Modular design ideas realize the function of microcontroller programming-simulation experiment system separately. Using the programmable individually simulation experiment system, you can learn the programme from the theory, inquire process of single-chip microcontroller subroutine library at real-time,and enter the simulation provided by this system.It can qualified various experimental and practical stage of students’ experiment courses, the electronic design contest etc,which can contribute to the self-developed experiment and cultivate students’ innovative spirit and creativity.This paper firstly microcontroller programming simulation system, and introduces the necessity and feasibility of the microcontroller programming- simulation experiment system consisting of various modules and the design principle and realization method, and the key to paper work done that, Then discusses the modular microcontroller programming-simulation experiment system mainly completed the overall design, selection and system programming simulation MCU, general description logic structure design and implementation of the simulation experiment system programming and MCU control software programming, Full of three modules microcontroller simulation experiment system are introduced, namely: programmable control section, subroutine query and programming simulation experiment. Expounds microcontroller programming design of simulation experiments, including design and programming ISP online programming function design, as well as the basic experimental modules of design of each part of the work principle, the hardware circuit are connected principle. Finally discussed using the system improved experiment teaching method, through some specific experimental system, introduces microcontroller programming- simulation experiment system operation process and to do this experiment.
Table of contents
Abstract 6-8
ABSTRACT 8-10
The first chapter 10-15
1.1 research background and significance 10-12
1.2 Research 12-13
1.3 The main work 13-15
Chapter microcontroller programming simulation system design 15-22
2.1 Simulation system microcontroller programming selection 15-17
2.1.1 selection principle 15-16
2.1.2 AT89551 chip performance profile 16-17
2.2 programming control software design 17-20
2.2.1 design principles 17-18
2.2.2 programming operation flowchart 18
2.2.3 Programming Software functions of each module 18-20
2.3 microcontroller programming simulation system design 20-22
2.3.1 Overall logical structure 20
2.3.2 microcontroller programming simulation design 20-22
Chapter 3 Program Design and implementation of simulation software 22-46
3.1 Microcontroller Programmer module 22-37
3.1.1 Principles of Programming 22-24
3.1.2 HEX file format 24-25
3.1.3 Programming Environment Introduction 25-30
3.1.4 protocol 30-33
3.1.5 Programming of the control functions to achieve 33-37
3.2 subroutine library query module 37-42
3.2.1 Features 39-40
3.2.2 Implementation 40-42
3.3 programming simulation module 42-43
3.4 overall program 43-46
Chapter 4 Programming simulation board design 46-57
4.1 overall design 46-48
4.2 breadboard each functional module design 48-53
4.2.1 Power Module 48-49
4.2.2 ISP interface module 49
4.2.3 pronunciation module 49
4.2.4 Water lamp module 49-50
4.2.5 ranks of the keyboard and digital control module 50-51
4.2.6 IR receiver module 51
4.2.7 relay control module 51
4.2.8 12C experiment module 51-52
4.2.9 Temperature sensor module 52-53
4.3 ISP line programmable functional design 53-56
4.3.1 ISP technology advantages 53-54
4.3.2 ISP line programmable works 54-55
4.3.3 ISP download cable design and production 55-56
4.4 program memory encryption 56-57
CHAPTER programming simulation project design 57-68
5.1 SCM experimental use of the system to improve teaching methods 57-58
5.2 simulation programming basic experimental 58-68
5.2.1 MCU control light water experiment 58-59
5.2.2 National Anthem simulation 59-62
5.2.3 MCU and infrared device interface experiment 62-64
5.2.4 electronic stopwatch simulation 64-66
5.2.5 digital tube display experiment 66-68
Chapter VI Conclusion and outlook 68-69
comment 69-70
the
References 70-72
papers published during the master's degree directory 72-73
Thanks 73
Related dissertations
- Design and Development of Experiment Teaching Simulation System of MCU
- The Foam Insulation Greenhouse Monitoring System Design
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- The Wireless Temperature and Humidity Monitoring System Design
- The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
- Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
- The Design of PCR Temperature Control System in STC
- Design of Temperature and Humidity Control System Based on Micro-controller
- The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
- Research and Design of Transfer Robot Using Competition
- Study on Robot Controller Based on Heterogeneous Multi-core PAC
- The Design of Kerosene Vapor Concentration Detector
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
- Research on System of Digital Image Proccessing and Recognition of Instruments
- The Design of ISP System and FOGA Hardware Implementation
- Application Research of Wireless Anti-theft System Based on GSM/GPRS
- The design and Realization of DDS technology of high precision signal source based on
- On the Design of Digital Synthesizer Based on Phase-Locked Loop
- Design and Implementation of a MCS-51-instruction-set-compatible High Speed MCU
- Design and Realize the JTAG Debugging Module on MCU