I am a beginner with arduino, and I am trying to program an ATtiny85 using its ISP mode. In every single tutorial I find, people use a 10 uF capacitor between the reset pin and ground of the arduino, but no one explains why.
So, my question is, why is it necessary? Thank you!
Wao, okay, so I understand that the first thing arduino does when a new sketch is loaded is to reset itself, and introducing this capacitor makes this task imposible because some reason, am I right?
The autoreset circuit is a 0.1uf cap between reset on the '328p, and DTR on the serial adapter. DTR is brought (and held) low when the serial port is open. The capacitor turns this into a pulse on reset (the R in the RC is the 10k pullup on reset), which resets the '328p - that causes the bootloader to run, this is how you can program the Arduino over serial without manually resetting it.
Obviously, there are cases where you really don't want it to reset when you open connection to serial port. The 10uF cap is the quick way to disable it - this cap is much larger than the 0.1uf one in the autoreset circuit, and will prevent it from generating the reset pulse.
Grumpy_Mike:
Well in fact it is a low pass filter and it will swallow or block the tiny high frequency pulse.
With all the talk about an AVR requiring a series resistor in order to safely drive the picofarad level load produced by a mosfet gate, I'm amazed that hearts don't literally seize up and die at the thought of shorting a reset signal with a 10 uF cap.......