Search found 3 matches

by natdf2d
Thu Aug 17, 2023 11:09 am
Forum: General Discussion
Topic: [solved] ESP32 resets when using python Serial library
Replies: 4
Views: 1654

Re: ESP32 resets when using python Serial library

Just tried, thanks so much, that does seem to work. I thought that setting dsrdtr=False is the same as ser.setDTR(False), my bad. Appreciate your help!
by natdf2d
Thu Aug 17, 2023 7:50 am
Forum: General Discussion
Topic: [solved] ESP32 resets when using python Serial library
Replies: 4
Views: 1654

Re: ESP32 resets when using python Serial library

Hi, yes, I also tried that: ser = serial.Serial( port = com_port,\ baudrate = baud_rate,\ parity=serial.PARITY_NONE,\ stopbits=serial.STOPBITS_ONE,\ bytesize=serial.EIGHTBITS,\ timeout=2,\ dsrdtr=False,\ rtscts=False) Still the same behavior. I also tried this https://heepy.net/index.php/Prevent_win...
by natdf2d
Tue Aug 15, 2023 9:25 am
Forum: General Discussion
Topic: [solved] ESP32 resets when using python Serial library
Replies: 4
Views: 1654

[solved] ESP32 resets when using python Serial library

Hello, I am trying to use python library to read/write to serial of ESP. The interface is initialized as below, however ESP32 resets when I run the code. How can I fix this? I am running the code on Windows PC. Many thanks! ser = serial.Serial( port = com_port,\ baudrate = baud_rate,\ parity=serial....