background image

OLIMEX© 2017

OLIMEXINO-32U4 user's manual

2.1 First steps with Arduino IDE

Depending when you purchased the board there are two scenarios since the PID (product ID) which 
is stored in the firmware and expected by the IDE is different between versions 1.0.0 and 1.0.1 
(1.0.1 is the first release of the Arduino IDE with official support for Leonardo). 

2.1.1 For purchases after the official release of Leonardo

Boards produced after the official release of Arduino Leonardo have the latest bootloader available 
with the adjusted bootloader PID. Download the latest Arduino IDE and extract the package. You 
can find the needed driver for the bootloader located in folder /drivers. You click update on the 
device in device manager and point the installer to the /drivers folder.

Then launch Arduino IDE and set the correct board and COM port in TOOLS menu.

From File->Open navigate to the examples folder which is found in the Arduino IDE installation 
folder. Choose a simple example to begin with like BlinkWithoutDelay.ino and open it. Click verify
and after it compiles click “Upload”. Voila, you have uploaded code to your Arduino device.

Now start exploring the world of Arduino! More info and help on the software can be found and the
official Arduino web site: 

http://www.arduino.cc/

.

2.1.2 For purchases before the official release of Leonardo

If you have purchased the OLIMEXINO-32U4 before the official release of the Arduino Leonardo 
board there are two scenarios for using Arduino IDE:

1) Download Arduino IDE 1.0 RC2 or Arduino IDE 1.0.0. When you extract the package check if 
the Arduino Leonardo section is the \hardware\arduino\boards is uncommented. If the section has 
number signs (#) infront remove the number signs (#).

2) If you want to use the latest version (which by the time of writing is 1.0.1) you would need to 
change to bootloader firmware. This will require an AVR programmer tool.

You can get the bootloader in .elf format from our web site. You can also use the original bootloader
hex if you set the fuses and lock bits for the processor as follows:

low_fuses=0xff
high_fuses=0xd8
extended_fuses=0xcb

lock_bits (choose “SPM Prohibited in Boot Section”) from the drop down menu which will set the 
bits either to EF or 2F)

After you have downloaded and extracted the desired IDE you need to install the driver for your 
operating system. You can find the needed driver for the bootloader located in folder /drivers. You 
click update on the device in device manager and point the installer to the /drivers folder.

Then launch Arduino IDE and set the correct board and COM port in TOOLS menu.

Page 8 of 28

Summary of Contents for OLIMEXINO-32U4

Page 1: ...OLIMEXINO 32U4 development board USER S MANUAL Revision H April 2017 Designed by OLIMEX Ltd 2013 All boards produced by Olimex LTD are ROHS compliant...

Page 2: ...rchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the u...

Page 3: ...O 32U4 BOARD DESCRIPTION 11 4 Introduction to the chapter 11 4 1 Layout top view 11 CHAPTER 5 THE ATMEGA32U4 MICROCONTROLLER 12 5 Introduction to the chapter 12 5 1 The microcontroller s features 12 C...

Page 4: ...to the chapter 22 9 1 Eagle schematic 22 9 2 Physical dimensions 24 CHAPTER 10 REVISION HISTORY 25 10 Introduction to the chapter 25 10 1 Document revision 25 10 2 Board revision 26 10 3 Web page of y...

Page 5: ...d and kept in this state until the other power source USB or external adapter is removed and it AUTOMATICALLY will power the board no jumpers no switches Works both on 3 3V and on 5V which is selectab...

Page 6: ...low Chapter 1 is an overview of the board usage and features Chapter 2 has a short introduction to Arduino platform and its derivatives Pinguino and Maple Chapter 3 provides a guide for quickly settin...

Page 7: ...so does not restrict professionals as they can program it in C or mix of Arduino C language There are thousands of projects which makes it easy to startup as there is barely no field where Arduino ent...

Page 8: ...software can be found and the official Arduino web site http www arduino cc 2 1 2 For purchases before the official release of Leonardo If you have purchased the OLIMEXINO 32U4 before the official re...

Page 9: ...lder Choose a simple example to begin with like BlinkWithoutDelay ino and open it Click verify and after it compiles click Upload Voila you have uploaded code to your Arduino device Now start explorin...

