From the course: Raspberry Pi: GPIO

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

UART in depth

UART in depth

- [Instructor] At the very start of this chapter, I mentioned there were some issues with the serial connection to the Raspberry Pi. Let's spend a couple of minutes reviewing serial communication in depth. First, and very important, there is a standard serial communication protocol called RS-232. It's been around since 1960 and until recently, every computer had at least one RS-232 port, if not, two. Printers, keyboards, and mice, all used RS-232. It wasn't until USB appeared in 1996 that serial ports started to disappear. So, you would think you could plug the Raspberry Pi GPIO serial pins directly into a printer or other RS-232 device. Not so fast. The RS-232 specification calls for voltages from negative 15 volts to positive 15 volts. And you may recall that the Raspberry Pi has a maximum voltage of plus 3.3 volts DC and a minimum voltage of zero volts. If you connect an RS-232 connector to your Raspberry…

Contents