Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4829

Python • Re: Serial communication problem

$
0
0
...
Maybe someone has an idea why the clock doesn't respond properly in Python. In PuTTY, I simply open the port, type 'o' in the console, and press Enter, and shortly after, I receive the desired string. The necessary transmission settings are entered in the program, which are 300 baud, 7 data bits, and 1 stop bit. Unfortunately, I'm out of ideas why it's not working
...
What happens if you use minicom on the Pi to connect to the clock?

How is the clock connected? DB9 to USB serial converter or DB9 to level shifter and GPIO or direct to the GPIO?

Do you have a link to the actual device (and to any converter)?

Do you have a solid ground connection?

If you are using a converter does it support the coms format (baud rate, parity etc)?

Statistics: Posted by MiscBits — Thu Jun 06, 2024 11:42 pm



Viewing all articles
Browse latest Browse all 4829

Trending Articles