UART between Pico and PC

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
muhammad
Posts: 2
Joined: Sat Apr 30, 2022 7:42 am

UART between Pico and PC

Post by muhammad » Sat Apr 30, 2022 8:14 am

Hi all!
I try to make communication between Pico and PC. I have connected radio module (one connected to the Pico and another to the PC). I have tried different type of software to read the data from Pico but they always show some characters like )?)) when the data is received. I tried it on Ubuntu and Windows 10 and the same problem. I have tried adding decoding and encoding but also the same. The radio on Pico sends data and the radio on PC receive it but the shown data is incorrect. In screenshots i show the running code on Pico and the results on serial monitors (Putty and Arduino Serial Monitor).
Image

Image

links to images because they are not shown
https://ibb.co/4W1dKrP

https://ibb.co/BgGC0nQ

Thanks in advance.

tepalia02
Posts: 99
Joined: Mon Mar 21, 2022 5:13 am

Re: UART between Pico and PC

Post by tepalia02 » Sat Apr 30, 2022 1:24 pm

Have you checked the baud rates of the two devices? Usually, these '???' appear when there is a baud rate mismatch.

muhammad
Posts: 2
Joined: Sat Apr 30, 2022 7:42 am

Re: UART between Pico and PC

Post by muhammad » Sun May 01, 2022 4:48 pm

tepalia02 wrote:
Sat Apr 30, 2022 1:24 pm
Have you checked the baud rates of the two devices? Usually, these '???' appear when there is a baud rate mismatch.
Thanks for reply. yes, it was a baud rate mismatch. I didn't set the needed baud rate and now it works well.

Post Reply