USER'S GUIDE EasyAVR v7 65 microcontrollers supported Supports 3.3V and 5V devices Easily add extra boards Four connectors for each port As fast as it gets The ultimate AVR® board Dual Power Supply mikroBUS™ sockets Amazing Connectivity USB 2.
To our valued customers Making the best and the most comprehensive AVR® board in the world was our idea from the start. And this is by no means an easy task. Driven by passion for excellence we never look at how hard the job is, but what our users get when it's done. And EasyAVR® v7 brings a whole new perspective to AVR developers. The 7th generation of the board brings many exciting new features. We hope that you will like it as much as we do.
Table of contents Introduction Connectivity Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 04 mikroBUS™ sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 It's good to know . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 05 Input/Output Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Displays Power Supply Dual power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
introduction Introduction EasyAVR™ is your old friend. It has been here for you for several generations. Today it has many users among students, hobbyists, enthusiasts and professionals. We asked ourselves what else could be done to make such a great board even greater. As a result some brilliant changes have been made. We focused all of our creativity and knowledge on making a revolutionary new design different from any previous version of the board.
introduction It's good to know ATmega32 is the default microcontroller! Atmel® AVR® 8-bit ATmega32 in DIP is the default chip of EasyAVR v7. It has up to 16 MIPS operation, 32K bytes of ™ System Specification - Great choice for both beginners power supply 7–12V AC or 9–15V DC or via USB cable (5V DC) and professionals Flash program memory, 2K byte of internal SRAM memory - Rich with modules and 1K byte of EEPROM memory.
power supply Dual power supply Board contains switching power supply that creates stable voltage and current levels necessary for powering each part of the board. Power supply section contains two power regulators: ST1S10, which generates VCC-5V, and MC33269DT3.3 which creates VCC-3.3V power supply. The board can be powered in three different ways: with USB power supply (CN1), using external adapters via adapter connector (CN24) or additional screw terminals (CN25).
Power supply: Power capacity: power supply EasyAVR™ v7 development board supports both 3.3V and 5V power supply on a single board. This feature enables you to use wide range of peripheral boards. via DC connector or screw terminals (7V to 12V AC or 9V to 15V DC), or via USB cable (5V DC) up to 500mA with USB, and up to 1500mA with external power supply How to power the board? 1.
supported MCUs Supported microcontrollers Microcontroller sockets DIP40A The board contains seven DIP sockets: DIP40A, DIP40B, DIP28, DIP20A, DIP20B, DIP14, DIP8 (Figure 4-1). With dual power supply and smart on-board mikroProg, the board is capable of programming about 65 different microcontrollers from Atmel® AVR family. There are two DIP40 and DIP20 sockets for AVR® microcontrollers provided on the board. Which of these sockets you will use depends solely on the pinout of the microcontroller in use.
1 2 supported MCUs How to properly place your microcontroller into the DIP socket? 3 Figure 4-2: Place both ends of microcontroller on the socket so the pins are aligned correctly Figure 4-3: with both fingers, evenly distribute the force and press the chip into the socket. Figure 4-4: Properly placed microcontroller will have equally leveled pins. Before you plug the microcontroller into the appropriate socket, make sure that the power supply is turned off.
programming On-board programmer What is mikroProg™? mikroProg™ is a fast USB 2.0 programmer. Smart engineering allows mikroProg™ to support about 65 AVR® microcontrollers from Atmel® in a single programmer! Outstanding performance and easy operation are among it's top features. How do I start? In order to start using mikroProg™ and program your microcontroller, you just have to follow two simple steps: 1. Install the necessary software - Install USB drivers - Install AVRFlash software 2.
VCC-5V ACTIVE DATA VCC-5V LD2 LD1 R8 2K2 VCC-USB VCC-5V VCC-3.
L NA IO • RE WA FT SO • • • • • • • • • • • • • • • • • MIK ROC ILERS , MI COMP KRO BA SIC ,M IK RO PA SC AL • • • • • • • • • • • • • • • • • S VER DRI EXAM PLE S CO • PRODUCT DVD RS LE PI M AD DI T On-board mikroProg™ requires drivers in order to work. Drivers are located on the Product DVD that you received with the EasyAVR™ v7 package: www.mikroe.com www.libstock.com DVD://download/eng/software/ development-tools/avr/avrprog2/ avrprog2_drivers_v200.
AVRFlash software L NA IO • RE WA FT SO • • • • • • • • • • • • • • • • • MIK ROC ILERS , MI COMP KRO BA SIC ,M IK RO PA SC AL • • • • • • • • • • • • • • • • S VER DRI EXAM PLE S CO • PRODUCT DVD • www.mikroe.com www.libstock.com DVD://download/eng/software/development-tools/avr/avrprog2/avrprog2_programmer_v214.
The UART (universal asynchronous receiver/transmitter) is one of the most common ways of exchanging data between the MCU and peripheral components. It is a serial protocol with separate transmit and receive lines, and can be used for full-duplex communication. Both sides must be initialized with the same baud rate, otherwise the data will not be received correctly. Enabling RS-232 RS-232 serial communication is performed through a 9-pin SUB-D connector and the microcontroller UART module.
Modern PC computers, laptops and notebooks are no longer equipped with RS-232 connectors and UART controllers. They are nowadays replaced with USB connectors and USB controllers. Still, certain technology enables UART communication to be done via USB connection. FT232RL from FTDI® convert UART signals to the appropriate USB standard. In order to use USB-UART module on EasyAVR™ v7, you must first install FTDI drivers on your computer.
Easier connectivity and simple configuration are imperative in modern electronic devices. Success of the USB standard comes from it’s simplicity of usage and high and reliable data transfer rates. As we in mikroElektronika see it, Plug-and-Play devices with minimum settings are the future in embedded world too.
connectivity WiFi PLUS click™ GPS2 click™ GSM2 click™ RELAY click™ THERMO click™ Click Boards are plug-n-play! ™ mikroElektronika portfolio of over 200 accessory boards is now enriched by an additional set of mikroBUS™ compatible Click Boards™. Almost each month several new Click boards™ are released.
connectivity Input/Output Group One of the most distinctive features of EasyAVR™ v7 are it’s Input/Output PORT groups. They add so much to the connectivity potential of the board. Everything is grouped together PORT headers, PORT buttons and PORT LEDs are next to each other, and grouped together. It makes development easier, and the entire EasyAVR™ v7 cleaner and well organized.
connectivity Headers Buttons LEDs With enhanced connectivity as one of the key features of EasyAVR v7, we have provided three connection headers for each PORT. I/O PORT group contains two male IDC10 headers (like CN9 and CN10 on Figure 9-3). These headers are all compatible with over 70 mikroElektronika accessory boards, and enable simple connection. There is one more IDC10 header available on the left side of the board, next to the section with displays.
displays LCD 2x16 characters Liquid Crystal Displays or LCDs are cheap and popular way of representing information to the end user of some electronic device. Character LCDs can be used to represent standard and custom characters in the predefined number of fields. EasyAVR™ v7 provides the connector and the necessary interface for supporting 2x16 character LCDs in 4-bit mode. This type of display has two rows consisted of 16 character fields. Each field is a 7x5 pixel matrix.
Graphical Liquid Crystal Displays, or GLCDs are used to display monochromatic graphical content, such as text, images, humanmachine interfaces and other content. EasyAVR™ v7 provides the connector and necessary interface for supporting GLCD with resolution of 128x64 pixels, driven by the KS108 or compatible display controller. Communication with the display module is done through CN16 display connector.
displays Touch panel controller Touch panel is a glass panel whose surface is covered with two layers of resistive material. When the screen is pressed, the outer layer is pushed onto the inner layer and appropriate controllers can measure that pressure and pinpoint its location. This is how touch panels can be used as an input devices. EasyAVR™ v7 is equipped with touch panel controller and connector for 4-wire resistive touch panels.
SEG G SEG F COM0 SEG A SEG B 10 9 8 7 6 To enable digit select lines for the 4-digit 7-segment display you have to turn on SW8.1, SW8.2, SW8.3 and SW8.4 switches. Digit select lines are connected to PA0 – PA3 pins on the microcontroller sockets, while data lines are connected to PC0 – PC7 pins. Make sure to disconnect other peripherals from the interface lines in order not to interfere with signal/data integrity.
modules DS1820 - Digital Temperature Sensor DS1820 is a digital temperature sensor that uses 1-wire® interface for it’s operation. It is capable of measuring temperatures within the range of -55 to 128°C, and provides ±0.5°C accuracy for temperatures within the range of -10 to 85°C. It requires 3V to 5.5V power supply for stable operation. It takes maximum of 750ms for the DS1820 to calculate temperature with 9-bit resolution.
The LM35 is a low-cost precision integrated-circuit temperature sensor, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. It has a linear +10.0 mV/°C scale factor and less than 60 μA current drain.
modules ADC inputs Digital signals have two discrete states, which are decoded as high and low, and interpreted as logic 1 and logic 0. Analog signals, on the other hand, are continuous, and can have any value within defined range. A/D converters are specialized circuits which can convert analog signals (voltages) into a digital representation, usually in form of an integer number. The value of this number is linearly dependent on the input voltage value.
I C EEPROM modules 2 EEPROM is short for Electrically Erasable Programmable Read Only Memory. It is usually a secondary storage memory in devices containing data that is retained even if the device looses power supply. Because of the ability to alter single bytes of data, EEPROM devices are used to store personal preference and configuration data in a wide spectrum of consumer, automotive, telecommunication, medical, industrial, and PC applications.
modules Piezo Buzzer Piezo electricity is the charge which accumulates in certain solid materials in response to mechanical pressure, but also providing the charge to the piezoelectric material causes it to physically deform. One of the most widely used applications of piezo electricity is the production of sound generators, called piezo buzzers.
EasyAVR™ v7 contains three GND pins located in three different sections of the board, which allow you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins, or signals of on-board modules. 1 GND is located between SW10 and SW8 DIP switches. 2 1 GND is located between DIP20A and DIP20B sockets. 3 3 GND is located between DIP28 and DIP40B sockets.
You have now completed the journey through each and every feature of EasyAVR™ v7 board. You got to know it’s modules, organization, supported microcontrollers, programmer. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join thousands of users of EasyAVR™ brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users.
DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, must be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/esupport If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com EasyAVR v7 User Manual ver. 1.