2

I want to build my first barebones AVR circuit.

I plan on NOT having a RESET button. For this reason, is it valid if I connect the ATMEGA's RESET pin to Vcc directly?

What I mean by this, is that in this scenario, I will not be using a pull-down resistor as well. Just straight to Vcc.

EDIT: This is a part of the schematic:

enter image description here

Nick Gammon
  • 38,901
  • 13
  • 69
  • 125
user1584421
  • 1,425
  • 3
  • 26
  • 36

2 Answers2

2

According to the datasheet linked to by hcheung in their comment, datasheet, on page 41 it states "Figure 10-2. MCU Start-up, RESET Tied to VCC".

I believe it would be OK to tie the pin directly to Vcc.

I also believe the graphical data presented in "Figure 10-2" could be miss-leading if the reader didn't know what Vcc meant, and also because there is no horizontal axis to specify that they are talking about elapsed time, not voltage change.

EDIT

Regarding your comment "Thanks, but now I am not sure if this setup will work with Sparkfun's Pocket AVR Programmer.".

Looking at page 40 of the datasheet, a internal pull-up resistor is built into the MCU.

enter image description here

You could leave the reset pin not connected and see if it still works as expected. Perhaps a high impedance DVOM would show Vcc on that pin. Some people say leave it disconnected if there are no issues from EMI. EEV Blog - Is it ok to leave atmega328p reset pin floating?

The data sheet also mentions the power on reset timeout which may allow you to program the MCU with your programmer once it first starts, (assuming you have tied the reset pin to Vcc and you leave the reset pin disconnected on your programmer).

Another option would be to program the MCU, then connect the reset pin to Vcc through a couple of solder pads you can bridge with a blob of solder.

Once the reset pin is tied to Vcc, using a programmer connected to that pin will likely result in the magic smoke being released from the MCU, your programmer, or both.

VE7JRO
  • 2,515
  • 19
  • 27
  • 29
2

I updated the question with a pic. I am using ATMega328. I intend to program the chip using Sparkfun's AVR Programmer.

Then don't tie /RESET to VCC. The programming won't work. What are you doing? Trying to save one resistor? If you have J2 as a programming interface, then /RESET needs to be able to be pulled low to start the programming sequence. Either remove J2 altogether and program the chip in advance of going on the board, or use the pull-up resistor. Don't tie it to VCC.

Nick Gammon
  • 38,901
  • 13
  • 69
  • 125