SimpleRTK2B and Raspberry Pi 4: which UART is connected?

Q&A forumCategory: QuestionsSimpleRTK2B and Raspberry Pi 4: which UART is connected?
kenji.nakakuki asked 4 months ago

When I connect a SimpleRTK2B with a “Rapberry Pi 4 B” through a “Raspberry Pi adapter for SimpleRTK2B” which UART in ZED-F9P is connected to “primary UART” (=/dev/serial0 = /dev/ttyS0 = “mini UART”) of the “Rapberry Pi 4 B”?
UART1 or UART2 in ZED-F9P?

Ardusimple Staff replied 4 months ago

/dev/serial0 is connected to UART1. if you haven’t read it this post might be interesting:
https://www.ardusimple.com/connect-your-simplertk2b-to-a-raspberry-pi/

kenji.nakakuki replied 4 months ago

Thank you for the answer. I’ve read that post before I made this question. In the post baudrate of /dev/serial0 is 38400 which indicates UART2 is connected because the default baudrates of my ZED-F9P are 115200 for UART1 and 38400 for UART2. That’s why I wanted to make sure about this.

beatified replied 4 months ago

Thank you for your comment to your own question as it solved my issue trying to verify connectivity with the suggested test.py script mentioned in the tutorial mentioned at the above link. The python script does need to be changed from 38400 to 115200 at least for the Pi 4.
This should probably be added to the documentation for the sake of people that are not quite as technical. A simple note with the part that says change the baud rate as needed would be very helpful.

Ardusimple Staff replied 4 months ago

Hi kenji, beatified,
I think in the post it is mentioned “The baudrate configuration is valid for the default configuration of the simpleRTK2B and can be changed if needed.”