Invalid device signature

  • Arduino Uno
  • Arduino Nano
  • Arduino Mega

You may see

avrdude: Device signature = 0x000000
invalid device signature
Expected signature for ATmega328P is 1E 95 0F
differs in signature from -p m328p

Why it happens

  • The wrong board is selected.
  • The connection is so noisy that the badge is read wrongly.

How to fix it

  1. Read the name on your board and choose exactly that in Tools > Board.
  2. Take all wires off the board and try again.
  3. Try another cable and USB socket.

It worked if: Blink uploads without the signature line.

From the official documentation. Cause from Arduino Support; wording also in the avrdude 8 program. Sources: Arduino Support: invalid device signature.

Didn't help? Search another error or ask us.