What board type to select when following ArduinoToBreadboard?

I'm trying to follow this tutorial: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

I build the circuit, uploaded the ArduinoISP example onto the Arduino UNO, and it looks like the heartbeat led is working, as per this tutorial: https://www.arduino.cc/en/tutorial/arduinoISP

I'm stuck at step 3 of the first tutorial:

  1. Select "Arduino Duemilanove or Nano w/ ATmega328" from the Tools > Board menu. (Or "ATmega328 on a breadboard (8 MHz internal clock)" if using the minimal configuration described below.)

Those board types aren't in the listed in my Arduino IDE (1.8.5), here's a screenshot of what I do have:

I tried Arduino Duemilanove, but then I get stuff like:

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

Full log here: https://pastebin.com/raw/2yD942bf

What board do I need to use? Do I need to install a new one?

Not sure if it would be applicable to your problem, but did you connect a 10uF capacitor between reset and ground on the UNO being used as a programmer?

I initially didn't do that, why is that necessary?

Trying it now with that added (I used 2 20µF capacitors in series) unfortunately doesn't fix the issue.

Here's a picture of the current circuit:

The yellow capacitors are 20µF, the yellow led is led to eventually test programs put onto the AVR with.

The capacitor is sometimes necessary to prevent the UNO from resetting itself during the programming sequence.

Those look like 20pF capacitors, not 20uF, and are probably too small to be effective. Wiring looks correct as far as I can tell.

Ah you're right, messed up the capacitors. I'll have to buy some new ones then!

20pF is correct for use with the crystal.

Yeah, that's why I had those already :slight_smile:

flaghacker:
What board do I need to use?

Arduino Duemilanove will work. That is not the cause of the Device signature = 0x000000 error.

Ah, that's good to know. Just to be sure of the steps I'm taking:

  • I upload the example "ArduinoISP" to the Arduino like I normally would upload a program, so board: Arduino/Genuino UNO, programmer: AVRISP mkll
  • I then connect everthing according to the diagram and in my picture
  • I switch to board: Arduino Duemilanove, programmer: Arduino as ISP and then click Burn Bootloader in the IDE

Is that right?

That's correct.

Your crystal and capacitors are way too far away from the ATmega328P. This is how you should place the decoupling capacitors:


This is how you should place the crystal:

(but leave the decoupling capacitors next to the chip, I don't know why Nick Gammon moved them in that picture)

Those images are from this tutorial:

Okay, I didn't know it mattered how close everything was, updated picture:

I hope I got the right combination of the pictures. Also why does it say 0.1µF in the picture, I thought you were meant to use 20pF capacitors?

Unfortunately I still get the same result, I'll try going to the tutorial you linked step by step tomorrow to see where exactly it's going wrong.

The 0.1 uF capacitors are the decoupling capacitors on the power lines to the ATmega328P. The 22 pF capacitors are the load capacitors for the crystal. In the picture above, you forgot the crystal load capacitors.