Page 10: ...he bootloader or program the board without the ARDUINO IDE there are pinouts for ICSP programmer note that there isn t a connector mounted You can use our AVR ISP MK2 or AVR ISP500 programmer for cust...

Page 11: ...D DESCRIPTION 4 Introduction to the chapter Here you get acquainted with the main parts of the board Note the names used on the board differ from the names used to describe them For the actual names c...

Page 12: ...by On chip Boot Program True Read While Write Operation All supplied parts are preprogramed with a default USB bootloader Programming Lock for Software Security JTAG IEEE std 1149 1 compliant Interfac...

Page 13: ...with Separate On chip Oscillator On chip Analog Comparator Interrupt and Wake up on Pin Change On chip Temperature Sensor Special Microcontroller Features Power on Reset and Programmable Brown out De...

Page 14: ...ATmega32u4 would work properly at 16MHz only if powered by at least 4 5V If you decide to change the position of the jumper 3 3V 5V jumper to 3 3V position please note that at 3 3V the maximum frequen...

Page 15: ...rd has a built in charger circuit so when the main power supply is restored the battery would get recharged automatically Pin Signal Name 1 VBAT 2 GND 7 2 ICSP pin holes The 6 pin ICSP header provides...

Page 16: ...he on board 3 3V 5V switch also controls the voltage output available at pin 1 of the UEXT Do not connect Olimex modules when the switch is set to 5V position unless you are 100 sure that these UEXT m...

Page 17: ...C6 TDO 5V 5 V A2 PF5 ADC5 TMS GND GROUND A3 PF4 ADC4 TCK GND GROUND A4 PF1 ADC1 VIN V in A5 PF0 ADC0 DIGITAL CON3 DIGITAL CON4 D0 RXD PD2 RXD1 INT2 D8 UEXT_PWR_E RB4 PCINT4 ADC11 D1 TXD PD3 TXD1 INT3...

Page 18: ...pin 1 of UEXT and also the voltage levels of all data signals available there UART SPI I2C Most Olimex manufactured UEXT modules work at 3 3V they would get damaged if the jumper is set 3 3V When usi...

Page 19: ...are closed they enable 4 7k Ohm pull up resistors on each of the I2C lines R11_E is responsible for the resistor of SCL line R12_E for the SDA line R13_E for the UEXT_CS SMD jumpers Default state for...

Page 20: ...Introduction to the chapter Below is located the block diagram of the processor and on the next page you can find a memory map for this family of processors It is strongly recommended to refer to the...

Page 21: ...OLIMEX 2017 OLIMEXINO 32U4 user s manual 8 1 Memory organization Page 21 of 28...

Page 22: ...pdf for a better view and also string search is available You can also find a stand alone pdf on the web page for OLIMEXINO 32U4 at our site https www olimex com Products Duino AVR OLIMEXINO 32U4 They...

Page 23: ...e R12 4 7k R12_E Close R13 4 7k R13_E Close R14 2k R15 2k R16 2k R17 2k R18 15k 0R R19 0R Board_Mounted R20 100k R21 10k R22 NA R23 NA RST RXLED LED0603 YELLOW RXLED_E Close TXLED LED0603 GREEN U1 ATM...

Page 24: ...OLIMEX 2017 OLIMEXINO 32U4 user s manual 9 2 Physical dimensions Note that all dimensions are in inches Page 24 of 28...

Page 25: ...Added info about the I2C Updated disclaimer and warranty pages ICSP and UEXT connector changes due to new schematics Adjusted formatting fixed some mistakes 2 15 16 17 20 22 26 All E Fixed the LEDs an...

Page 26: ...returns F Added a note about rotated quartz crystal 14 G Added information about maximum frequency operation Improved the board s schematic 14 22 H Added notice about the voltages of the UEXT connecto...

Page 27: ...and some examples Web page of the original Arduino and Arduino software http arduino cc en ORDER CODES OLIMEXINO 32U4 completely assembled and tested USB MINI CABLE USB mini to USB A cable How to orde...

Page 28: ...rrect ordered items are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their...

Page 29: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd OLIMEXINO 32U4...

Reviews: