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
相关产品推荐
相关产品推荐

