subscribe to our Youtube
Each device might have connectors with the differing number of pins. But the underlying pattern for the UART pinout is the same for all devices. The square pin is used for Tx on one side and Rx on the other. To illustrate, check the table.
As a reference the picture is provided below.
Also, you can check these other threads: