Data-acquisition System Based on MCU PIC16F877 (Comunication and PC Program Design)

Author
ZhangXiaoLong
Advisor
XiaLuYi
School
Taiyuan University of Technology
Major
Control Theory and Control Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2003
Downloads
605
Citations
4

Request the full text

Abstract

This paper researches the PC part of universal data acquisition system. With the development of computer technology, the demand for controlling precision gets higher. In this way, it is essential to monitor important parameter of field. After the data of industry field is transformed into electrical signal by sensor, the signal is transmitted to PC for display via the serial interface of MCU. In this way, we can watch types of parameters and identify whether the parameters are correct in according to the requiring to industry , which make us take relevant controlling operation.Because the signal which serial interface output of MCU is TTL logic level, it is essential to transform TTL electrical level to RS-232 electrical level when the MCU is communicated with PC. In this paper the universal RS232/485 electrical levelconverting circuit board is designed. It can realize data transmission by the two communication level manner. By debugging, the board could meet the expected function. The signal is credibility and nicety.In this paper, the computer’ s serial interface is accessed via the MSComm control in VB6.0. It can realize the asynchronous communication with MCU. The superstratum interfaces are designed with VB6. 0. It can examine and display digital signals and analog signals, and set communication port simply by asking. It has realistic meaning.

Table of contents

The first chapter 9-14 first single-chip control system overview 9-10 Section PIC16F877 microcontroller characteristics and working principle 10-11 third main work of this paper 11-14 Chapter II hardware design 14-24 first power supply part of the design 14-15 second level converting circuit board schematic design 15-20 2.2.1 client level conversion chip circuit diagram 15-19 2.2.2 PC side of the level conversion circuit schematics 19-20 third core part of the data acquisition board schematics 20-24 2.3.1 microcontroller core circuit part 20-22 2.3.2 Analog and digital input channels 22 2.3.3 switch output circuit 22-24 < br /> Chapter serial communication 24-41 first communication types and characteristics 24-29 3.1.1 communicate the basic concepts and classifications 24-25 3.1.2 serial communication transmission 25-28 3.1.3 Error checking and correcting information 28 3.1.4 transmission rate and transmission distance 28-29 second serial communication protocol 29-34 3.2.1 asynchronous communication protocol 29-32 3.2.2 Synchronous communication protocol 32-33 3.2.3 Asynchronous Communication comparison with synchronous communication 33-34 III serial interface standard 34 -41 3.3.1 EIA RS-232C interface standard 34-37 3.3.2 RS-422, RS-485 interface standard 37-39 3.3 .3 several serial communication standard comparison 39-41 Chapter PIC16F877 microcontroller side communication program design 41-52 Section PIC16F877 serial communication interface Set 41-45 II chip communication program design 45-52 4.2.1 send subroutine 45-48 4.2.2 reception subroutine 48-52 Chapter WINDOWS operating control platform to achieve 52-59 first serial communication control 52-58 <br / > 5.1.1 MSComm control works 53 5.1.2 MSComm control manipulation principles 53-54 5.1.3 MSComm control attribute 54 - 58 second serial communication control the use 58-59 Chapter VI PC communication program design and interface design 59-77 Section PC communication program design 59-71 6.1.1 host computer receives data subprogram design 60-65 6.1.2 PC to send data subprogram design 65-67 6.1.3 DDC achieve a PID formula 67-71 II PC interface design and function 71-77 seventh Chapter Summary 77-80 first summary of the work of this thesis 77-78 Section II of this topic and its application prospects improve 78-80 References 80-87 Appendix 1 87-88 Appendix 2 88-96 Thanks 96 - 97 papers published during the study for a degree 97

Related dissertations

  1. Design of Pulse Signal Data Acquisition Base on MCU AT89C51
    XuWei ·Northeast Normal University ·2007 ·Master's thesis
  2. Development of a Measurement and Control System of the Sliding Bearing Test Bench for the Fuel Pump
    ZhangWenMing ·Hefei University of Technology ·2013 ·Master's thesis
  3. Research and Implementation of Data Acquisition and Access Mode in Monitoring System for Engine Room Environment
  4. Development and Application of Vibration Signal Acquisition System Based on DSP
    WuZhenZuo ·Guangdong University of Technology ·2013 ·Master's thesis
  5. Based on Correspondence between PLC and Computer to Develop Centrifuge Monitor and Control System
    LiuXiaoWei ·Xinjiang University ·2007 ·Master's thesis
  6. Design of Respiratory Monitoring Apparatus Base on MCU PIC16F877
    WangBaiJin ·Northeast Normal University ·2006 ·Master's thesis
  7. Research on the Reform of Taxation Information Management Mechanism in China
    ZhangYiXiang ·Huaqiao University ·2013 ·Master's thesis
  8. The Ningbo Public Transit Circuit Capacity Model and Practical Research
    XuBin ·Ningbo University ·2013 ·Master's thesis
  9. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  10. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  11. Design and Implementation of Alarming Management System about Fireproof and Burglar
  12. Research on PLC remote monitoring technology based on Internet
    LiuWeiGang ·University of North ·2014 ·Master's thesis
  13. Research on Mechanical Vibration Testing System
    YaoFeiZhao ·Dalian Polytechnic University ·2008 ·Master's thesis
  14. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  15. The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
    LiJian ·China University of Petroleum Hua Dong. ·2012 ·Master's thesis
  16. Development of ATE Signals On-line Monitoring Equipment
    QianKeWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  19. The Reliable Data Transmission System in the Maternal and Child Health Information Platform
    YangLei ·Guangxi University ·2012 ·Master's thesis
  20. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis