user's guide to Ready for AVR box version
TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and for having confidence in Mikroelektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs. Nebojsa Matic General Manager The Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS Inc. in the U.S.A and other countries.
Table of Contents Ready for AVR board Introduction System Specification 4 6. USB-UART 18 5 7. Port headers 19 Components 6 8. General Purpose Area 20 1. Power supply 8 9. Integrating with the casing 21 6. External Oscillator 9 10. Dimensions 22 4. ATmega16 microcontroller 10 5. Programming the microcontroller 11 Programming with mikroBootloader 12 step 1 – Connecting 12 step 2 - Connecting 13 step 3 - Browsing for .hex file 13 step 4 - Browsing for .
n Ready for AVR board Introductio Ready for AVR Board is the best solution for fast and simple development of various microcontroller applications. It comes with ATmega16 that is placed in DIP40B socket. It is preprogrammed with UART bootloader, so you don’t have to use external programmers to program the microcontroller. Board contains doublerow IDC10 headers for all available microcontroller ports. It also contains USB-UART module, prototyping area and a power supply circuit.
System Specification power supply Via AC/DC connector 7-23V AC or 9-32V DC power consumption 50mA in idle state (when on-board modules are off) board dimensions 14 x 8,2cm (5.51 x 3.23 inch) weight ~69g (0.
Components Page 6 AVRProg™ connector 01 Power LED indicator 02 8MHz external oscillator 03 DIP40A socket 04 UART comm.
01 02 03 04 05 06 07 08 09 15 14 13 Page 7 12 11 10
1. Power supply CN7 Ready for AVR board can be powered in two ways: over USB connection, or using external power sources, such as adapters, 7-23V AC 9-32V DC POWN POWP or laboratory power supplys. USB connection can provide up to 500mA of current, which is more than enough for evey on-board module and for operation of the microcontroller. If you decide to use external power supply, you can choose bewteen AC/DC adapter connector or power screw terminals .
6.
4. ATmega16 microcontroller PORTA DRIVER S BUFFE RS PORTA DIGITA L INTERF ACE PORTC DRIVER S BUFFE RS Ready for AVR development system comes with the ATmega16 microcontroller. Having lots of MIPS power, flash and RAM, and rich set inegrated modules, ATmega16 PORTC DIGITA L INTERF ACE is ideal choice for both beginners and professionals.
ller 5.
er ad Programming with mikroBootlo step 1 – Connecting You can program the microcontroller with bootloader which is preprogrammed into the device by default. To transfer .hex file 01 Start mikroBootloader from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from: 02 Click the Change Settings button. 03 In Setup window, select appropriate COM port. Click OK. http://www.mikroe.com/eng/downloads/get/1652/ mikrobootloader_atmega16_v100.
step 2 - Connecting step 3 - Browsing for .hex file 02 01 Figure 5-3: Browse for HEX 01 Press reset button on Ready board. 02 Click Connect button within 5s, otherwise existing microcontroller program will execute. Figure 5-4: Browse for HEX 01 Click on Browse for HEX button.
step 4 - Browsing for .hex file step 5 - uploading .hex file 01 01 02 Figure 5-5: Locating and Selecting .hex file 01 Select .hex file via open dialog window. 02 Click on Open button. Figure 5-6: Begin uploading 01 To start .hex file uploading click on Begin uploading button.
step 6 - Finish upload 01 Figure 5-7: Progress bar 01 You can monitor .hex file uploading via progress bar. 01 Figure 5-8: Browse for HEX 01 Click OK button. 02 Press Reset button on Ready board and wait for 5 seconds. Your program will execute automaticly.
Programing with AVRProg™ programmer Ready for AVR board contains IDC10 male headers for connecting AVRprog™ external USB 2.0 programmer. When connecting, make sure to orient the programmer connector so that first pins on both male and female header connectors align. Correct connector placement is shown on Figure 5-9.
VCC VCC AVCC VCC U1 CN6 AVRprog CONNECTOR PB5-MOSI mRST# PB7-SCK PB6-MISO VCC C2 100nF PB0 PB1 PB2 PB3 PB4 PB5-MOSI PB6-MISO PB7-SCK mRST# PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 OSC U2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PE0 PE1 PE2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PB0 PB1 PB2 PB3 PB4 PB5-MOSI PB6-MISO PB7-SCK mRST# VCC C10 100nF OSC PD0 PD1 PD2 PD3 PD4 PD5 PD6 40 39 38 37 36 35 34 33 32 31 30
6. USB-UART Fast on-board FTDI chip allows you to communicate with a PC or other UART devices using USB-UART connection. Female USB Type-B connector (CN9) is used for connecting the USB cable. RX and TX LEDs will indicate communication status. Before connecting the board with the PC, make sure to have the appropriate FTDI drivers installed on your operating system. Drivers can be found at following URL: http://www.ftdichip.com/Drivers/VCP.
7. Port headers DATA BUS Each microcontroller pin is available for futher connections through on-board connection headers. Pins are clearly marked which makes them easier to interface. IDC10 headers are compatible with over 70 additional boards from mikroElektronika, so you can easily add new features to the base Ready for AVR board.
8. General Purpose Area General Purpose Area allows you to expand your Ready for AVR board with additional functionalities, by placing your additional components into available soldering pads. Pads are arranged in standard 100mil distance form factor. There are 12 connected lines on both halfs of the breadboard area, and each line consists of 4 soldering pads. 8x8 matrix of unconnected sol de ring pads are located in the lower section.
9. Integrating with the casing Ready for AVR can easily be integrated into the specialized white plastic casing. This feature is very conveinent for turning the board into a final product. The white plastic casing contains inner and outter screw holes. Inner are used for attaching the board to the casing, and outter are used for connecting the top part of the casing, and enclosing the board.
10. Dimensions 140.06 mm (5.51”) 12.2mm (0.48”) 5mm (0.2”) 124.19 mm (4.89”) 9.1mm (0.36”) 17.5mm (0.69”) 48.00 mm (1.89”) 66.28 mm (2.61”) 46.7mm (1.84”) 82.09 mm (3.23”) 16.0mm (0.
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, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
Ready for AVR box version 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/en/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.