MBP to Serial Port (mini UART on Raspberry Pi)

Andy Chiang
Feb 15, 2022

Cable is the most Important thing, pick a USB to TTL RS232/UART Serial Converter Adapter

FTDI FT232RL Chip USB TO TTL RWS232/UART
FTDI FT232RL Chip USB TO TTL RWS232/UART

Enable UART in Pi

Option 1: using config

$ sudo raspi-config

Select “Interface Options”
Select “Interface Options”
select “I6 Serial” option.
select “I6 Serial” option.
Select “No” to the question “Would you like a login shell to be accessible over serial”?
Select “No” to the question “Would you like a login shell to be accessible over serial”?
Reply “Yes” to the question “Would you like the serial port hardware enabled?”
Select “Yes” to the question “Would you like the serial port hardware enabled?”

Exit Save and Reboot Pi.

Option 2: Edit files

$ vi /boot/config.txt

Add enable_uart=1 in [all] section

Disabling the Serial Login Shell

$ vi /boot/cmdline.txt

find and remove this part
console=serial0,115200

Monitoring UART port in MBP

using SerialTools from App Store or CoolTerm from CNET

SerialTools
CoolTerm

--

--

Andy Chiang

不多話,愛兩個寶貝,寫Python,愛騎車,聽音樂