Out Of Stock
Description
- VCC: 5v
- TX: transmitting data
- RX: Receiving data
- GND: Ground
How two Device Communicate through UART
It takes two UARTs to communicate directly with each other. On one end the transmitting UART converts parallel data from a CPU into serial form and then transmits the data in serial form to the second UART which will receive the serial data and convert it back into parallel data. This data can then be accessed from the receiving device.
Instead of cloak signals the transmitting and receiving bit use start and stop bit signals for the data packages. These start and stop bits define the beginning and the end of the data packages. Therefore the receiving UART knows when to start and stop reading the bits.
The Receiving UART will detect the start bit and then start reading the bits. The specific frequency used to read the incoming bits is known as the baud rate. The baud rate is a measure used for the speed of data transfer. The unit used for the baud rate is bits per second (bps). In order for the data transfer to be a success both the transmitting and receiving UART must operate at almost the same baud rate. However, if the baud rates differ between both UARTs they must only differ by 10%. The receiving and transmitting UART must be configured to receive the same data packages.