FIXONIC
SellSavedMy Fixonic
Official iFixit API visual reference

Arduino Leonardo Bootloader Replacement

Anytime you use the Arduino Leonardo as a...

iFixit Library Arduino Leonardo Moderate 35 - 50 minutes Guide 124128
Open the authorised source
Licensed iFixit integration

This attributed iFixit guide is displayed through Fixonic's recorded commercial API permission. iFixit remains the independent source and author of the procedure.

Guide overview

Before you begin

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. From our experience, without proper programming procedures, the Leonardo essentially takes over USB communication. This guide demonstrates how to repair this issue so that your Arduino Leonardo can be used in other projects.

Step 1

Repair step

  • 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.
Step 2

Repair step

  • Grab your USB Type-A to Type-B cable.
  • Plug the Type-B end of the cable into your Arduino UNO.
  • Insert the Type-A end into the device with the Arduino IDE software installed.
Step 3

Repair step

  • Open up the ArduinoISP source code by going to: File->Examples->ArduinoISP ->ArduinoISP from the toolbar.
  • A new window will open up with the ArduinoISP source code.
Step 4

Repair step

  • 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.
Step 5

Repair step

  • Insert one of your male to male jumper wires into the 5V pin.
  • Then insert a separate male to male jumper wire into the GND (Ground) pin.
Step 6

Repair step

  • Insert the last male to male wire into pin 10.
  • Insert one of the male to female wires into pin 11.
Step 7

Repair step

  • Insert the 2nd male to female wire into pin 12.
  • Insert the 3rd and last male to female wire into pin 13.
Step 8

Repair step

  • Take the wire in the 5V pin on the Uno and proceed to link it to 5V pin on the Leonardo.
  • Take the wire in the GND pin from the Uno and proceed to link it to the GND pin on the Leonardo.
Step 9

Repair step

  • Now take the capacitor and plug one end into the GND pin and one end into the RESET pin.
  • Take the wire plugged into pin 10 on the Uno and link it to the RESET pin on the Leonardo
Step 10

Repair step

  • 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.
Step 11

Repair step

  • 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.
Step 12

Repair step

  • Now grab your USB Micro-B to Type-A cable
  • Plug the Micro-B end of the cable into the Arduino Leonardo.
  • Plug the Type-A end of the cable into the laptop.
  • If all has gone well, your Arduino Leonardo should no longer be sending keyboard commands to your computer.