I recently installed Arduino IDE on my Raspberry Pi 4 and I'm trying to program an Arduino Leonardo through it. I wander if anyone experienced anything like this I'm getting here, as I searched a lot the web and nothing came out after hours.

Arduino IDE is at the latest version, board is correctly set to Arduino Leonardo, and the port too.

I getting error:

avrdude: Expected signature for ATmega32U4 is 1E 95 87

   Double check chip, or use -F to override this check.

Wrong microcontroller found.  Did you select the right board from the Tools > Board menu?

1 Answer 1


It could be that you have software installed which tries to talk to the Arduino at the same time as the IDE. For instance, modemmanager is known to cause trouble.

Run udevadm test $(udevadm info --query=path --name=/dev/ttyUSB0) (or whatever the name of your Arduino is) and check the output for any udev rules that are executed. You may see rules which define the device name, but if there's any communication software started automatically on a new serial port, it may be the root cause.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.