knee-koh / MarIOnette

Blender plugin for controlling Arduino-based microcontrollers over Serial.
GNU General Public License v3.0
271 stars 19 forks source link

Can't Connect Blender to Arduino #8

Open iegl3 opened 1 year ago

iegl3 commented 1 year ago

Python: Traceback (most recent call last): File "C:\Users\Us\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\MarIOnette v1_0_2.py", line 1253, in execute serialport = serial.Serial(scn.scn_prop.PortSelect, scn.scn_prop.BaudRate, timeout = 0.01) File "C:\Users\Us\AppData\Roaming\Python\Python310\site-packages\serial\serialwin32.py", line 33, in init super(Serial, self).init(*args, **kwargs) File "C:\Users\Us\AppData\Roaming\Python\Python310\site-packages\serial\serialutil.py", line 244, in init self.open() File "C:\Users\Us\AppData\Roaming\Python\Python310\site-packages\serial\serialwin32.py", line 64, in open raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError())) serial.serialutil.SerialException: could not open port 'COM5': PermissionError(13, 'Access is denied.', None, 5)

knee-koh commented 11 months ago

I've been able to test on blender versions up to 4.02 on Windows 10 and Mac M1, and have not seen this issue come up. Could you please update to MarIOnette 1.0.3 and re-install the add-on (opening Blender in Administrator mode if on Windows) and see if you still have problems?

AustinRamby75 commented 3 months ago

I am having a similar issue. Just downloaded today. When Im in my initial setup, it can find the COM port just fine. However, when I synch and add it to my arduino, there are no options for Serial Port in Blender. PortIssue

knee-koh commented 3 months ago

Are you getting the same error message as the first user? Your issue sounds like a Serial Port problem: