From the course: Raspberry Pi: GPIO
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Connect to gpio TxD and RxD pins
From the course: Raspberry Pi: GPIO
Connect to gpio TxD and RxD pins
- [Instructor] The hardware side of UART on the Raspberry Pi is about as simple as you can get. There are only two pins, maybe four, depending on your hardware. As always, before you connect anything to the Raspberry Pi GPIO, disconnect power so you don't accidentally short between a power pin and a ground pin. For this demonstration, I'm using the Adafruit USB to TTL serial cable. It combines a standard USB plug with four TTL serial wires. I've included a handout in the Exercise Files for reference to connecting these wires. Take special note of the use of the red wire coming from the USB. In this example, I am not connecting it to the GPIO. You can connect it to the GPIO and it will supply five volts from the USB to the GPIO and the Raspberry Pi will boot, but if you do this, do not connect power to the Raspberry Pi in the normal way. Notice that the white wire from the USB cable is labeled as RXD, but it…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.