background image

OLIMEX© 2014

AVR-T32U4 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 ( 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 projects 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 hard 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
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

.

Page 7 of 29

Summary of Contents for AVR-T32U4

Page 1: ...AVR T32U4 development breadboard USER S MANUAL Document revision C February 2014 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant...

Page 2: ...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...

Page 3: ...ning 10 3 2 Requirements 10 3 3 Powering the board 11 3 4 Prebuilt software 12 CHAPTER 4 AVR T32U4 BOARD DESCRIPTION 13 4 Introduction to the chapter 13 4 1 Layout top view 13 4 2 Layout bottom view 1...

Page 4: ...ATICS 24 9 Introduction to the chapter 24 9 1 Eagle schematic 24 9 2 Physical dimensions 26 CHAPTER 10 REVISION HISTORY 27 10 Introduction to the chapter 27 10 1 Document revision 27 10 2 Web page of...

Page 5: ...to be connected 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 Mini USB connector is used which is common and used in most cell...

Page 6: ...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 cov...

Page 7: ...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 Ardui...

Page 8: ...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 f...

Page 9: ...lder 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 e...

Page 10: ...rap 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 AVR T32U4 the following...

Page 11: ...the bootloader 3 3 Powering the board The AVR T32U4 board is self powered by the miniUSB if it is connected to a USB hub of a computer Alternatively it can be powered via the power pins located at the...

Page 12: ...al COM port 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 f...

Page 13: ...ESCRIPTION 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 chec...

Page 14: ...OLIMEX 2014 AVR T32U4 user s manual 4 2 Layout bottom view Page 14 of 29...

Page 15: ...ystem 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...

Page 16: ...Timer 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...

Page 17: ...rcuit power circuit and quartz crystal locations 6 1 Reset AVR T32U4 reset circuit includes R12 4 7k R13 330 SD5 Shottky diode ATMega32U4 pin 13 RESET and a RESET button Note that it also can be found...

Page 18: ...stom programming debugging outside of the PINGUINO IDE Note the pin holes have a connector mounted over The pinout can be found in the table below It is important to check the jumper configuration for...

Page 19: ...al AREF AREF D13 UEXT_ CS PF7 ICP3 CLK0 OC4A RESET RST D12 PD6 T1 OC4D ADC9 HWB BUT PE2 HWB D11 PB7 PCINT7 OC0A OC1C RTS A5 PF0 ADC0 D10 PB6 PCINT6 OC1B OC4B ADC13 A4 PF1 ADC1 D9 PB5 PCINT5 OC1A OC4B...

Page 20: ...5V_E then the 3 3V voltage regulator VR1 would be bypassed 5V from the USB or the proto powering pins would go directly to the board Default state is open 7 7 2 Jumper R23_E Controls the SPI SCL 4 7k...

Page 21: ...al 7 9 Additional hardware components The components below are mounted on the AVR T32U4 board but are not discussed above They are listed here for completeness General purpose button 2 LEDs showing vi...

Page 22: ...Introduction to the chapter A block diagram of the processor is located below On the next page you can find a memory map for this family of processors It is strongly recommended to refer to the origi...

Page 23: ...OLIMEX 2014 AVR T32U4 user s manual 8 1 Memory organization Page 23 of 29...

Page 24: ...om the pdf for a better view Search is also available You can also find the schematics on the web page for AVR T32U4 at our site https www olimex com Products Duino AVR AVR T32U4 They are located in H...

Page 25: ...2 5V_E A0 A1 A2 A3 A4 A5 AREF BOOT_LED BUT C2 C4 C5 C7 C8 C9 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 1 2 3 4 5 6 ICSP L1 L2 PD5 1 2 PROTO_...

Page 26: ...OLIMEX 2014 AVR T32U4 user s manual 9 2 Physical dimensions Note that all dimensions are in inches Page 26 of 29...

Page 27: ...s 10 1 Document revision Note that the changes in the table below represent only changes in the document Differences between board revisions are not specified Revision date Changes Modified page A 21...

Page 28: ...nfo and some examples Order codes AVR T32U4 completely assembled and tested USB MINI CABLE mini USB to USB type A cable BREADBOARD 1 82x52x10 mm solderless breadboard for experimenting BREADBOARD MINI...

Page 29: ...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 firm...

Reviews: