Introduction
Anytime you use the Arduino Leonardo as a keyboard or mouse, you risk losing the capability to upload code to the Leonardo through the USB port. By our experience, without proper programming procedures, the Leonardo essentially takes over USB communication. Our Fast Fix project demonstrates how to repair this issue so that your Arduino Leonardo can be used in other projects.
What you need
-
-
Make your way to the Arduino downloads page at https://www.arduino.cc/en/Main/Software.
-
Download the Arduino IDE that matches your operating system.
-
Follow the installation process for the application and run it.
-
-
-
Select the proper port that your Arduino Uno is connected to by selecting: Tools->Port, and then the COM port labeled with "Arduino/Genuino Uno".
-
To upload the ArduinoISP source code to the Arduino Uno, click on the circle with an arrow in the top left corner of the Arduino IDE.
-
As soon as the code is done uploading, unplug the USB cable from your computer.
-
-
-
-
On the back of the Leonardo board, there is a set of six pins.
-
Take the wire connected to pin 11 on the Uno and plug it into the middle pin of the pins furthest to the back of the board.
-
Take the wire connected to pin 12 on the Uno and plug it into the first pin on the set of three pins going toward the board (the pin closest to the Leonardo label).
-
Finally, take the wire connected to pin 13 on the Uno and plug it into the middle pin of the inner row of three pins.
-
-
-
To upload the bootloader to the Arduino Leonardo, select the Arduino Leonardo board from Tools->Board->Arduino Leonardo.
-
Next, choose the Arduino as ISP programmer from Tools->Programmer->Arduino as ISP.
-
Ensure the Arduino Uno is plugged into your computer and that the proper COM port is selected in the Arduino IDE.
-
Finally, upload the bootloader to the Arduino Leonardo by selecting Tools->Burn Bootloader.
-
Now, your Arduino Leonardo should be able to receive code from your computer over USB again.
Now, your Arduino Leonardo should be able to receive code from your computer over USB again.
Cancel: I did not complete this guide.
8 other people completed this guide.
4 Comments
Can i use arduino nano instead of arduino uno ?
Thank you! Everything works. Keep up the good work!
Hey, nice tutorial, but I am having a problem when it comes to running the "Burn Bootloader". I am getting the following output message:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Error while burning bootloader.
Any help is appreciated.