Current location - Education and Training Encyclopedia - Graduation thesis - Two 5 1 single chip microcomputer dual-computer communication course design papers
Two 5 1 single chip microcomputer dual-computer communication course design papers
Single chip microcomputer serial communication program+course design report+circuit diagram

This design adopts two pieces of AT89C5 1 single chip microcomputer to realize serial communication of information. In the design process, it is different from 805 1 single chip microcomputer in understanding the communication background of two computers and the specific functions of 89C5 1 single chip microcomputer. From being familiar with the principle of serial communication to mastering the realization of specific serial communication between two computers; From hardware circuit design to programming; From hardware debugging to software simulation. The sender's data is disconnected from the serial port TXD, and the signal is transmitted to the receiver through the transmission line (double glue line). The level signal received by the receiver is short-distance transmission for the interface circuit, which reduces the anti-interference effect. If the serial port of the short-distance dual-computer can be connected to the general chip RS232 of the level converter, it will not be described here. In the design, we have gained a lot and encountered many problems. First of all, after completing the learning task of the single-chip microcomputer course, I don't have enough grasp of the content, lack the ability to use it flexibly, and there are some problems in expanding my knowledge. So in the face of design problems, I can't systematically draw up design ideas. Secondly, cognition cannot be better combined with practice. While consolidating and learning hardware knowledge, we use software to control and coordinate hardware to realize practical functions, and complete software functions through hardware, which has achieved certain results. Thirdly, in the process of hardware design, the selection of serial communication mode, the calculation of baud rate, and the serial communication under query mode and interrupt mode are completed. For the choice of chip, when writing software, there are great obstacles to the function of some instructions, the connection of functional modules, the choice of chip address and so on. All of these were solved with the help of teachers and classmates and with their own reference materials, and at the same time, many problems were learned. And mastered the use of KEIL and program debugging, as well as the use of PROTUES microcontroller simulation software, greatly improving the learning efficiency. Shameless, miserable and dirty nets always copy.

Through this course design, not only the theoretical knowledge has been practiced, but also the knowledge has been effectively consolidated. At the same time, we have a systematic understanding of the development history, powerful functions, application fields and series of knowledge of single chip microcomputer, and also have a preliminary understanding of a complete system development process. This design provides a good platform for the cultivation of creative thinking and the exercise of development ability. The mutual discussion and learning between students, mutual improvement, the help of teachers' knowledge and the teaching of experience are also a beautiful landscape of this design, which really plays a role in attracting jade. Here, thank the teacher for giving us such a good learning opportunity.