A short-range wireless USB control system design and implementation
- Author
- GouYanGen
- Advisor
- ZhuLiDong , LiuFuYing
- School
- University of Electronic Science and Technology
- Major
- Electronics and Communication Engineering
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 452
- Citations
- 1
Abstract
Currently short-distance wireless communication technique and USB interface are two kinds of hot-spot techniques for data transferring, which have been applied extensively. The two kinds of techniques are adopted in this dissertation, and short-distance wireless control system based on USB interface is designed.The development of short-distence wireless communication is introduced firstly, and the related key technolog’es are analyzed. HID USB protocol and PDIUSBD12 USB chip are particularly studied. The main part of this dissertation is to design the project of short-distance wireless control system, including hardware and software design. By using 89C52 microcontroller and PDIUSBD12 interface chip, a wireless control system based on 315M/433M RF modules is realized, which has the function to control "up"and"down".Hardware principle diagram, software flow chart are given, and source code is designed. By firmware program design, emulation and debugging, the design function is realized.The test results indicate that the design of the system meet the requirements.
Table of contents
Abstract 4-5
ABSTRACT 5-9
The first chapter 9-12
1.1 Introduction 9
1.2 Development of similar products 9-11
1.3 points and specialty papers innovation 11
1.4 issue is the major work 11-12
Chapter II short-range wireless communications technology 12-26
2.1 Overview 12-14
2.2 SAW RF technology 14
2.3 RF receiver chip RX3310A Principle and Application 14-17
2.4 codec chip PT2262/PT2272 chip Principle 17-23
2.5 encoded transmitter and receiver circuits 23-26
Chapter Interface Device USB protocol analysis and application design analysis 26-49
3.1 USB interface and communication protocol analysis 26-27
3.1.1 USB Introduction 26
3.1.2 USB Interface Analysis 26-27
3.1.3 USB device select 27
3.2 USB bus protocol 27-34
3.2.1 USB devices 28-29
3.2.2 USB HUB 29
3.2.3 Plug 29-30
3.2.4 Device Power 30
3.2.5 device hangs 30
3.2.6 USB Host 30-31
3.2.7 USB data stream 31-34
3.3 USB Device Architecture 34-42
3.3.1 standard describes the table definition 36-41
3.3.1.1 Equipment 36-37
3.3.1.2 Configuration 37-38
3.3.1.3 Interface 38-39
3.3.1.4 Node 39-40
3.3.1.5 string 40-41
3.3.2 device class definition 41-42
3.3.2.1 Description Table 41-42
3.3.2.2 interface nodes using 42
3.3.2.3 request 42
3.4 USB Human Interface (HID) 42-44
3.4.1 Identification HID class devices 42
3.4.2 descriptor content 42-43
3.4.2.1 boot interface 42-43
3.4.2.2 HID class descriptor 43
3.4.3 HID specific request 43-44
3.5 D12 interface device principle and characterization 44-49
Chapter short-range wireless USB control system design 49-72
4.1 overall design 49-54
4.1.1 design ideas 49-52
4.1.2 Design Parameters 52
4.1.3 overall design 52-54
4.2 Development Environment 54-58
4.2.1 315M/433 wireless transceiver module 54
4.2.2 emulator 54-57
4.2.3 Programming 57-58
4.2.4 PCB board drawing tool 58
4.3 system circuit design 58-62
4.3.1 MCU 89C52 chip circuit schematics and D12 59-60
4.3.2 D12 -chip USB interface circuit 60-61
4.3.3 89C52 chip crystal oscillator circuit 61
4.3.4 printed circuit board design and production 61-62
4.4 system software design 62-72
4.4.1 Introduction 62-63
4.4.2 microcontroller firmware design 63-67
4.4.2.1 firmware design ideas 63-65
4.4.2.2 initialization procedure 65-66
4.4.2.3 main loop program 66
4.4.2.4 Interrupt Service Routine 66-67
4.4.3 USB Device Driver Design 67-68
4.4.4 PT2262 software decoding program design 68-72
Chapter V system debugging 72-78
5.1 transmitter and receiver circuit testing 72-73
5.1.1 Test equipment and components 72
5.1.2 Test procedures and methods 72-73
5.2 microcontroller 89C52, PDIUSBD12 and computer communications test 73-75
5.2.1 Test equipment and components 73
5.2.2 Test procedures and methods 73
5.2.3 with the simulator debugger microcontroller program 73-75
5.3 system FBI 75-77
5.3.1 online test 75
5.3.2 curing process test 75-77
5.4 system debugging problems in the course of 77-78
Chapter Summary and Outlook 78-79
Thanks 79-80
References 80
Related dissertations
- The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
- Study of Auto Matic Fire Alarm System Desin and Implementation
- Minisize Implement of the Rescuing System Based on Sound Wave Which Can be Used after Disaster
- Development of wire and cable insulation resistance off of the intelligent tester
- The Foam Insulation Greenhouse Monitoring System Design
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Development of Wet Gas Flow Measurement System
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of the High-speed Data Acquisition System Based on USB Interface
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- The Design of the Thermo-humidity Monitoring System
- Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- The Wireless Temperature and Humidity Monitoring System Design
- 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 Civil Defense Alarm Control System Terminal
- 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