Access is denied to python from using COM3 to my arduino ) ..#2

Thread Starter

Banana8728

Joined Jul 31, 2022
2
I have the same issue as you do. Have you found a way to fix it?
I just spent another 3 hours looking it up, and i fixed it! You just need to close serial monitoring in arduino ide so that python can use it. Its so dumb but it works for me. I know your issue was a year ago, but if u still have it, try this.
 

Ya’akov

Joined Jan 27, 2019
6,260
I just spent another 3 hours looking it up, and i fixed it! You just need to close serial monitoring in arduino ide so that python can use it. Its so dumb but it works for me. I know your issue was a year ago, but if u still have it, try this.
It’s not “dumb”, it’s expected. How can two programs use the same single channel hardware device at the same time? The “access denied” message is for the OS which has a lock on the serial port assigned to the Arduino IDE. The Python program doesn’t have permission to override that.
 
Top