Serial (UART) communication on Raspberry Pi 2

Serial (UART) communication on Raspberry Pi 2

UART – Universal Asynchronous Receiver/Transmitter is one of the earliest mode of communication applied to computers. Asynchronous means that data is transferred without support from an external clock signal and universal because it’s parameters: speed, frame size and number of parity and stop bits are not fixed and can be configured to meet the needs of a given communication requirement. The asynchronous serial protocol has four built-in-rules, mechanisms, which must be the same on both sides: Baud rate, Data bits, Parity bits and Stop bits.   UART parameters are set as: 9600 8N1 which means: BaudRate…