0

I tried preventing my Arduino Mega 2560 from restarting every time I open the serial monitor. This link didn't work for me at all.

I tried connecting the RESET pin to 3.3v pin via a 60 ohm resistor and it worked for me. The question is: If I leave that resistor permanently connected, will this solution damage my board as time passes?

dda
1,5951 gold badge12 silver badges17 bronze badges
asked Dec 16, 2017 at 9:48
3
  • 2
    Personally I use a large capacitor between reset and ground. 22uF or greater should do it. Commented Dec 16, 2017 at 10:28
  • You should connect the resistor to 5V instead of 3.3V. There is no way you can damage the Arduino with this resistor, since the reset pin is pulled low by the USB-to-Serial chip through a (100nF) capacitor. So current can only flow for a tiny moment. Commented Dec 16, 2017 at 14:34
  • i already tried 5v with a 120ohm resistor but didn't work Commented Dec 16, 2017 at 15:49

1 Answer 1

3

A 22uF cap between reset and ground does work on my Mega 2560 - opening the serial monitor will not restart the program. However, the Mega is then not downloadable. Therefore, I grounded the cap thru a normally closed relay and connected its control to a digital output. I normally operate with the relay closed. When I want to download a new program I open the relay first. It works great :-)

answered Mar 3, 2020 at 23:51

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.