You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Pyserial串口通信故障求助

Pyserial串口通信故障求助

各位大佬好!我在自己的项目里主要用pyserial做串口通信,但最近老是碰到通信问题,实在搞不定了,想请大家帮忙分析下!

软件环境配置

  • Windows 10 操作系统
  • Python 3.11.9 版本
  • Pyserial 3.5(通过pip在虚拟环境venv中安装)
  • 串口参数配置代码:
    self.port = serial.Serial(self.com_port, baudrate=115200, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE)
    

硬件环境配置

  • 使用的USB转串口转换器:ESP-Programmer(来源标注为ESPR,内容未完整)

备注:内容来源于stack exchange,提问作者Antoine

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 15:58:03