Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    how can I check and compare the serial port configuration ... but you've stated These parameters are set in Python using serial module - so, would that not imply the configuration is the same, because, presumably, you set them the same in your code? Commented May 7 at 21:43
  • 1
    What OS is installed (detail including version)? How did you install "serial module"? How did you set "the serial port configuration"? You have listed no code or diagnostics. Commented May 8 at 2:27
  • 2
    You should NOT use pip to install system code use apt. Commented May 8 at 10:09
  • 1
    pip can not install system code it can install user code but it is almost always the best option to install the package provided by the OS developers. Forget the peripheral issues, post some executable code and diagnostics. Commented May 8 at 10:18
  • 1
    You can also insert a short delay (100–200 ms) after opening the port before starting to read. This allows any boot-time data to be fully sent and discarded. Commented May 8 at 12:33