Arduino A000057

Arduino Leonardo with Headers User Manual

Model: A000057

Introduction

The Arduino Leonardo is a microcontroller board based on the ATmega32U4. It features 20 digital input/output pins (7 of which can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.

A key distinction of the Leonardo is that its ATmega32U4 has built-in USB communication, eliminating the need for a secondary processor. This allows the Leonardo to appear to a connected computer as a mouse and keyboard, in addition to a virtual (CDC) serial / COM port.

Features

Product Overview

Top view of the Arduino Leonardo board

Figure 1: Top view of the Arduino Leonardo board, showing the microcontroller, USB port, power jack, and various digital and analog pins.

Arduino Leonardo board partially out of its packaging

Figure 2: The Arduino Leonardo board partially removed from its retail packaging, illustrating the product presentation.

Bottom view of the Arduino Leonardo board

Figure 3: Bottom view of the Arduino Leonardo board, highlighting the "Open-Source Electronics Platform" and "Designed and Assembled in Italy" markings.

Front and back of the Arduino Leonardo packaging

Figure 4: Front and back views of the Arduino Leonardo product packaging, displaying key specifications and branding.

Arduino Leonardo board mounted on a clear base

Figure 5: The Arduino Leonardo board mounted on a clear protective base, showcasing its form factor and pin headers.

Specifications

AttributeValue
MicrocontrollerATmega32U4
Operating Voltage5V
Input Voltage (recommended)7-12V
Digital I/O Pins20
PWM Digital I/O Pins7
Analog Input Pins12
DC Current per I/O Pin40 mA
DC Current for 3.3V Pin50 mA
Flash Memory32 KB (4 KB used by bootloader)
SRAM2.5 KB
EEPROM1 KB
Clock Speed16 MHz
Dimensions3 x 1 x 2 inches (approx. 76.2 x 25.4 x 50.8 mm)
Item Weight0.882 ounces (approx. 25 grams)
ManufacturerARDUINO
Country of OriginItaly
Model NumberA000057

Setup Guide

1. Software Installation (Arduino IDE)

  1. Download the Arduino IDE: Visit the official Arduino website (arduino.cc/en/software) and download the latest version of the Arduino IDE for your operating system (Windows, macOS, Linux).
  2. Install the IDE: Follow the installation instructions provided on the Arduino website or within the downloaded installer. For Windows, this typically involves running the executable. For macOS, drag the application to your Applications folder.
  3. Driver Installation: The Arduino IDE installer usually includes the necessary USB drivers. If you encounter issues, refer to the official Arduino troubleshooting guides for manual driver installation. The Leonardo's ATmega32U4 handles USB communication directly, often simplifying driver setup.

2. Connecting the Board

  1. Connect USB Cable: Use a micro-USB cable to connect the Arduino Leonardo board to your computer. The board will power on, and the "ON" LED should illuminate.
  2. Select Board in IDE: Open the Arduino IDE. Go to Tools > Board and select "Arduino Leonardo" from the list.
  3. Select Port in IDE: Go to Tools > Port. Select the serial port that corresponds to your Arduino Leonardo. On Windows, this will typically be a COM port (e.g., COM3, COM4). On macOS, it will be a `/dev/cu.usbmodemXXXX` or similar.

Operating Instructions

Uploading Your First Sketch (Blink Example)

  1. Open Example Sketch: In the Arduino IDE, go to File > Examples > 01.Basics > Blink. This will open a new window with the Blink sketch.
  2. Verify Sketch: Click the "Verify" button (checkmark icon) in the Arduino IDE toolbar. This compiles the code and checks for errors.
  3. Upload Sketch: Click the "Upload" button (right arrow icon) in the Arduino IDE toolbar. The IDE will compile the sketch and then upload it to your Arduino Leonardo board.
  4. Observe LED: Once uploaded, the built-in LED on your Leonardo board (usually labeled "L") should start blinking on and off at one-second intervals.

Using USB HID Capabilities

The Arduino Leonardo can emulate a USB keyboard or mouse. This allows you to create projects that interact directly with your computer's operating system, such as custom keypads, game controllers, or automated input devices.

Powering the Board

The Arduino Leonardo can be powered in several ways:

Maintenance

Troubleshooting

Board Not Recognized / Driver Issues

"Error Compiling / Uploading"

Sketch Uploads, But Nothing Happens

Warranty Information

Arduino products are manufactured with high-quality standards. For specific warranty terms and conditions, please refer to the official Arduino website or contact Arduino customer support. Typically, products are covered against manufacturing defects for a limited period from the date of purchase.

Support

For further assistance, technical documentation, community forums, and additional resources, please visit the official Arduino website:

Related Documents - A000057

Preview Arduino Sensor Buzzer 5V User Manual: Play Melodies with PWM
A user manual for the Arduino Sensor Buzzer 5V, explaining how to use it to play melodies using PWM signals. Includes connection details, code examples, and technical specifications for tones.
Preview Arduino & Co: Messen, Schalten und Tüfteln – Elektronik-Projekte mit Arduino
Entdecken Sie pfiffige Lösungen für Elektronikprojekte mit Arduino Pro Mini und ATmega328-Boards. Dieses umfassende Handbuch von Robert Sontheimer und Elektor Verlag deckt Messen, Schalten und Steuern ab.
Preview Arduino 入门指南:了解开源电子原型平台
一份图文并茂的Arduino入门指南,介绍开源电子原型平台的基础知识、基本电路概念、编程方法和简单项目,帮助初学者快速上手Arduino。
Preview Kickstart to Arduino Nano: Get Cracking with Arduino Nano V3, Nano Every, and Nano 33 IoT
A comprehensive guide to getting started with Arduino Nano boards, covering the Arduino Nano V3, Nano Every, and Nano 33 IoT. Learn about microcontrollers, programming with the Arduino IDE, basic electronics, sensors, stepper motors, and IoT connectivity.
Preview Arduino Guide: Microcontroller Boards, Shields, and Kits
Explore the versatile Arduino open-source microcontroller platform. This guide from Maker Shed details various Arduino boards, shields, and accessories, perfect for electronics projects and learning.
Preview Learn About Arduino and Install the Arduino IDE: A Step-by-Step Guide
This guide provides an introduction to the Arduino open-source electronics platform, its hardware components, and a detailed, step-by-step tutorial for installing the Arduino Integrated Development Environment (IDE) on Windows, macOS, and Linux systems. Learn how to set up your development environment for interactive projects.