- Payment Options
- Comments (2)
- Suggestion Box
Leonardo board is seperated from other Arduino boards by using ATmega32u4 microcontroller, Atmega32u4 is able to communicate with a computer directly thus it does not need an USB - Serial converter. Thanks to these features, Leonardo can be introduced to computer as not only virtual COM port but also as peripherals such as console and mouse too.
- Microcontroller: ATmega32u4
- Operating voltage: 5 V
- Supply voltage (recommended): 7-12 V
- Supply voltage (limits): 6-20 V
- Number of digital I/O pins: 20
- Number of PWM pins: 7
- Number of analog input pins: 12
- Max DC current for each I/O pins: 40 mA
- DC current for 3.3 V out: 50 mA
- Max DC current for 3.3 V pin: 1 A (if supplied with an external adapter)
- Flash memory: 32 kB (ATmega32u4, 4 kB is used by bootloader)
- SRAM: 2.5 kB (ATmega32u4)
- EEPROM: 1kB (ATmega32u4)
- Clock speed: 16 MHz
- Length: 68.6 mm
- Width: 53.4 mm
- Weight: 20 gr
Arduino Leonardo can be supplied via usb or an external voltage source. External voltage source would be an AC - DC adapter or a battery. When it is supplied with an external adapter or battery, using 2.1 mm width, center-positive, 7-20 V power supply is recommended. Moreover, the connectors of the power socket on the board, Vin and GND pins are short circuited in beckend. The battery can be connected to the board via GND and Vin pins.
It is not necessary to be connected to usb port during whole the operation. The board can be energized with only an adapter or a battery too, by this way, the board can work independently from the computer.
6 - 20 V can be used as an external supply but these are the limits for Leonardo. Recommanded voltage supply for this board is between 7 - 20 V. Becouse the regulator on the board might not work stabile for the voltages below 7V. Likewise, it can be over - warmed for the voltages above 12 V.
Operating voltage of the Arduino Leonardo's microcontroller is 5 V. The voltage supplies the board via Vin pin or the power socket on 7 to 12, V then this voltage is regulated and distributed to the board by the regulator.
Power pins are like that:
- Vin: When an external adapter is used, the voltage of the adapter is on this pin. You can supply the board by applying 7-20 V among this pin instead of the on-board power connector.
- 5 V: The 5 V pin on the board is directly connected to the output of the regulator. To supply the board directly from this pin is not recommended due to that this way will not activate the 3.3 V and 5 V regulators on the board.
- GND: Ground pins on the board.
- 3.3 V: 3.3 V out pin from the regulator. Max. current is 50 mA.
- IOREF: It is possible to change the referance voltage of the board.
Atmega32u4 has an 32 kB flash memory (4 kB of this is used by the bootloader), 2.5 kB SRAM and 1 kB EEPROM.
Input / Output:
All of the 20 digital pins on the Leonardo can be configured as output or input pins. The logic level for all of these pins is 5 V. These pins work with 40 mA input or output current. Additionally, some of these pins have diffrent features too, listed below:
- Serial: 0(RX) and 1(TX) pins are used for firmware serial communication of ATmega32u4. Serial commands on Arduino Leonardo is used for virtual COM port communication. You may use Serial1 commands if you want to use RX and TX pins.
- External Interrupts: By using the pins 3 (Interrupt 0), 2 (interrupt 1), 0 (interrupt 2), 1 (interrupt 3) and 7 (interrupt 4) you may activate interrupts respect to logic-1 and logic-0 levels and/or rising edge or falling edge. You can find the details on the function page.
- PWM: Pins 3, 5, 6, 9, 10, 11 and 13 can provide 8-bit analog out using analogWrite() function.
- SPI: Can be found on ICSP headers. Unlike ATmega328p based boards like Arduino UNO, digitals pins should not be used together with SPI pins. If you have a shield using SPI communication and if there is not headers on it for ICSP pins, your shield will not work with this board.
- I2C, 2 (SDA) pin and 3 (SCL) pin: These pins are used for I2C serial communication.
- LED: There is a LED connected to digital pin 13. When a logic-1 signal applied, the LED blinks.
- Analog Inputs: A0 - A5 and A6 - A11 (digital 4, 6, 8, 9, 10, and 12 pins) can be used to read 10-bit analog signals. As default, the referance range of analog inputs is between 0-5 V. This range can be changed by using AREF pin and analogReferance() function.
- AREF: The referance pin for analog input.
- Reset: If logic-0 voltage level applied to this pin, the board resets itself.
You may view the page from this link.
There are several options for Arduino Leonardo to communicate with another arduino or microcontroller. Atmega32u4 provides UART TTL (5V) Serial communication via its 0 (RX) and 1 (TX) pins. 32u4 connects to a computer by opening a virtual serial COM port and allows the serial communication. Arduino IDE, thanks to its serial monitor find in the computer software, provides to send and recieve text based information. RX and TX leds on the board blink while the board is communicating via USB.
There is a phsycally serial port on the Leonardo board but this number can be increased with the SoftwareSerial library as software.
Atmega32u4 provides I2C and SPI ports too. Wire library if to use I2C and SPI library is for SPI communication.
Thanks to these features, Leonardo can be introduced to computer as not only virtual COM port but also as peripherals such as console and mouse too. You may visit Keyboard and Mouse classes page.
Arduino Leonardo board can be programmed with the Arduino computer software (Arduino IDE). You can start programming by choosing Arduino Leonardo under tools > board menu on the Arduino IDE. For details you may see the referance and the basic functions page. Atmega32u4 on the Arduino Leonardo board comes together with a specific software installed, named bootloader. Thanks to this it is not needed to use an external programming device to program Arduino Leonardo. Communication is supplied by and original AVR109 protocol.
The board can be programmed by using ICSP headers via ISP programmer instead of bootloader software (Referance).
Usb high current protection:
Arduino Leonardo board has restarable high current protectors. Even if your computer has its own protectors for its USB ports, the protectors on the board is adjusted to reject more than 500mA. If this amount of current is reached, protectors will keep open - circuit the connection untill the short - circuit disappears.
If you are not sure which Arduino to choose, you may contact us bu filling the form.
- Microcontroller: ATmega32u4
Ürünün Sık Sorulan Soruları