Realization of Serial Communication between PC and AVR Single Chip
Ding Yixin
Abstract
Ding Yixin
Abstract
This paper has explained the realizable way of the serial communication between PC and AVR series single chip computer (Atmega128) on the basis of RS 232 serial communication protocol,the twoway transmission of the data among the PC and single chip computer is realized. The PC is the primary sending end, the single chip computer is the primary receiver. On the hardware, we simply introduce how utilizes the MAX232E chip to solve the disagreement with single chip computer and the PC. On the software, the program in PC is the Turbo C program, it uses the function (bioscom) that is offerd by the library function (bios.h) of Turbo C. The function (bioscom) can carry out the software interrupt of BIOS. The program in single chip computer is C51 program, using the interrupt that UART receive end and the interrupt that UART send end. We offered the C program and C51 program in this paper.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
This paper has explained the realizable way of the serial communication between PC and AVR series single chip computer (Atmega128) on the basis of RS 232 serial communication protocol,the twoway transmission of the data among the PC and single chip computer is realized. The PC is the primary sending end, the single chip computer is the primary receiver. On the hardware, we simply introduce how utilizes the MAX232E chip to solve the disagreement with single chip computer and the PC. On the software, the program in PC is the Turbo C program, it uses the function (bioscom) that is offerd by the library function (bios.h) of Turbo C. The function (bioscom) can carry out the software interrupt of BIOS. The program in single chip computer is C51 program, using the interrupt that UART receive end and the interrupt that UART send end. We offered the C program and C51 program in this paper.
Key concepts: Universal asynchronous receiver/transmitter, Interrupt, Computer science, Serial communication, Computer hardware, Serial port, Embedded system, BIOS