| General |
| Microcontroller | ATmega32u4 |
| Operating voltage | 5 V |
| Recommended input voltage | 7-12 V |
| Input voltage (limits) | 6-20 V |
| Digital I/O pins | 20 |
| PWM channels | 7 |
| Analog input channels | 12 |
| DC per I/O pin | 40 mA |
| DC for 3.3V pin | 50 mA |
| Flash memory | 32 KB |
| Flash memory (bootloader) | 4 KB |
| SRAM | 2,5 KB |
| EEPROM | 1 KB |
| Clock frequency | 16 MHz |
The Arduino Leonardo is a microcontroller board based on the ATmega32u4 processor and designed for the development of electronic projects and prototypes. Unlike earlier Arduino models such as the UNO, the Leonardo features integrated USB communication, enabling it to be directly recognised as a
keyboard or
mouse by a computer, in addition to a virtual serial interface (CDC). This functionality allows direct interaction with the host computer without requiring an additional USB controller chip. The board is compact in size and suitable for applications requiring direct USB control, for example in interaction design or automation technology.
Applications
The Arduino Leonardo is used in the development of embedded systems, prototypes, and small electronic devices. Due to its ability to be recognised as an input device (keyboard, mouse), it is particularly suitable for projects requiring direct computer control via USB, such as automated testing, interactive installations, or devices communicating with a PC. The integrated USB function reduces hardware complexity, as no additional USB controller is required.
Functions and Features in Detail
The board features 20 digital input/output pins, of which 7 can be used as
PWM outputs (pulse width modulation), and 12 analog input channels. The pins support a maximum DC current load of 40 mA per pin, with the 3.3 V pin capable of delivering up to 50 mA. The integrated
USB interface enables communication with a computer via a Micro-USB cable, serving simultaneously as a programming and power supply interface. A reset button, an ICSP header, and a power jack complete the hardware features.
Technology Explained Simply
The ATmega32u4 microcontroller operates at a clock frequency of 16 MHz and provides 32 KB of flash memory, of which 4 KB is occupied by the bootloader. The SRAM (working memory) amounts to 2.5 KB, and the EEPROM memory has a capacity of 1 KB. The board's operating voltage is 5 V, with a recommended input voltage range of 7 to 12 V. The voltage limits are 6 to 20 V. The integrated USB communication allows the board to be used as a virtual serial communication device (CDC), simplifying programming and data transfer. The use of a 16-MHz crystal oscillator ensures a stable clock frequency.
Compatibility and Accessories
The Arduino Leonardo is compatible with the Arduino development environment (IDE) and can be connected to a computer via USB. It supports the same programming languages and libraries as other Arduino boards. For power supply, an AC-DC power adapter or a battery can be used. The connection of external sensors, actuators, or displays is possible via the digital and analog pins. The specified technical specifications refer to the board without additional components.
Mounting and Installation
Installation is performed by connecting the board to a computer via a Micro-USB cable. The Arduino IDE automatically recognises the board, provided the appropriate drivers are installed. Power supply can be via the USB cable or through the power jack using an external power supply. Mounting of additional components is done via the digital and analog pins, with the power supply for external components needing to comply with the board's specifications.
Advantages in Operation
The Leonardo offers a compact design with integrated USB communication, simplifying the hardware structure. The ability to be recognised as a keyboard or mouse expands application possibilities in computer interaction. The high number of analog and digital pins enables connection of many sensors and actuators. The use of a single microcontroller for all functions reduces complexity and space requirements compared to earlier models.