4
\$\begingroup\$

Each time I open a Serial connection to my arduino it restarts. Is there a way to unactivate this ?

Cheers.

\$\endgroup\$
1
  • \$\begingroup\$ Nothing to do with electronic design! \$\endgroup\$ Nov 20, 2012 at 17:41

1 Answer 1

6
\$\begingroup\$

The reason for the reset is that Arduino Uno boards use the DTR signal line as a reset input, for automatic "rebooting" of the board for loading fresh code from the Arduino IDE.

One solution suggested (for Arduino Uno boards) is to connect a 10 μF capacitor between the Reset pin and Ground. This should prevent the auto-reset.

Another, more permanent solution is to cut the RESET-EN trace on the Uno board with a sharp knife. Re-enabling serial port based reset involves creating a solder bridge on the cut trace to reconnect it.

With either of the above solutions you will need to press the Reset button each time just before the IDE begins uploading code to the board. Getting this manual reset timing right may need a bit of practice.

\$\endgroup\$
2
  • \$\begingroup\$ So I cannot deactivate it on my serial connection or in the setup method :( \$\endgroup\$
    – Natim
    Nov 20, 2012 at 22:48
  • \$\begingroup\$ You could try a different serial comms program such as PuTTY \$\endgroup\$ Nov 21, 2012 at 3:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.