Go Down

Topic: Disabling pyserial auto-reset via software change on Arduino DUE (Read 518 times) previous topic - next topic

c2951395

Hello,

I bought recently arduino DUE and I have noticed that arduino always resets after initialization of connection. I would like to disable the auto-reset when serial connection is initialized with:
Code: [Select]
serial.Serial('/dev/ttyACM0', 9600,timeout=0.1)

I tried to google and found many solutions for regular arduino UNO which do not work with DUE. For example disabling this to python object has no effect.

Code: [Select]
ser.setDTR(False)
ser.setRTS(False)


I am not inclined to change software, however when very easy and does not involve direct board soldering, this can be an option too.

Thanks for suggestions,
M.

OptimusPrime

Which USB port do you use? The programming port always resets the arduino when a new serial connection is established. Try using the native port.

best regards

Go Up