Serial Console
All of our edge devices have a serial console or a "UART debug port," as it is called on the Raspberry Pi 5, on a 4-pin JST connector.

Serial console using the example of smartRAIL V2.2
Pin assignment
The signals have a voltage level of 3.3 volts and are unprotected at the CPU!
The interface parameters are: 115200 baud with 8N1 (8 data bits, no parity, 1 stop bit)
| Pin | Assignment |
|---|---|
| 1 | NC (not connected) |
| 2 | RxD (PC side) |
| 3 | TxD (PC side) |
| 4 | GND (ground) |
The connector on the circuit board is item B4B-EH-A from JST:

There are no ready-made USB to serial cables with a suitable JST connector.
USB-to-UART adapter cables
The USB-to-UART adapter cables with individual pin sockets from the Raspberry Pi environment are a good alternative. Preferably with an FTDI chipset. We recommend the USB 2.0 to Serial TTL (3.3 V) converter from Delock with item number 83787: https://www.delock.de/produkt/83787/merkmale.html

Connection of the Delock USB 2.0 to Serial TTL (3.3 V) Converter
Where to buy
https://www.galaxus.de/de/s1/product/delock-usb-stecker-ttl-6-pin-interne-kabel-pc-5639198