background image

 

Iteaduino Leonardo 

iteadstudio.com 

2012-07-17

 

Tech Support: [email protected]

 

 

AREF.

 Reference voltage for the analog inputs. Used with analogReference(). 

 

Reset.

 Bring this line LOW to reset the microcontroller. Typically used to add a reset 

button to shields which block the one on the board. 

Communication 

The Iteaduino Leonardo has a number of facilities for communicating with a 
computer, another Arduino, or other microcontrollers. The ATmega32U4 provides 
UART TTL (5/3.3V) serial communication, which is available on digital pins 0 (RX) 
and 1 (TX). The 32U4 also allows for serial (CDC) communication over USB and 
appears as a virtual com port to software on the computer. The chip also acts as a 
full speed USB 2.0 device, using standard USB COM drivers. On Windows, a .inf file 
is required.
 The Arduino software includes a serial monitor which allows simple 
textual data to be sent to and from the Arduino board. The RX and TX LEDs on the 
board will flash when data is being transmitted via the USB connection to the 
computer (but not for serial communication on pins 0 and 1). 
A Software Serial library allows for serial communication on any of the Iteaduino 
Leonardo's digital pins. 
The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino 
software includes a Wire library to simplify use of the I2C bus. For SPI 
communication, use the SPI library. 
The Iteaduino Leonardo appears as a generic keyboard and mouse, and can be 
programmed to control these input devices using the Keyboard and Mouse classes. 

Programming 

The Iteaduino Leonardo can be programmed with the Arduino software . Select 
"Arduino Leonardo from the 

Tools > Board

 menu (according to the microcontroller 

on your board).   
The ATmega32U4 on the Iteaduino Leonardo comes pre-burned with 
a bootloader that allows you to upload new code to it without the use of an external 
hardware programmer. It communicates using the AVR109 protocol. 
You can also bypass the bootloader and program the microcontroller through the 
ICSP (In-Circuit Serial Programming) header. 

Содержание Iteaduino Leonardo

Страница 1: ...n 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 The Iteaduino Leonardo differs from all preceding boards in that the ATmega32u4 has built in USB communication eliminating the need for a secondary processor This allows the Leonardo to appear t...

Страница 2: ... interface breakout All electronic brick socket are broken out Specifications Microprocessor ATmega32U4 PCB size 68 58mm X 58 42mm X 1 6mm Indicators Power TX RX L Power supply recommended 7 23V DC Power supply limits 23 VDC max Communication Protocol UART SPI IIC Clock Speed 16MHz RoHS Yes Electrical Characteristics Specification Min Type Max Unit Input voltage 7 23 VDC Operating Voltage 3 3 5 VD...

Страница 3: ...ace D0 D13 pin Sensor Interface A0 A1 A2 A3 A4 A5 pin Pin Map Index Name of Arduino Alternate Function Pin of Atmega32u4 1 D0 UART DIN PD2 2 D1 UART DOUT PD3 3 D2 IIC_SDA PD1 4 D3 IIC_SCL PWM PD0 5 D4 External Interrupt 0 A6 PD4 6 D5 External Interrupt 1 PWM PC5 7 D6 PWM PD7 8 D7 A7 PE6 9 D8 A8 PB4 10 D9 PWM A9 PB5 ...

Страница 4: ...supply of 7 to 23 volts If supplied with less than 7V however the 5V pin may supply less than five volts and the board may be unstable The power pins are as follows VIN The input voltage to the Iteaduino board when it s using an external power source as opposed to 5 volts from the USB connection or other regulated power source You can supply voltage through this pin or if supplying voltage via the...

Страница 5: ... change in value See the attachInterrupt function for details PWM 3 5 6 9 10 11 and 13 Provide 8 bit PWM output with the analogWrite function SPI on the ICSP header These pins support SPI communication using the SPI library Note that the SPI pins are not connected to any of the digital I O pins as they are on the Uno They are only available on the ICSP connector This means that if you have a shiel...

Страница 6: ...e RX and TX LEDs on the board will flash when data is being transmitted via the USB connection to the computer but not for serial communication on pins 0 and 1 A Software Serial library allows for serial communication on any of the Iteaduino Leonardo s digital pins The ATmega32U4 also supports I2C TWI and SPI communication The Arduino software includes a Wire library to simplify use of the I2C bus...

Страница 7: ...y the Iteaduino Leonardo handles reset it s best to let the Arduino software try to initiate the reset before uploading especially if you are in the habit of pressing the reset button before uploading on other boards If the software can t reset the board you can always start the bootloader by pressing the reset button on the board USB Over current Protection The Iteaduino Leonardo has a PTC that p...

Страница 8: ...Tech Support support iteadstudio com Links and References ITead Studio Site iteadstudio com Arduino site arduino cc Getting started with Arduino arduino cc en Guide Windows Revision History Rev Description Release date v1 0 Initial version 2012 07 17 ...

Отзывы: