ARM-based soil temperature and humidity detector and USB data collector design
- Author
- XiongBaiKe
- Advisor
- JinJianXun
- School
- University of Electronic Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 299
- Citations
- 1
Abstract
Embedded Systems Following the IT (Information Technology) network technology , a new technology development direction , this technology has been widely used in military defense , consumer electronics , network communications , industrial control and other fields . Unattended unattended true value data acquisition intelligent network system designed to achieve the measured data of the surface temperature and humidity testing, data acquisition via USB summary data uploaded to the user's computer , unified data analysis . This paper focuses on the \technology and signal detection technology to achieve low power unattended data acquisition platform both soil temperature and humidity testing , data processing , storage and transmission functions ; software , learning and understanding of embedded systems used I2C , SPI and USB interface technology , design and debugging interface issues firmware . The main work of this paper include : the overall structure of the temperature and humidity , soil temperature and humidity detector , USB data collector and user PC posed detection platform . Describes the role of the various components in the detection platform and design requirements . 2 , soil temperature and humidity detector and USB data collector hardware design . Including working principle , circuit hardware design . 3 , soil temperature and humidity detector and USB data collector embedded firmware design . Including I2C, SPI, USB host and slave -related knowledge and the introduction of the firmware . Temperature and humidity detection platform developed internal data communication protocol was introduced. Including the format and function of each instruction . After nearly a year of analysis and appraisal , design and commissioning , and finally the successful completion of the soil temperature and humidity detector and USB data collector hardware and firmware design tasks , debugging , and has reached the requirements of the design goals .
Table of contents
Abstract 4-5
ABSTRACT 5-11
Chapter 1 Introduction 11-17
1.1 This article significance 11-12
1.2 Embedded System Overview 12-16
1.2.1 Embedded systems defined
1.2.2 Embedded technology development process 12-13
1.2.3 embedded system is characterized
1.2.4 embedded system components 13-15
1.2.4.1 embedded processor 14-15
1.2.4.2 embedded operating system 15
1.2.5 Embedded system status and future development trends 15-16
the
sources of 1.3 topics and the main research work 16-17
soil temperature and humidity testing platform for the overall structure 17-19
2.1 platform design overall envisaged 17-18
2.2 technology background 18-19
2.2.1 Soil temperature and humidity The detection is
2.2.2 USB data collector 18-19
the
soil temperature and moisture detector hardware design 19-36
3.1 hardware block diagram 19-20
3.2 ARM7 microcontroller 20-26
In 3.2.1 processor power module 20-21
3.2.2 system clock circuit 21-23
3.2.3 I2C controller and serial EEPROM 23-24
3.2.4 USB device controller 24-25
the
ADC 3.2.5 module 25-26
3.2.6 JTAG debug port 26
3.3 power module 26-28
3.4 power management circuitry 28-31
3.4.1 Timer control 29-30
3.4.2 USB plug control 30
3.4.3 Power consumption indicators Description 30-31
3.5 sensors and signal conditioning circuit 31-34
3.5.1 humidity sensor signal conditioning 31-32
3.5.2 Temperature The sensor signal conditioning 32-34
3.6 temperature and humidity The detector mounting structure 34-36
USB data collection hardware design 36-45
4.1 hardware block diagram 36-37
4.2 power module 37-38
4.3 ARM7 microcontroller 38-41
the
processor 4.3.1 powered 39
4.3.2 Real-Time Clock (RTC) module 39-40
4.3.3 SPI interface and serial FLASH memory 40-41
4.4 USB host controller 41-43
4.5 Operating status indication circuit 43
4.6 USB Data Collector kind 43-45
Chapter firmware design 45-71
5.1 I2C bus firmware 45-49
5.1.1 I2C memory the 24LC65 to read and write functions 45-47
5.1.1.1 24LC65 data is written 45-46
5.1.1.2 24LC65 data read 46-47
5.1.2 real-time clock chip PCF8563T read and write functions 47-49
5.2 SPI bus firmware 49-51
5.2.1 M25P80 data is written 49-50
5.2.2 M25P80 data read 50-51
5.3 USB host controller chip interface program 51-56
5.3.1 control signal is set high, set low function 52
the
5.3.2 data The bus bit order flip function 52-53
In 5.3.3 processor to send commands 53-56
5.3.3.1 Send command function 54-55
5.3.3.2 Send data functions 55
5.3.3.3 receive data function 55-56
5.4 USB bus enumeration process 56-59
5.4.1 USB bus 56
5.4.2 USB device logical structure 56-57
5.4.3 USB device enumeration 57-59
5.5 USB data transfer 59-62
5.5.1 Transmission Type Description 60
5.5.2 Data transfer function 60-62
5.5.2.1 control transfer function 61-62
5.5.2.2 bulk transmission processing The function 62
5.6 data and commands format The 62-71
5.6.1 USB data collector with temperature and humidity detector data and command format 63-68
5.6.1.1 USB data collector sent to the detector instruction 63-67
5.6.1.2 USB data collector receives detector data 67-68
5.6.2 USB data collection and data transfer PC 68-71
5.6.2.1 PC command sent to the collector to 68-69
5.6.2.2 PC to receive USB data collector data 69-71
Chapter VI Conclusion 71-72
the
References 72-74
the
Acknowledgements 74-75
research results during the study period 75-76
Related dissertations
- The Video Data Processing and Transmition of the Laser Beam Quality Measurement
- Design of Detection System for Weak Photoelectric Signal Based on LabVIEW
- Research on the Embedded Forest Resource Information Collection System Based on OMAP
- The Design of Multi-channel Data Acquisition System for Marine
- Design of Synchronous Data Acquisition System on Noise Signal Location
- Design of the High Speed Data Acquisition System Based on USB2.0
- Design and Implementation of Main Control Module of Onboard Information Acquisition System
- Design of Animal Physiological Signal Detection System
- Research on the Reform of Taxation Information Management Mechanism in China
- The Ningbo Public Transit Circuit Capacity Model and Practical Research
- Research on the Coordination Management of Large-scale Project Interface of Chemical Enterprise
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- Research of Layer-model of the Long-term Preservation of Digital Information Based on OASI
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32