Effectiveness of Baud Rate Variation on the Microcontroller-Based System and PC Serial Communication (original) (raw)

This paper presents the serially communication design of the 8051 microcontroller-based system and PC interconnection using RS232 design rules. It also presents software designs to transfer data back and forth between the two systems effectively. It has presented the major details required to program the 8051 serial port. One-cost effective way to communicate is to send and receive data bits serially, also, the on board UART is very flexible and can be set up to communicate with other systems at high speeds. The simultaneous transmission-reception and receive buffering serial port features allowed lines of texts and characters to be transmitted and received through RS232 device. Some codes are needed to go along with it to control all data coming in and out of the UART. Practical results show that a slight error in the resulting baud rate, due to rounding the initializing number in the timer registers, affects the accuracy of the received and transmitted data. Several programs and subroutines are developed that let the user begin to exercise the 8051 instruction code and hardware capability.