Arduino Uno vs Arduino Leonardo


We will have a comparison of the specifications of Arduino Uno and the Arduino Leonardo Board.

Arduino Uno

Arduino Leonardo

Refer to the table below for a detailed comparison −



UnoLeonardo
GeneralDimensions
Pricing
2.7'' x 2.1''
$20-23
2.7'' x 2.1''
$20-21




ConnectivityI/O Pins
PWM Pins
Analog Pins
14
6
6
20
7
12




ComputingProcessor
Flash Memory
SRAM
EEPROM
Clock speed
Voltage Level
USB Connectivity
ATmega328P
32 kB
2 kB
1 kB
16 MHz
5V
Standard A/B USB
ATmega32u4
32 kB
2.5 kB
1 kB
16 MHz
5V
Standard A/B USB




CommunicationHardware Serial Ports
SPI Support
I2C Support
1
Yes
Yes
2
Yes (master only)
Yes

Apart from the differences mentioned in the above table, two other major differences that I'd like to highlight −

  • The SPI pins on Leonardo are not exposed via digital pins, but via ICSP headers.And the slave select pin is not exposed at all. Therefore, the Leonardo board cannot be used as an SPI slave. It can be used as a master, and one of the GPIOs can be connected to the slave select pin of the slave.

  • Leonardo's ATmega32u4 has in-built USB communication, thereby eliminating the need for a USB to UART converter. This opens up several possibilities. Several of them are highlighted here. One interesting possibility it opens up is allowing us to use the Leonardo as a Keyboard or a Mouse, other than a COM Port.

Updated on: 24-Jul-2021

513 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements