The Arduino team is now shipping their latest creation - the Leonardo. It is the first Arduino to use Atmel’s ATmegaXU4 series chip with built-in USB. This change is big and it has big benefits. In addition to the built-in USB, it offers more digital and analog pins. This step by step  guide gives you the details you need to know to start using it.

For a more comprehensive guide, see my article - Arduino Leonardo versus Uno – What’s New.

Step 1: More Digital Pins

There are four more digital pins. The Uno has 14 digital pins: D0-D13. The Leonardo has 18: D0-D17. The extra pins have been mapped to the ICSP header. Their mappings are:
  • D14 – MISO – PB3
  • D15 – SCK – PB1
  • D16 – MOSI – PB2
  • D17 – SS – PB0
Pin D17 (SS) does not have a corresponding pin on the ICSP header, nor anywhere on the board. In order to use it, you must solder a wire to either the end of the Rx LED or the via attached to it - see photo.


<p>help pleace</p><p>i have windows 10 and new to arduino,al my boards are reconiced, but not this one, it wil not instal its usb drivers, the only thing it says as reconition is ATM32U4DF4 with the nice yellow sign tru it. so it sees the chip i think but is not installing it, also tryd out drivers from arduino map. and internet,but no not working, in ardiono it see also no port or board</p>
<p>D17 &ndash; SS &ndash; PB0 is also available from the ATMEGA32u4 pin 8, at a via near A4. I soldered a pin there for access to SS near the SPI port.</p><p>Thanks for the info on the Leonardo.</p>
<p>i have an older version of sparkfun xbee stackable shield which doesnt have SCL n SCA pins but i need to use them to read gyro readings wirelessly! Anyone knows how can I get around this? urgent... please help..! :)</p>
how burning using arduino leonardo
<p>Nice intro. One addition: in addition to Linux being Leonardo-ready, you don't need to install USB drivers for OSX either. :-)</p>
hey,friend it's look like u have a great knowlage on arduino i need ur help,i m new to arduino..i want to run arduino programme which i'hv (made for leonardo board only) and check whether there is any error in programme or not..and than i want to upload this programme in programme board and acorrding to programme it'll run 2 gear motor,so how can i check it and load it..can u please tell me step wise instruction or put this instructable type vedio..i'll be thankfull,thank you
The shield is a Motor Shield like a Adafruit v1.2, compatible with Uno but not with Leonardo.
Have you got any diagram of how to mapping the pins between a shield for Uno that is not compatible with Leonardo directly? <br>Can it be done using a breadboard? <br> <br>Thank you.
But... you can't remove the microcontroller? I thought the whole point of Arduino was to program a microcontroller, remove it, and then put it in another project... They expect people to buy/make a new board for every project? <br> <br>I won't be buying one, not unless they start putting a socket on it instead of surface mount soldering it to the board.
All I ever really wanted was an extra 5V pin
IF only I'd know a little earlier I wouldn't have bought an Uno, Thanks for sharing.
i know, i bought an uno the day before Maker Faire Bay Area and then it was released there and was introduced by Massimo Banzi himself in his presentation and i felt kinda sad because it was cheaper and better. Luckily i was able to get one before all of the first 100 leonardo's were bought for $20 in the MakerShed there. But then when i got home i examined it and had no idea about the extras, so this instructable has helped me. <br />

About This Instructable




Bio: ProvideYourOwn.com is a website devoted to people who want to make their own things and provide for their own needs. We provide information, encouragement ... More »
More by ProvideYourOwn:Using an LED for a Light Sensor Analog Output - Convert PWM to Voltage Hidden Arduino Thermometer 
Add instructable to: