Designing and Realization of Multi-Port Board Based on PIC
- Author
- YuPingPing
- Advisor
- HouChunPing
- School
- Tianjin University
- Major
- Communication and Information System
- Classification
- TP368.12 Microprocessor
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 76
- Citations
- 0
Abstract
Nowadays, embedded design into every corner of people's lives, microcontroller-based controller applications still account for a large market. However, prevailed in the network environment require frequent interaction between the various applications of an isolated function device expansion interface is an inevitable trend, such as a variety of embedded remote monitoring applications easily through a wired network, wireless network easy data transfer, or through the the PC common interface directly connected to the PC. The infrared and Zigbee wireless transmission technology, wired Ethernet technology, network technology, as well as the PC interface USB bus communication is now all been the industry's favor and the development of promising interface. This article is based on this demand, design a microcontroller-based multi-interface communication board. This development to achieve multi-interface communication board can either add specific applications to achieve the special features, can also be used as a development board for beginners to learn to use. Of this work include:? Designed and implemented to the PIC18F8722 the main controller interface expansion board, completed on Proteus simulation of the same series microcontroller PIC18F8720, breaking LED control button to interrupt control, the UART module communication and LCD the module display; infrared codec chip the MCP2120 and infrared transceivers IRMS6118, designed and implemented the the infrared interface circuit, the HyperTerminal test the infrared wireless transmission performance between the two modules; compatible with USB2.0 USB interface circuit designed and implemented to prepare bulk transfer USB device mode interrupt transfer test program, written in the PC side control window to complete the testing of USB data transfer performance. The Design and Implementation of a 10Base-T Ethernet interface circuit, write programs for the TCP data transmission, UDP data transmission performance as well as Ping response test. The Design and Implementation of the 2.4GHz band Zigbee module interface circuit test on Zigbee wireless network construction capabilities and simple data transfer performance. The design and implementation of LCD module interface circuits, test the LCD display function, character LCD display, display and graphic display of Spanish. Designed in this paper, to achieve all circuits, modules, software can now work properly, including infrared transmission bit error rate is 0; up and down the line of USB bulk transfer speed of 780.5 Kbps and 615.4 Kbps, interrupt transfer is correct; TCP transmission average speed of 144Kbps, the UDP transmission average speed 251.852Kbps; Zigbee partially completed between point-to-point transmission network construction coordinator and RFD string, the entire circuit board power consumption of 16 mW, to achieve the design performance and functionality requirements.
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-12
1.1 System Overview 7-8 < br /> 1.2 device selection considerations 8-11
1.3 This paper work and thesis structure 11
1.4 Chapter Summary 11-12
first Chapter II PIC microcontroller and Development Environment 12-16
2.1 PIC18F8722 Introduction and pin assignment 12-13
2.2 software development environment 13-15
2.3 Chapter Summary 15-16
Chapter infrared circuit hardware and software design 16-24
3.1 IR circuit 16-19
3.1.1 MCP2120 Profile 16-18
3.1.2 infrared hardware circuit 18-19
3.2 RS-232 serial bus 19-21
3.3 infrared part of the software implementation 21-22
3.4 Analysis of test results 22-23
3.5 Summary 23-24
Chapter USB circuit hardware and software to achieve 24-38
4.1 USB specification Introduction 24-27
4.1.1 USB systems and layered 24-25
4.1.2 USB protocol 25-26
4.1.3 USB data transfer types 26-27
4.2 USB interface chip CH375 27-34
4.2.1 CH375 Hardware Features 27-28
4.2.2 CH375 command code 28-31
4.2.3 client computer software interface 31-34
4.3 USB communications software implementation 34-36
4.3.1 bulk transfer test program 34-35
4.3.2 LED control testing procedures 35 - 36
4.4 Analysis of test results 36-37
4.5 Chapter Summary 37-38
Chapter Ethernet interface hardware and software design 38 - 59
5.1 hardware design 38-39
5.2 PIC18F8722 SPI bus 39-41
5.3 MCHPStack protocol stack 41-55
5.3.1 Host-to-network layer 41-44
5.3.1.1 MAC 41-43
5.3.1.2 ARP 43-44
5.3. two network interconnection layer 44-48
5.3.2.1 IP 45-47
5.3.2.2 ICMP 47-48
5.3.3 Transmission layer 48-55
5.3.3.1 TCP format 48-50
5.3.3.2 TCP connection setup and teardown 50-51
5.3. 3.3 TCP server mode data transmission testing and results analysis 51-53
5.3.3.4 UDP protocol and test results analysis 53-55
5.4 Ping Server software design and test results analysis 55-58
5.5 Chapter Summary 58-59
Chapter Zigbee interface and LCD interface design 59-67
6.1 Zigbee interface design 59-63
6.1.1 Zigbee RF chip CC2430 59-60
6.1.2 Zigbee hardware design 60-61
6.1.3 Zigbee Protocol Introduction 61-63
6.1.4 Zigbee test 63
6.2 LCD module interface design 63-66
6.2.1 ST7920 Introduction 63-65
6.2.2 hardware interface design and testing 65-66
6.3 Chapter Summary 66-67
Chapter VII of the motherboard 67-69
Chapter Summary and Outlook 69-70
References 70-72
participate in scientific research papers and case description 72 -73
Thanks 73-74
ABBREVIATIONS 74
Related dissertations
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Communication of DC Micro_Grid and It's Energy Management System
- Design of Coal Mine Safety Monitoring System Based on Internet of Things
- Design of Smart Home System Based on Ethernet and ZigBee
- Research on Smart Home Network Based on PLC
- Research on Industrial Wireless Monitoring and Control Network Construction Based on ZigBee
- The Design of Smart Home Based on Zigbee and Ethernet
- Application design with USB interface based on PIC MCU
- Handheld and Automatic Meter Reading System Based on Embedded System
- Design and Realization of Computer Embroidery Machine Monitoring System Based on ARM
- Design of Data Sampling System Based on USB and Ethernet
- The Design and Application of Ammeter Based on PIC MCU
- Design of Home Environment Monitoring System Based on ZigBee Technology
- The Research of Facility Agriculture Based on the Wireless Network
- The Research of Intelligent Building Fire Monitoring System Based on ZigBee
- The Design and Research of Community Security System Based on ZigBee
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Video Surveillance System Based on Embedded Technology Research
- Remote Monitoring System Using in Smart Home
- The Research and Implementation of a Remote Monitoring System Based on Wireless Technology