Comments

Your question is more Linux/RPi related. You need to find a tutorial on how to activate and use the UART on RPi in general (something like enable_uart in config.txt). AFAIK, the serial ports are "serial0", "serial1" and so on.