Home

OLIMEXINO-32U4 development board USER`S MANUAL

image

Contents

1. 7 2 ICSP pin holes The 6 pin ICSP header provides interface for custom programming debugging outside of the PINGUINO IDE Note the pin holes doesn t have a connector mounted over you have to mount it solder it yourself The pinout can be found in the table below It is important to check the jumper configuration for proper use of the ICSP pin hole ICSP pin holes Signal Name Signal Name D17 MISO pa D16 MOSI De pee Page 17 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual 7 3 UEXT OLIMEXINO 32UA board has UEXT connector and can interface Olimex s UEXT modules For more information on our UEXT modules please visit http www olimex com dev OTHER UEXT pdf jm s mem mem sex emu e men s mem Page 18 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual 7 4 Arduino shield pin holes For your convenience the pads are named individually near each of them Please take extra care about the numbering but consider that there might be offset Also note that the board comes with no connectors soldered on the pin holes Before being able to connect with a shield you have to solder connecters yourself Lr qe 9 Teens Ew pe T eme 9e on 79 jene 9e mem 0 eme Lm em s deem Meme O DIGITAL CON3 DIGITAL CONA D RXD PD2 RXD1 INT2 D8 UEXT_PWR_E RB4 PCINT4 ADC11 D1 TXD PD3 TXD1 INT3 D9 LED2 PES ET INS7OKTAZROCAB ADC12 D2 SDA PD1 SDA IN
2. OLIMEXINO 32U4 development board USER S MANUAL Revision B May 2012 Designed by OLIMEX Ltd 2012 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEXO 2012 OLIMEXINO 32U4 User s Manual Disclaimer 2012 Olimex Ltd Olimex logo and combinations thereof are registered trademarks of Olimex Ltd Other terms and product names may be trademarks of others The information in this document is provided in connection with Olimex products No license express or implied or otherwise to any intellectual property right is granted by this document or in connection with the sale of Olimex products Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder unless it is clearly stated by Olimex that the product is licensed under the Open Source Hardware OSHW Definition 1 0 The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability 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
3. LED1 and LED2 should start blinking 3 4 Prebuilt software The board comes with prebuilt ARDUINO bootloader The different part between the other Arduinos and Leonardo is that Leonardo doesn t use FTDI chip nor external chip for the virtual COM port but it is handled by the ATMega32U4 Page 11 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual CHAPTER 4 OLIMEXINO 32U4 BOARD 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 check the OLIMEXINO 32UA board itself 4 1 Layout top view CINE id d E sei jg d eie RX LED pisa nre ji i rel 3 3V 5V eee ios ay sA okt a NU CHEF Battery PWR JACK PWR LED BUT Set of jumpers ICSP UEXT RST BUT Page 12 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual CHAPTER 5 THE ATMEGA32U4 MICROCONTROLLER 5 Introduction to the chapter In this chapter is located the information about the heart of OLIMEXINO 32U4 its microcontroller The information is a modified version of the datasheet provided by its manufacturers 5 1 The microcontroller s features High Performance Low Power AVR 8 Bit Microcontroller Advanced RISC Architecture 135 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Up to 16 MIPS Throughput at 16 M
4. Manual OLIMEXINO 32U4 Rev A pyce Dvcc cont PLATFORM RESET 1 s a 7 RST Designed by WWW OLIMEX COM DEV aav M amp sv S i R22 R23 EY E G08 AVCC OU 5V USB Ut NA LINA GN VIN A ini 209 gt im 41 A5 AO 1 FRUADOD ay Ad Al 9 ez C veo PEMADCI Cag A A e oe seco PRUADONTUK sg A2 A3 amp 26 epum i Dune ae H sil C1 C2 C3 C4 I vsus FE ADCT TOI AJ 5 5 Lom Tu 4 z 8 amp amp 5 CON3 o e e F Ie 35 32 DI3 UEXT 4CS DO RXD m l 3 POIIICPSIQLKQIOCAA 34 D5 D1 TXD Bi c POMOCAAHMOOIA j D7LEDI D2 SDA alc 2 INTE AINO FES 33 HWB D3 SCL wm eZ FE2HHNB D4 oO D D 3 p BS c aly v DE De Nl De wm I 5V_USB D7 LEDI Eos ile u E Eg XTAL 16 xtat2 z USB XIAL1 35 xm 3 BUS v v 4 CAR V a R 1 D3 SCL 18 e 8 D 4 RXLED DB UEXT PWR E PE E 1 as PBOSSIPONTO S DISISCK DOLED2 m E Seer Lee 2008 10 DT8 MOSI D10 Digicel GND PBXPDOIPONT3MSO HH on amp L m EDAD 28 DB UEXT PWR E D12 1E SJE USB MINI EONEEUADE PBAIPONTA ADCI 29 D9 LED2 Dis UEXT CS me p en POS XCK1 CTS PBS PONTS OCIA MOCABIADCI2 735 Dio Die 10nF FDGITIIHOCADIADCS y a Dii AR
5. fuses 0xd8 extended fuses Oxcb 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 From File gt 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 Page 9 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual CHAPTER 3 SETTING UP THE OLIMEXINO 32U4 BOARD 3 Introduction to the chapter This section helps you set up the OLIMEXINO 32U4 development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to power up the board is given and a description of the default board behavior is detailed 3 1 Electrostatic wa
6. 812T 4201 sit 5 1 e B VBAT C22 C20 _ C21 i VDD 1 1 YDJ 1136 5 c17 anas ps H same E 10k 10UF 6 3V ToonF TtouF 6 3V I E s CHARGER I i E E VSS PROG AGND_E I 1 T u u E i 1 ala E a s CLOSE ai a 2 i Rip 15k 3 VLL BAT perm DWOR 1 Page 26 of 29 OLIMEXO 2012 9 2 Physical dimensions Note that all dimensions are in inches JOLIMEX COM DE C7 CRxLED E Q T EDLE LI ce cHo D e0 ED2 Page 27 of 29 k EM BEI OLIMEXINO 32U4 User s Manual o OLIMEXO 2012 OLIMEXINO 32U4 User s Manual CHAPTER 10 REVISION HISTORY 10 Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading Also the web page for your device is listed Be sure to check it after a purchase for the latest available updates and examples 10 1 Document revision Pages Initial Creation Manual adjusted for Arduino IDE version 1 0 1 Fixed link Page 28 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual 10 2 Web page of your device The web page you can visit for more info on your device is http www olimex com dev OLIMEXINO 32U4 html There you can find more info 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 USBmini to USB A cable How to order You can order to us directl
7. Arduino platform and its derivatives Pinguino and Maple Chapter 3 provides a guide for quickly setting up the board Chapter 4 contains the general board diagram and layout Chapter 5 describes the component that is the heart of the board the ATMega32U4 microcontroller Chapter 6 is an explanation of the control circuitry associated with the microcontroller to reset Also shows the clocks on the board Chapter 7 covers the connector pinout peripherals and jumper description Chapter 8 shows the processor diagram and memory map Chapter 9 provides the schematics Chapter 10 contains the revision history Page 6 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual CHAPTER 2 INTRODUCTION TO ARDUINO PINGUINO MAPLE 2 What is Arduino Arduino is an open source electronics prototyping platform designed to make the process of using electronics in multidisciplinary projects easily accessible The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on board I O support The software consists of a standard programming language and the boot loader that runs on the board Arduino hardware is programmed using a Wiring based language syntax libraries similar to C with some simplifications and modifications and a Processing based Integrated Development Environment IDE The project began in Ivrea Italy in 2005 aiming to make a device for controlling student built interaction design projec
8. C Real Time Clock NOISE IMMUNE design the LEDs and the BUTTONS are on the edge of the board so there is easy access even if the boards have shields on them all components are LOWER than the connectors so the shields do not interference with them mini USB connector is used which is common and used in most cell phones so you do not have to buy other cables Page 5 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual Original design had flaw and the connectors were not spaced at 0 1 this make perfo board use impossible to keep the compatibility we have same spacing but we add next to this connector on 0 1 which customer can use with perforated boards All signals on the connectors are printed on top and on bottom of the board so when you check with probe you know exactly which port you are measuring 4 mount holes make board attachment easier 1 2 Similar boards OLIMEXINO 32U4 is ARDUINO LEONARDO like board with ATMega32UA It is a powerful board considering its low price but yet a starter board for the Arduino family The more powerful Arduino board we have in the range is OLIMEXINO 328 based on Arduino Duenomilanove It has a more sophisticated supply circuit USB OTG connector and there are more Arduino projects available 1 3 Organization Each section in this document covers a separate topic organized as follow Chapter 1 is an overview of the board usage and features Chapter 2 has a short introduction to
9. E EIEE EEEE E E 18 Page 3 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual 7 4 Arduino shield pin HOLES m 19 VAR PRO Tar E 20 7 7 J mper AES CY UU LUIN E H 20 7 9 Additional hardware components seesoesossosssossossoessossoessessossoessossoessossossosesesssoossssossssose 22 CHAPTER tRtteeeeeeteeRRRRRERRRRRERRRERERE MEMORY AND BLOCK DIACGHRA M ceu suip ees ease aia eee e canon ean Sane aano Seu pube 8 Introduction to the capter iieeiasc Dsk x b Dr S EE Rd rd a FOL EH ERE ER Va ESTER IAN AR GET VIRA ARS GR 23 8 1 Memory OFS AMEZ ATION css cxacienessevensnsvadionessianasscnsedusodiiacasneduanesedsenecanniacdasedsbansialeaiavadeasttaanarapies 24 CHAPTER ee ee SCIHEMALICS mi adii d ceca dca kc Cu ee 9 Introduction fo the CliapteE uuo vr rre ier Ye ERI ER UR PXFHE ATE UR a F 12e YER HE EPA EACH UP PAR EPVVR Ea rA GER 25 SNNT didt eM RR RURRRR PUN 25 9 2 despacio mot 27 REVISION HISTORY iioi ioa ier panas bara esa Erb neon an Eee d ua Saa aa ui iaaiiai aia 10 Introduction to the Chapter nantdmcadnnunncnccanninannmaundninumiannasusndss 28 10 1 Document revisio 5 deis eQuOHRpE rq IM YI PT RUEPECIH EN RIA PENL DU E TUQUe aM S LEUR sostas s RO NL QNA SQUE NEUE PUES NURN E EVE 28 10 2 Web page of your COV iGO uie odes eet ranonb isa eti eine PES PEN Ek Po ERE rto P3 YR ES FERT EF ERA
10. EF Ae aoe PDIITOOCID ADCIO PB7 PONT7IOODA OCICARTS D2 SDA rw D3 SCL bo ATMEGA32U4 AU 1xPN1x10 1xPN1x8 2xPN1x6 DVCC DVCC STAT LEDS i l i I I i i oat 1 1 f bog I 1 1 l oa 1 1 i id i i i D7 LED1 D9 LED2 TXED D14 RXLED 1 1 H RU R9 1 1 ICSP 1 1 sa S4SC0 s 4 7k bog E DA1ZMISO 1 2 LED Ea RXED E DAS SCK 3 a D18 MOSI 1 RESET 4 HWB z Close Close 5 6 i RST BUT i 1 9 I 1 is p R17 R16 R15 R14 1 Y 1 3 2k 2k 2k 2k 1 1 EISE C16 E H 1 I 1 R NA R10 100nF toy LED1 LED2 TXLED RXLED 330k 330R L LED0603 GREEN Yy LED0603 YELLOW Yy LED0603 GREEN Wy LEDO603 YELLOW Vx I 1 i 1 3 i 1 i ut OR Board Mounted 1 i I I I I 4 Ap fH FETS R12 Ea RIZE 2 x 1 r 7 IRLML6402 Gee cue VIN 8 suse 4g POWER SUPPLY 1 A A tSv BV 3 3V 5V a 1 HR1x3 3 3V Open 5V Close R21 bap DB UEXT PWR E 1 1 VR2 3 3V asav TT 5V DVCC aveo 10k Close R12 R13 I 1 B MCP17007 3302E MB I UEXT 4 7k 4 Tk 1 FETI i ados 1 2 1 I IRLMLG402 T m L2 DITO 3 4 DORXD 1 3 D3 SCL 5 3 DZ SDA 1 VR1 5 0V wp Battery Charger eN w vour TUER D17MISO 7 8 D16 MOSI 1 AMS1117 ADJ 3 sv 5V PET iu tl g ii Di5 SCK E 1 DIS UEXT FCS 1 1 U2 u GND E I I i McP73
11. Hz On Chip 2 cycle Multiplier Non volatile Program and Data Memories 32K Bytes of In System Self Programmable Flash 2 5K Bytes Internal SRAM 1K Bytes Internal EEPROM Write Erase Cycles 10 000 Flash 100 000 EEPROM Data retention 20 years at 85 C 100 years at 25 C 1 Optional Boot Code Section with Independent Lock Bits In System Programming 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 Interface Boundary scan Capabilities According to the JTAG Standard Extensive On chip Debug Support Programming of Flash EEPROM Fuses and Lock Bits through the JTAG Interface USB 2 0 Full speed Low Speed Device Module with Interrupt on Transfer Completion Page 13 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual Complies fully with Universal Serial Bus Specification Rev 2 0 Supports data transfer rates up to 12 Mbit s and 1 5 Mbit s Endpoint 0 for Control Transfers up to 64 bytes 6 Programmable Endpoints with IN or Out Directions and with Bulk Interrupt or Isochronous Transfers Configurable Endpoints size up to 256 bytes in double bank mode Fully independent 832 bytes USB DPRAM for endpoint memory allocation Suspend Resume Interrupts CPU Reset possible on USB Bus Reset detection 48 MHz from PLL for Full speed Bus Oper
12. NO 32U4 User s Manual Flash end 32 Registers Size Start Address End Address I O Registers Size Start Address End Address Ext I O Registers Size Start Address End Address Internal SRAM Size ISRAM size Ox7FFF Ox3FFFO 32 bytes 0x0000 0x001F 64 bytes 0x0020 0x005F 160 bytes 0x0060 OxOOFF 2 5K bytes Start Address ISRAM start 0x100 End Address ISRAM end OxOAFF External Memory Not Present EEPROM Notes 1 Size 1K bytes End Address Byte address 2 Word 16 bit address Page 24 of 29 OxOSFF OLIMEXO 2012 OLIMEXINO 32UA User s Manual CHAPTER 9 SCHEMATICS 9 Introduction to the chapter In this chapter are located the schematics describing logically and physically OLIMEXINO 32UA 9 1 Eagle schematic OLIMEXINO 32UA schematic is visible for reference here You should zoom the pdf for a better view and also string search is available You can also find them on the web page for OLIMEXINO 32UA at our site http www olimex com dev OLIMEXINO 32U4 html They are located in HARDWARE section Note that OLIMEXINO 32UA schematic is released under Creative Commons Attribution Share Alike 3 0 United States License and the whole project is released under The EAGLE schematic is situated on the next page for quicker reference Page 25 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s
13. S REPOS I YHR New EERN ed Va 29 Page 4 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the OLIMEXINO 32U4 development board from Olimex This document provides a User s Guide for the Olimex OLIMEXINO 32U4 development board As an overview this chapter gives the scope of this document and lists the board s features The document s organization is then detailed The OLIMEXINO 32U4 development board enables code development of applications running on the ATMega32U4 microcontroller manufactured by Microchip technology 1 1 Features Leonardo design no FTDI chip the MCU directly handles the virtual COM e ATMEGA32U4 microcontroller all in one USB communication no need for external FTDI chip nput power supply 7 12VDC ULTRA LOW POWER voltage regulators and the consumption is only few microamps which enables handheld and battery powered applications Li Ion rechargable battery power supply option with BUILD IN on board charger so when you attach battery it is automatically charged 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 selectable with jumper so 3 3V and 5V shields can be used UEXT connector which allow many existing modules like RF ZIGBEE GSM GPS to be connected Allows RT
14. T1 i5 a PD0 OCOB SCL PB7 PCINT7 OC A 0C1C D4 PDA ICP1 ADCB lere PD6 T1 0C4D ADC9 PC6 0C3A ENIM a D13 UEXT_ CS PC7 ICP3 CLK OC4A PD7 T OC4D A DC10 Page 19 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual 7 5 USB mini connector Note that the USB is confiugred only as device Signal Name L Not connected e 7 7 Jumper description 12 3 3 3V 5V This jumper controls whether the board is powered by 3 3Vdc source or 5Vdc Default position is 2 3 5Vdc Fej AGND E When closed enables analog GND SMD jumper Default state is closed Page 20 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual Fej FET3 E When closed connects D8 from Arduino shield connector to FET3 so you can control the power on the UEXT by software means When open D8 becomes GPIO SMD jumper Default state is closed Feb LED1 E When closed enables LED1 SMD jumper Default state is closed Feb LED2 E When closed enables LED2 SMD jumper Default state is closed Vale NW RXLED E When closed enables RXLED SMD jumper Default state is closed 4m WM TXLED E When closed enables TXLED SMD jumper Default state is closed Page 21 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual 7 9 Additional hardware components The components below are mounted on the OLIMEXINO 32UA board but are not discussed above They are listed here for completeness G
15. ation USB Bus Connection Disconnection on Microcontroller Request Crystal less operation for Low Speed mode Peripheral Features On chip PLL for USB and High Speed Timer 32 up to 96 MHz operation One 8 bit Timer Counter with Separate Prescaler and Compare Mode Two 16 bit Timer Counter with Separate Prescaler Compare and Capture Mode One 10 bit High Speed Timer Counter with PLL 64 MHz and Compare Mode Four 8 bit PWM Channels Four PWM Channels with Programmable Resolution from 2 to 16 Bits Six PWM Channels for High Speed Operation with Programmable Resolution from 2 to 11 Bits Output Compare Modulator 12 channels 10 bit ADC features Differential Channels with Programmable Gain Programmable Serial USART with Hardware Flow Control Master Slave SPI Serial Interface Byte Oriented 2 wire Serial Interface Programmable Watchdog Timer with Separate On chip Oscillator On chip Analog Comparator Interrupt and Wake up on Pin Change On chip Temperature Sensor e Special Microcontroller Features Power on Reset and Programmable Brown out Detection Internal 8 MHz Calibrated Oscillator Internal clock prescaler amp On the fly Clock Switching Int RC Ext Osc External and Internal Interrupt Sources Six Sleep Modes Idle ADC Noise Reduction Power save Power down Standby and Extended Standby I O and Package Page 14 of 29 OLIMEXO 2012 OLIMEXINO 32UA Us
16. d to find in some parts of the world like South America so it is likely to see lot of PINGUINO developers are from that part of the Page 7 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual world PINGUINO project founders decided to go with Python instead Java for processing language For the moment PINGUINO is much more flexible than Arduino as it is not limited to 8bit microcontrollers Currently the IDE which has GCC in background can support 8 bit PIC microcontrollers 32bit PIC32 MIPS microcontrollers and ARM7 CORTEXM3 microcontrollers which makes PINGUINO very flexible because once you make your project you can migrate easily through different hardware platforms and not being bound to a single microcontroller manufacturer The PINGUINO project can be found at http www pinguino cc 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 dev
17. eneral purpose button 2 general purpose LEDs 2 LEDs showing virtual port activity Note that connectors on the CON1 CON2 CON3 CON4 are mounted Page 22 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual CHAPTER 8 MEMORY AND BLOCK DIAGRAM 8 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 original datasheet released by Atmel for ones of higher quality Figure 2 1 Block Diagram PC7 PC6 PORTC DRIVERS DATA REGISTER DATA DIR PORTC REG PORTC 8 BIT DA TA BUS INTERNAL OSCILLATOR CALIB OSC i i OSCILLATOR WATCHDOG oscuaton PROGRAM STACK TIMER QE E TIMING AND ON CHIP DEBUG PROGRAM gt sram MCU CONTROL E TMIN i i i TROL K FLASH P j i EGISTER ia E moe lel BOUNDARY INSTRUCTION COUNTERS fe SCAN REGISTER GENERAL PURPOSE REGISTERS INTERRUPT x UNIT PROGRAMMING INSTRUCTION LOGIC DECODER bi Y TEMPER PE cowrRoL LINES ON CHIP USB PAD 3V REGULATOR TWO WIRE SERIAL INTERFACE DATA REGISTER DATA DIR DATA REGISTER DATA DIR DATA REGISTER DATA DIR PORTE REG PORTE PORTB REG POHTB PORTD REG PORTD Page 23 of 29 OLIMEXO 2012 8 1 Memory organization Table 5 1 Memory Mapping Size Start Address End Address OLIMEXI
18. er s Manual All I O combine CMOS outputs and LVTTL inputs 26 Programmable I O Lines 44 lead QFN Package 7x7mm Operating Voltages 2 7 5 5V Operating temperature Industrial 40 C to 85 C Maximum Frequency 8 MHz at 2 7V Industrial range 16 MHz at 4 5V Industrial range For comprehensive information on the microcontroller visit the Atmel web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link http www atmel com Images doc7766 pdf Page 15 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual CHAPTER 6 CONTROL CIRCUITY 6 Introduction to the chapter Here you can find information about reset circuit power circuit and quartz crystal locations 6 1 Reset OLIMEXINO 32UA reset circuit includes R7 4 7kQ R8 330Q D1 Shottky diode ATMega32U4 pin 13 HRESET and a RESET button Note that it also can be found at the ICSP header pin 5 and power connector pin 1 6 2 Clock 16 MHz quarz crystal Q1 is found at pins 16 and 17 of the processor Page 16 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual CHAPTER 7 HARDWARE 7 Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout Proto area is shown Jumpers functions are described Notes and info on specific peripherals are presented Notes regarding the interfaces are given 7 1 Battery connector
19. ice 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 gt 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 Page 8 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual 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 Oxff high
20. ninnccndanncununanananniuaonanannaadulis 10 3 4 Prebuilt SOL W iic N 11 LEE Fe See ee ee OLIMEXINO 32U4 BOARD DESCRIPTION sssssssssssssssssssssscssssssssssssssssscsssoess 4 Introduction to the chapter eeesessossoessossossoseseesossoeesossossosesossossoessossossoessossoessessosssesssseeses 12 WE VudirBu 2n esse 12 CHAPTER ee ee eee rr THE ATMEGA32U4 MICROCONTROLLER ccccsssssssssssssssssscsscsssssssssees 5 Introduction to the eDapteE si ucdeiesdesnacdssssesiartaaieadesbssaiserassaagsvessssenseavendantsnaluetiouaareaeseadenssaelanetes 13 5 1 The microcontroller s features Lee eeee eee ee eene cete seien ette setas etian set eta aset ea esee ena ss eun 13 EP ISEL PEINT TSLUE lRRetteoNS 6 Introduction to the CHA MLO sisi isiccesccussesonsesscrsusenavonciaseansssnsvenssaunseenssesuavantancansasesvesnseunnansvadeooniss 16 MI Mc 16 Ged Gn ro m 16 CHAPTER MC Pree ee eee ern eee ee ee er HARDWARE iain Se cnacviaa sain ema csais uee daa aaa ns r areal a MednabiaNedaaieiniaembiliesaiad 7 Introduction to the chapter sesoesoessessosesessossosssessossosesossossocssossossocssoseoesoessosssessessoesssoesssse 17 7 1 icu delicate 17 7 2 ICSP pin HOGS w c srst os 17 Z0 EX E EAE E EE S O
21. rning OLIMEXINO 32U4 is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board Avoid touching the component pins or any other metallic element 3 2 Requirements In order to set up the OLIMEXINO 32UA the following items are required If using the free ARDUINO IDE the ONLY requirement is a miniUSB to USB A cable to connect to a computer If you want to upgrade the 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 ISO or AVR ISP TINY programmer for custom programming without ARDUINO IDE Having an AVR programmer is highly advisable since the bootloader software is still not perfect and it is possible to destroy it only by software means remap pins used for programming which would require reinstalling the bootloader 3 3 Powering the board The OLIMEXINO 32UA board is self powered by the miniUSB if it is connected to a USB hub of a Page 10 of 29 OLIMEXO 2012 OLIMEXINO 32U4 User s Manual computer Alternatively it can be powered via the POWER JACK by 7Vdc to 12Vdc or via the 3 7V LI BAT connector by 3 7V battery The bootloader starts automatically On powering the board PWR_LED should turn on RXLED and TXLED should turn on and monitor the send receive on the virtual COM port
22. se of any information in this document or any error or omission in such information or any incorrect use of the product Thank you for purchasing OLIMEXINO 32UA development board assembled by OLIMEX LTD Page 2 of 29 OLIMEXO 2012 OLIMEXINO 32UA User s Manual Table of Contents CHAPTER M 9 9M Q AM N RAA i DAA ET eemmmememeeeememe 1 Introduction to the chapter iieeeseera beer he ihren pbrD Yee EHE HR ER PER EVE YF EMEN FE UREU ERN AR EEVVR LEAN EUER VM KO 5 MEI e M 5 Nacido c 6 1 3 Doniini MS 6 Introduction to arduino pinguino maple esee e esee ne 2 Whatis ADCO Me 7 2 1 First steps with Arduino DDE sssscssncnssssuscssssussecasennvanysssnuestonsvesvaenscantssensihataeveansansoasreanssenaceves 8 CHAPTER J acacia detec UOqSMKUC V rm SETTING UP THE OLIMEXINO 32U4 BOARD e eene eee eee enn nnn 3 Introduction to the chapter eesoesosesossossoessossosssessossosesessossoeesossoseoessossoessessossoessossoessssesssse 10 3 1 Electrostatic Wa uo iod bead sera ERE T SUA SEPE ORE TE QI HIER iL nS CUPIDE DR SUME ARMED NN MME 10 3 2 MISIT IIIS I CNRC n 10 3 3 Powering the h0ard iniiccnnnovanduncu
23. ts less expensively than other prototyping systems available at the time As of February 2010 more than 120 000 Arduino boards had been shipped Founders Massimo Banzi and David Cuartielles named the project after a local bar named Arduino The name is an Italian masculine first name meaning strong friend The English pronunciation is Hardwin a namesake of Arduino of Ivrea More information could be found at the creators web page http arduino cc and in the Arduino Wiki http en wikipedia org wiki Arduino To make the story short Arduino is easy for beginners who lack Electronics knowledge but also 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 enthusiasts to have not been already Arduino has inspired two other major derivates MAPLE and PINGUINO Based on 8 bit AVR technology the computational power of Arduino boards is modest this is why a team from MIT developed the MAPLE project which is based on ARM7 STM32F103RBT6 microcontroller The board has same friendly IDE as Arduino and offers the same capabilities as hardware and software but runs the Arduino code much faster The Maple project can be found at http leaflabs com In parallel with Arduino another project was started called PINGUINO This project chose its first implementation to be with PIC microcontrollers as AVRs were har
24. y or by any of our distributors Check our webpage http www olimex com for more info Page 29 of 29

Download Pdf Manuals

image

Related Search

Related Contents

Porsche Club of America, Western Michigan Region ..Uber Alles    VTech Telephone I 5867 User's Manual  Henny Penny HCS-5 Food Warmer User Manual  Manual PDF    SLA-007-skc  

Copyright © All rights reserved.
Failed to retrieve file