Skip to main content

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

danger

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)

PinAssignment
1NC (not connected)
2RxD (PC side)
3TxD (PC side)
4GND (ground)

The connector on the circuit board is item B4B-EH-A from JST:

https://de.farnell.com/jst-japan-solderless-terminals/b4b-eh-a-lf-sn/stecker-eh-top-4kont-2-5mm/dp/1830714

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.reichelt.de/de/de/shop/produkt/usb_2_0_konverter_seriell-ttl_pinheader_einzeln_1_8_m_3_3_v_-163095

https://www.conrad.de/de/p/delock-usb-kabel-usb-a-stecker-usb-pfostenbuchse-1-80-m-schwarz-83787-3378642.html

https://www.voelkner.de/products/11837648/Delock-USB-Kabel-USB-A-Stecker-USB-Pfostenbuchse-1.80m-Schwarz-83787.html

https://www.galaxus.de/de/s1/product/delock-usb-stecker-ttl-6-pin-interne-kabel-pc-5639198

https://www.alternate.de/DeLOCK/USB-2-0-Konverter-USB-A-Stecker-Seriell-TTL-6-Pin-Header-Buchse-einzeln/html/product/1459553

https://www.future-x.de/Delock-Converter-USB-2.0-Serial-TTL-6-pin-header-connector-individually-1.8-m-3.3-V-Serieller-Adapter-Seriell/991352049