Home
BIGAVR6 Development System User Manual
Contents
1. mu XTAL2 1 PDO PD1 PD2 PD4 PD5 PD6 PD7 Figure 18 3 Alphanumeric 2x16 LCD display connection schematic MikroElektronika BIG AVR 6 Development System 2 19 0 128x64 Graphic LCD Display 128x64 graphic LCD display GLCD is connected to the microcontroller via PORTA and PORTE ports and enables graphic content to be displayed It has the screen resolution of 128x64 pixels which allows diagrams tables and other graphic content to be displayed Potentiometer P3 is used for the GLCD display contrast adjustment Switch 8 LCD GLCD BACKLIGHT on the DIP switch SW15 is used to turn the display backlight on off Contrast adjustment potentiometer GLCD display connector Touch panel connector ak M an iR Tora E LITT oe Figure 19 1 GLCD display Figure 19 2 GLCD connector GLCD display backlight is n 10K BLOGVECL Top view LCD GLCD BACKLIGHT De 10 A co Lu Lu 2 aajo n 9 e CN21 128 m RESET CC iB un XTAL2 mu 1 m PDO um 2 um PD4 PD5 PDG PD7 PB7 m PG4 Figure 19 3 GLCD display connection schematic MikroElektronika 24 BIG AVR 6 Development System 20 0 Touch Panel The touch panel is a thin self adhesive transparent touch sensitive panel It is placed over a GLCD display Its mai
2. 10 0 RS 232 Communication Interface USART Universal Synchronous Asynchronous Receiver Transmitter is one of the most common ways of exchanging data between the PC and peripheral units RS 232 serial communication is performed through a 9 pin SUB D connector and the microcontroller USART module The B GAVR6 provides two RS 232 ports RS 232A and RS 232B Use switches marked as RX232 A PEO pin and TX232 A PE1 pin on the DIP switch SW13 to enable port RS 232A Likewise use switches marked as RX232 B PD2 pin and TX232 B PD3 pin on the DIP switch SW13 to enable port RS 232B The microcontroller pins used in such communication are marked as follows RX receive data line and TX transmit data line Data rate goes up to 115 kbps In order to enable the USART module of the microcontroller to receive input signals which meet the RS 232 standard it is necessary to adjust voltage levels using an IC circuit such as MAX202 ERE Ta a X TRI B COMM ranr 2 Pij Snip 1 T E EE c Figure 10 1 RS 232 module The function of the switches 5 8 on the DIP switch SW13 is to determine which of the microcontroller pins are to be used as RX and TX lines Figure 10 2 Port 5 232 is connected to the microcontroller via PE1 pins U4 O U5 Q C35 1 VCC a bes E C14 VCC 100nF 100nF m GND e T10UTE C36
3. All MikroElektronika s development systems represent irreplaceable tools for programming and developing microcontroller based devices Carefully chosen components and the use of machines of the last generation for mounting and testing thereof are the best guarantee of high reliability of our devices Due to simple design a large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Development System SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD making iE sies ple TO OUR VALUED CUSTOMERS 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 15 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 Atmel name and logo the Atmel logo AVR AVR Logo AVR Freaks AVR Freaks Logo AVR Studio IDIC megaAVR megaAVR Logo picoPower tinyAVR are trademarks of Atmel Coorporation BIG AVR 6 Development System TABLE OF CONTENTS Introduction to BIGAVR6 Development System ccccccccsececeececeeeeseeeseeceeeeeseseeseeessaeeseeesaneeeees 4 M FOU T 5 150 Connecting the System to a PO ___ 6 2 0 Supporte
4. AVR 6 Development System 12 0 A D Converter Test Inputs An A D converter is used for converting an analog signal into the appropriate digital value A D converter is linear which means that converted number is linearly dependent on the input voltage value The A D converter built into the microcontroller converts an analog voltage value into a 10 bit number Potentiometer P5 enables voltage to vary between 0 and 5V The microcontroller with a built in A D converter is supplied with this voltage via test inputs Jumper J15 is used for selecting one of the following pins PFO PF1 PF2 or PF3 for A D conversion Resistor R12 has a protective function and is used to limit current flow through the potentiometer or the microcontroller pin po Figure 12 1 ADC jumper idefault position A D conversion A D conversion is performed via the PFO Top view Figure 12 3 Microcontroller and A D converter test inputs connection schematic NOTE In order to enable the microcontroller to accurately perform A D conversion it is necessary to turn off LEDs and pull up pull down resistors on the port pins used by the A D converter MikroElektronika wed BIG AVR 6 Development System 1 13 0 DS1820 Temperature Sensor 1 wire serial communication enables data to be transferred over a single communication line while the process itself is under control of the master device The advantage of such communication is that only one mi
5. H C39 H 2 C2 100nF 100nF H R1ouTl 8c R10uUTE C34 C40 NN v v 100nF 100nF T2INE AAV R20UTI Bottom view Bottom view Figure 10 2 RS 232 module connection schematic MikroElektronika BIG AVR 6 Development System 1 11 0 CAN Communication Interface CAN Controller Area Network is a communication standard primarily intended for use in automotive industry It enables the microcontroller to communicate to a car device without using a host PC In addition such communication is widely used in industrial automation The BIGAVR6 uses the MCP2551 circuit for CAN communication This circuit provides an interface between the microcontroller and some peripheral device To enable connection between the microcontroller and MCP2551 it is necessary to set switches and 4 on the DIP switch SW14 to the ON position XT ou Figure 11 2 CAN module connector CAN communication is enabled via DIP switch SW14 VCC R10 9 5 10 I TXD Rsi Kio amp 881048 RXD Vrefll MCP2551 NO TX CAN 128 819 VCC C1 100nF PB7 mu PG3 mum RESET m CC XTAL2 1 PDO um PD1 uas PD2 PD3 PD4 PD5 m PD6 PD7 Figure 11 3 Microcontroller and MCP2551 connection schematic MikroElektronika 16 BIG
6. VCC position a logic one 5V will be applied to the appropriate microcontroller pin as shown in Figure 17 2 mm PA4 um PA5 mm ICA PC4 w ATmega128 Figure 17 2 Push buttons and port PORTC connection schematic m PB7 m PG4 RESET CC XTAL2 1 m PDO PD1 uas PD2 PD3 PD4 5 PD6 MikroElektronika 21 22 BIG AVR 6 Development System 18 0 2x16 LCD Display The BIGAVR6 development system provides an on board connector for the alohanumeric 2x16 LCD display Such connector is linked to the microcontroller via port PORTC Potentiometer is used to adjust display contrast Switch 8 LCD GLCD BACKLIGHT on the DIP switch SW15 is used to turn the display backlight on off Communication between the LCD display and the microcontroller is performed in a 4 bit mode Alphanumeric digits are displayed in two lines each containing up to 16 characters of 7x5 pixels Contrast adjustment potentiometer LCD display backlight is on n N6 Top view A N LCD GLCD BACKLIGHT 1 5 mm PG2 a Almegai28 gt __ PCO P nod LM a a PGO 7 PG3 RESET m CC
7. built in into AVR microcontrollers is a modified version of the original JTAG interface which enables the contents of internal EEPROM and FLASH memory to be altered programming microcontrollers The JTAG ICEmkll programmer debugger employs a male 2x5 connector to be interfaced to the development system Figure 5 1 JTAG connector Figure 5 2 JTAGICE mkll connected to the board The JTAG connector is directly connected to microcontroller pins so that it is not necessary to perform jumper settings as is the case with AVRprog and AVR ISPmkll programmers 6 0 Serial EEPROM EEPROM Electrically Erasable Programmable Read Only Memory is a built in memory module used to store data that must be saved when the power goes off The 24AA01 circuit can store up to 1Kbit data and uses serial I C connection to communicate with the microcontroller via PDO and PD1 or and 5 pins In order to establish such connection between EEPROM and microcontroller it is necessary to set switches 5 and 7 on the DIP switch SW14 to the ON position Switches and 8 may also be used for this purpose which depends on which pins you want to use for serial communication Serial EEPROM connected the microcontoller via PDO PD1 pins HAO Tpi B M I2C SCL c de sci 100nF ER Np Spa 24AA01 Figure 6 1 Serial EEPROM connection schematic MikroElektronika 12 BIG AVR 6 Development System 7 0 Power supply Th
8. char 5 51 mikroElgzgktronika char txte char txt3 Lc txt4i HEX code loading ample On the right side of the AVRflash program s main window there is a number of options making the programming of the microcontrollers easier Positioned in the bottom right corner of the window the Progress bar enables you to monitor the programming progress Delay masis5 000 T T V um 50 Move d E T UE im Write a code in one ofthe AVR compilers generate a hex file and employ the on board programmer to load the code into the microcontroller COH E o i md aere dee O CE _ __ a ___ ELLE Figure 3 3 The process of programming NOTE For more information on the AVRprog programmer refer to the relevant manual provided with the system MikroElektronika BIG AVR 6 Development System AVR microcontrollers are programmed using SPI serial communication which employs the following microcontroller pins MISO MOSI and SCK Multiplexer MCU MISO MCU MOSI SCK Figure 3 4 The principle of programmer s operation 4 0 External Programmer AVR ISP mkll During the programming the multiplexer disconnects the microcontroller pins us
9. not fault tolerant nor designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of Software could lead directly to death personal injury or severe physical or environmental damage High Risk Activities MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities TRADEMARKS The Mikroelektronika name and logo the Mikroelektronika logo mikroC mikroC PRO mikroBasic mikro Basic PRO mikroPascal mikroPascal PRO AVRflash PICflash dsPlCprog 18FJprog PSOCprog AVR prog 8051prog ARMflash EasyPIC5 EasyPIC6 BigPIC5 BigPIC6 dsPIC PRO4 Easy8051B EasyARM EasyAVR5 EasyAVR6 BigAVR2 EasydsPIC4A EasyPSoC4 EasyVR Stamp LV18FJ LV24 33A LV32MX PIC32MX4 MultiMedia Board PICPLC16 PICPLC8 PICPLC4 SmartGSM GPRS UNI DS are trademarks of Mikroelektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Mikroe
10. 558 REFERENCE ucc H JL Jl GG ak LUI LOL vo eee ag T T JL LUI LIU E IL JL JL SPI COMMUNICATION FOR MMC AND CONNECTS MMC CARD S CS Iu Z 7 7 7 Z 7 7 7 7 7 7 e o ke 9 9 Z e 7 7 OW 5 ese Z J 9 7 LCD 2 16 gt AN L Portc 4 pg CHARACTERS IN MODE 59 1 0000 Oo 4 88 222442 4p a g 7 eu 7 ri IMPORTANT a 1 7 1 BE SURE TO TURN OFF THE POWER SUPPLY BEFORE PLACING LCD OR 7 Z im mj mii GLCD ON DEVELOPMENT BOARD OTHERWISE BOTH LCD AND GLCD i 7 imi UNITS CAN BE PERMANENTLY DAMAGED 11 Z see EJ 2 it BE SURE TO PLACE LCD AND GLCD PROPERLY OTHERWISE BOTH it 7 7 PORTD x 7 uc 7 rem fu EN LCD AND GLCD UNITS CAN BE PERMANENTLY DAMAGED pt 7 99000000 1 umm aimn Z DES ipsa 195216 eu rule 555577470717 7 e Douin Z Z 7 m Z 7 Z 9 9 Z 7 O D uU O TE ees BEREEEEE m MUN NI 7 7 7 uz NEN EN NN ams 0 ts OO ose 9992999 ool o
11. M W 4 A possibility of reading MMC SD memory cards ur E 7 MEMORY CARD Graphic LCD display with backlight GLCD128x64 The AVRflash program for programming provides a complete list of all supported microcontrollers The latest version of this program with updated list of supported microcontrollers can be downloaded from our website at www mikroe com Package contains Development System BIGAVR6 CD product CD with relevant software Cables USB cable Documentation BIGAVR6 and AVRflash manuals quick guide for installing USB drivers electrical schematic of the system System specification Power Supply over a DC connector 7 23V AC or 9 32V DC or over a USB cable for programming 5V DC Power consumption 50mA in idle state when all on board modules are off Dimension 26 5 x 22cm 10 4 x 8 6inch Weight 417g 0 92lbs MikroElektronika BIG AVR 6 Development System ika 0 NA LEKUKO OOL 7 ME mmm PORTA 7 E 00000000 on E PINS SELECTION titii mm mi 5 m RS 232 LT I TII ID Wi COMMUNICATION M EXTERNAL 00000000 144144 Hj Hj Hj Hj Hj E E E E E E E E E E 66
12. ary development tool suitable for programming and experimenting with AVR microcontrollers from Atmel The system includes an on board programmer providing an interface between the microcontroller and a PC You are simply expected to write a program in one of the AVR compilers generate a hex file and program your microcontroller using the on board AVRprog programmer Numerous on board modules such as 128x64 graphic LCD display alphanumeric 2x16 LCD display real time clock serial EEPROM etc are provided on the board and allow you to easily simulate the operation of the target device 3 7 2 LI bus SA i am cmm ear Full featured and user friendly i a development system for EUNT 2 5 AVR microcontroller based E 1 f devices E X NP T P Ji z m 4 USB 2 0 on board programmer ait s 2 RE 5 RGB ES ua a elie Eg lt eau 8 A possibility of connecting E 2 i z d e a graphic display with TET uag uu SM touch panel increases gt v LR y ae uses the functionality of the s 5 JJ TY 4 P development system 4 1 O mE x AS SA 2 nu gt p he 1 LI LA Iw Im ai x mE MMC SD
13. ate of each microcontroller I O An active LED indicates that a logic one 1 is present on the pin In order to enable the pin state to be shown it is necessary to select appropriate port PORTA PORTB PORTC PORTD PORTE PORTF PORTG PORTH PORTJ PORTK or PORTL using the DIP switch SW12 PORTA LEDs are turned on A LD1 44 44 AN 44 n Figure 16 2 LED diodes and port PORTA connection schematic MikroElektronika BIG AVR 6 Development System 17 0 Push Buttons The logic state of all microcontroller input pins may be changed by means of push buttons Jumper J12 is used to determine the logic state to be applied to the desired microcontroller pin by pressing appropriate push button The function of the protective resistor is to limit the maximum current thus preventing the development system and peripheral modules from being damaged in case a short circuit occurs If needed advanced users may shorten such resistor using jumper J13 Right next to the push buttons there is a RESET button which is used to provide the MCLR pin with the microcontroller reset signal over the on board programmer Top view Inside view 5 E Bottom view Side view Push buttons used for simulating digital inputs Jumper J12 used for selecting logic state to be applied to the pin by pressing push button Figure 17 1 Push buttons By pressing any push button when jumper J12 is in the
14. crocontroller pin is used All slave devices have by default a unique ID code which enables the master device to easily identify all devices sharing the same communication interface The DS1820 is a temperature sensor that uses 1 wire communication It is capable of measuring temperatures within the range of 55 to 125 C and provides 0 5 C accuracy for temperatures within the range of 10 to 85 C A power supply voltage of 3V to 5 5V is required for its operation It takes maximum 750ms for the DS1820 to calculate temperature with a 9 bit resolution The BIGAVR6 development system provides a separate socket for the DS1820 It uses either PBO or PGO pin for communication with the microcontroller which depends on the position of switches 1 and 2 on the DIP switch SW14 Make sure that half circle on the board matches the round side of the 051820 Pop Mas me iL Figure 13 1 DS1820 Figure 13 2 DS1820 Figure 13 3 DS1820 Figure 13 4 DS1820 connector DS1820 is connector with the is connected to the is connected to the not placed DS1820 temperature microcontroller via the microcontroller via the sensor plugged into PBO pin PGO pin Temperature sensor is connected to the microcontroller via the PGO pin DS1820 DQ Bottom view a VCC MCU GND Figure 13 5 DS1820 and microcontroller connection schematic MikroElektronika BIG AVR 6 Development System 14 0 Real Time Clock RTC The real time clock is widely use
15. cted 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 The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for indirect specific incidental consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary HIGH RISK ACTIVITIES The products of MikroElektronika are
16. d Microcontrollers _____ On board USB 2 0 AVRprog Programmer 9 4 0 External Programmer AVR ISP 1 1 ccenetsetdeeaessansedncncscesnsesensduteusedsactectaennceeassaenenst 10 5 0 JTAG Connector MC ET 11 0 0 11 FUN oes 12 8 0 Voltage Reference Source cd 13 9 0 USB Communication Interface 13 10 0 RS 232 Communication Interface Erw eem pr eru e aue Danae ede eat au ed bars 14 11 0 CAN Communication Intende 15 120 AID i e NM T UU Tu T TTE 16 13 0 DS1820 Temperature Sensor rbd tentato inci asa eru cM C EU Des 17 14 0 Real Time Clock RTO ME 18 TOMMO D COME ME RT E E AE 19 EED aoc E E EAA E A E A E 20 17 0 Push 21 LOD 22 9 0 128x64 Graphic LCD Display EE 23 2 0 24 21 9 DC POrFS greene ee mani MU eR uM M M Ee 25 4 BIG AVR 6 Development System Introduction to BIGAVR6 Development System The BIGAVR6 development system is an extraordin
17. d in alarm devices industrial controllers consumer devices etc Thanks to the DS1307 circuit the BIGAVR6 development system is capable of keeping the real time The main features of the real time clock are as follows providing information on seconds minutes hours days in a week and dates including corrections for a leap year lC serial interface automatic power fail detection power consumption less than 500nA The real time clock provided on the BIGAVR6 development system is used to generate an interrupt at pre set time In order to establish connection between the microcontroller and real time clock it is necessary to set switches PDO and PD1 on the DIP switch SW14 as well as switch on the DIP switch SW15 to the ON position Switches PE4 PE5 and PE6 may be optionaly used here 3V battery enables the operation of the real time clock when the power supply is off Quartz crystal provides accuracy of the clock signal used by the real time clock I2C SCL peson H R20 R21 R22 x3 EA VCC ae 108 RTC OUT EV OUTII SDAI BAT1 3V 230mA DS1307 C42 Figure 14 2 Real time clock and microcontroller connection schematic MikroElektronika BIG AVR 6 Development System 1 15 0 MMC SD Connector The MMC SD connector is used to enable memory cards to be interfaced to the microcontroller To enable communication between memory card and microcontroller
18. e closed position In addition to the MCU card with microcontrollers in 64 pin TQFP package there are also MCU cards with microcontrollers in 100 pin TQFP package which can be ordered separately They are placed into the appropriate connector in the same manner as described above MikroElektronika BIG AVR 6 Development System 3 0 On board USB 2 0 AVRprog Programmer A programmer is a necessary tool when working with microcontrollers The B GAVR6 has an on board AVRprog programmer which provides an interface between the microcontroller and the PC The AVRflash program is used for loading a hex file into the microcontroller Figure 3 3 shows connection between the compiler AVRflash program and the microcontroller Programmer s USB connector Figure 3 2 USB connector s front side Programmer s chip Jumper J21 used for selecting programmer on board or external to be used for programming AVR microcontrollers a a A ge Figure 3 1 AVRprog programmer 1 Write a program in one of the AVR Compiling program compiler and generate a hex file File Edit View Project Run Tools Help 2 Use the AVRflash program to RO LE E m select desired microcontroller to be LL 1110001001 programmed HBB BM RS Soa iR 0110100011 Lcd c 01111 2 2 3 Click the Write button to dump 1011 F43E0021A the code into the microcontroller Hex DA67F0541
19. e BIGAVR6 development system may use one of two power supply sources 1 5V PC power supply through the USB programming cable and 2 External power supply source connected to a AC DC connector provided on the development board The MC34063A voltage regulator and Gretz rectifier are used to enable external power supply voltage to be either AC in the range of to 23V or DC in the range of 9V to 32V Jumper J14 is used as a selector for a power supply source To make advantage of the USB power supply jumper J14 should be placed in the USB position When using external power supply jumper J14 should be placed in the EXT position The development system is turned on off by switching the position of the POWER SUPPLY switch ao E 4 i dada i xu EE 27 uu d n d IU Power supply voltage regulator Jumper J14 as a selector x Min for a power supply source d pum Surety iu D ra mh o Figure 7 1 Power supply USB Powering over an AC DC connector Powering over a J14 ugg USB connector EXT m ON I ES E wm Side view Baca m Side view aide view Side view 7 af E amp zz t 4x1N4007 D13 Top view L2 220uH 07 LN MBRS140T3 E Side view Side view Side view Bottom view Figure 7 2 Power supply source sche
20. ed for programming from the rest of the board and connects them to the AVRprog programmer When the process of programming is complete these pins are automatically disconnected from the programmer and may be used as input output pins In addition to the on board programmer the B GAVR6 development system may also use an external programmer AVR ISP from Atmel for programming microcontrollers It is linked to the connector AVR SP Prior to connecting and using the external programmer it is necessary to place jumper J21 in the EXTERNAL position Then you should use jumper J22 to select the appropriate microcontroller socket MikroElektronika TUO The position of jumper J22 when the external MEM programmer is used for programming microcontrollers in 100 pin TQFP package m position of jumper J22 when the external programmer is used for programming microcontrollers in 64 pin TQFP package Jumper J21 set to the EXTERNAL position 77779 enables the operation of the external programmer ou soAnn AVRISP HORS PLA uit BN n Prec PLA Malt al r Jumper J21 setto the ON BOARD position enables _ the operation of the on board programmer oN BOARD BIG AVR 6 Development System 5 0 JTAG Connector JTAG ICEmkll is programmer debugger for AVR microcontrollers provided with a built in JTAG interface The JTAG ICEmkII is primarily intended for use with the AVR Studio program The JTAG interface
21. in connectors but via the programmer s multiplexer DIP switches SW1 SW11 enable each connector pin to be connected to one pull up pull down resistor Whether pins of some port are to be connected to a pull up or a pull down resistor depends on the position of jumpers J1 J11 Additional module connected to PORTC CER P Jumper for pull up pull TERT i m down resistor selection igure 21 2 J2 in pull down position PORTG 2x5 male connector DIP switch to turn on pull up pull down resistors for each port pin Figure 21 3 J2 in pull up Abn 5 position Figure 21 1 I O ports Port PORTA pins are connected to vec pull down resistors TOT 8 10 pull down ON J1 Swi 12345678 A A 4 5 A LD1 _________ ________ 2 I _______ AE _________ 128 Figure 21 4 Port PORTA connection schematic MikroElektronika 26 BIG AVR 6 Development System Pull up pull down resistors enable you to set the logic level on all microcontroller s input pins when they are in idle state Such level depends on the position of the pull up pull down jumper The PG2 pin with the relevant DIP switch SW7 jumper J7 and PG2 push button with jumper J12 are used here for the purpose of explaining the performance of pull up pull down resistors The principle of their operat
22. ion is the same as for all other microcontroller pins RN TOT 6x10K ON SW7 VCC O RN7 up pull 12345678 ATmega128 Figure 21 7 Jumpers J7 and J12 in the same position MikroElektronika In order to enable the PORTG port pins to be connected to pull down resistors it is necessary to place jumper J7 in the Down position first This enables any PORTG port pin to be supplied with a logic zero 0V in idle state over jumper J7 and 6x10k resistor network To provide the PG2 pin with such signal it is necessary to set switch PG2 on the DIP switch SW7 to the ON position As a result every time you press the PG2 push button a logic one VCC voltage will appear on the PG2 pin provided that jumper J12 is placed in the VCC position In order to enable port PORTG pins to be connected to pull up resistors and the port input pins to be supplied with a logic zero 0 it is necessary to place jumper J7 in the Up position and jumper J12 in the GND position This enables any port PORTG input pin to be driven high 5V in idle state over the 10k resistor As a result every time you press the PG2 push button a logic zero will appear on the PG2 pin provided that the PG2 switch is set to the ON position In case that jumpers J7 and J12 have the same logic state pressure on any button will not cause input pins to change their logic state All the products owned by MikroElektronika are prote
23. it is necessary to adjust their voltage levels Memory card is powered by the 3 3V power supply voltage VCC MMC generated by the REG1 voltage regulator whereas the value of the microcontroller power supply voltage is 5V VCC The 74LVCC3245 bus transceiver is used here to adjust these voltage levels In addition communication between memory card and microcontroller can be established only if switches 3 4 5 6 and 7 on the DIP switch SW15 are set to the ON position Figure 15 1 MMC SD Figure 15 2 MMC SD memory MMC SD communicates the microcontroller via MISO MOSI SCK lines NO VCC 3 3 REG1 FP2 VOUT 3 t E8 FERRITE E7 1 MC33269DT 3 3 VCC MMC VIN Gee VCC 3 3 U11 VCC O C19 MMC CS an VCCB i NC CN15 R36 MMC CARD 2K2 MMC CS 3 3 MISO 3 3 MISO 33 HE EE TALVCC3245 Figure 15 3 MMC SD connector and microcontroller connection schematic MikroElektronika 20 BIG AVR 6 Development System 16 0 LEDs LED Light Emitting Diode is a highly efficient electronic light source When connecting LEDs it is necessary to use a current limiting resistor A common LED diode voltage is approximately 2 5V while the current varies from 1 to 20mA depending on the type of LED The BIGAVR6 uses LEDs with current 21mA There are 86 LEDs on the BIGAVR6 development system which visually indicate the st
24. ith the compiler Step 2 Use the USB cable to connect the B GAVR6 development system to a PC One end of the USB cable with a USB connector of B type should be connected to the development system as shown in Figure 1 2 whereas the other end of the cable with a USB connector of A type should be connected to PC When establishing a connection make sure that jumper J14 is placed in the USB position as shown in Figure 1 1 USB connector PII ed a imi a com come S Wes E y Peo xU c J14 power supply selector iie a Figure 1 1 Power supply Step 3 Turn on your development system by setting the POWER SUPPLY switch to the ON position Two LEDs marked as POWER and USB LINK will be automatically turned on indicating that your development system is ready to use Use the on board programmer and the AVRflash program to dump a code into the microcontroller and employ the system to test and develop your projects NOTE If some additional modules are used such as LCD GLCD etc it is necessary to place them properly on the development system while it is turned off Otherwise either can be permanently damaged Refer to Figure below for the proper placing of the additional modules hh We x TAM Figure 1 3 Placing additional modules on the board MikroElektronika BIG AVR 6 Development System 2 0 Supported Microcontrollers The BIGAVR6O development s
25. lektronika 2009 All Rights Reserved sn JOe UOD ejejseu JOU op siesodoud ssauisnq 10 siuauluo suosanb Aue nok poddns uejuioo aou MMM ye 1exyon INOA eoejd eseejd uONeWJOJUI jeuonippe T3504 90 jo Aue gps ale noA yje UJO3 90JXlUU MMM 8 ausqam ino IS na O wy no
26. matic MikroElektronika 1 BIG AVR 6 Development System 8 0 Voltage Reference Source The BIGAVR6 development system is provided with MCP1541 circuit which generates voltage reference used for A D conversion The microcontroller is supplied with such voltage the value of which is 4 096V through the AREF pin In addition the AREF pin can also be supplied with the 5V power supply voltage The position of jumper J18 determines which of these voltages is to be supplied on the AREF pin wee E TN Q IE j R18 0 1K VCC Q 128 4 096V 096 Lr VOUT E3 J18 100 MCP1541 mor IosxooO0zzo wcosiodor c O x xnunnnnununnma 2 8 EET ET LT E VCCO placed to provide 4 096V voltage reference Figure 8 1 Voltage reference source connection schematic 9 0 USB Communication Interface The CN25 USB connector enables AVR microcontrollers with a built in USB interface to be connected to peripheral devices The microcontroller is connected to the CN25 USB connector via USB DM and USB DP lines The function of the LED diode marked as ON is to indicate connection between USB devices USB connector P MoMo o Bottom view Figure 9 1 US Figure 9 2 USB connector connection schematic MikroElektronika 14 BIG AVR 6 Development System
27. n function is to register pressure at some specific display point and to forward its coordinates in the form of analog voltage to the microcontroller Switches 1 2 3 and 4 on the DIP switch SW13 are used for connecting the microcontroller and touch panel Figure 20 1 Placing touch panel over a GLCD display Figure 20 1 shows how to place a touch panel over a GLCD display Make sure that the flat cable is to the left of the GLCD display as shown in Figure 4 Touch panel is connected to the microcontroller via pins PFO PF1 PG3 and PG4 gl9Grezl TOUCHPANEL CONTROLLER Figure 20 2 Touch panel connection schematic Figure 20 3 Connecting touch panel Figure 20 3 shows in detail how to connect a touch panel to the microcontroller Bring the end of the flat cable close to the CN22 connector Figure 1 Plug the cable into the connector Figure 2 and press it easily so as to fully fit the connector Figure 3 Now a GLCD display can be plugged into the appropriate connector Figure 4 NOTE LEDs and pull up pull down resistors on ports PORTF and PORTG must be off when using a touch panel MikroElektronika BIG AVR 6 Development System 2 21 0 Input Output Ports Along the right side of the development system there are eleven 10 pin connectors which are connected to the microcontroller s I O ports Pins PB1 PB2 PB3 PEO and PE1 are used for programming and therefore are not directly connected to the appropriate 10 p
28. ooo Woooh ee HE TTE NN E NEN NN EN 7 EB EB m U OO US am EEHEEEER Or 7 imi m 1 zz gy CB H EB B ooo 11 1111 is a EN E 11111111 1 1 U D U ann OOOO m U cm iili Im mi iN MN N 7 m MUN NI 5 Z Z Z zz QR mn oO D amamma onc LA 7 D OU D D D Oe DI ooo ee N A A m mu mu gm mu mu m 2 11011 11 Z Eo o a 2 7 7 A n wn 7 Z POWER power PY RM RM Ru n QU 7 SUPPLY RO an RR RR RR RR 7 74799979 Z 7 ecimoelus CONTRAST Z Z pu pu nu nu nw 1111 1 m mm mum mH RH H 1 pu pu pu VOLTAGE TE 7 A 7 2 Z 7 2 Z 7 24 1 7 7 7 7 7 7 Z Z 7 A 7 7 2 uv A Khhnwhwwwhhh Wwm wNNO NNN 5 Eec gt 7 iHe em awe RESET e m mm mm 88 _ e DEVELOPMENT BOARD e B Ry rM c usc mmu mm mm mm RN e T PROJECT is USED FOR SELECTING VOLTAGE LEVEL BE APPLIED WHEN BUTTON IS PRESSED HW REV 1 00 BY MIKROELEKTRONIKA 9 Featu res 15 Voltage reference
29. source 16 Touch panel controller 17 Graphic LCD display connector 18 Serial EEPROM 19 Temperature sensor connector 20 Push buttons simulate microcontroller digital inputs 21 Jumper for protective resistor shortening 22 Jumper for selecting push buttons logic state 23 Reset button On board programmer s USB connector AVR ISP external programmer s connector JTAG connector CAN communication interface A D converter test inputs USB communication connector Serial communication connector RS 232A Real time clock 24 MMC SD card connector Serial communication connector RS 232B 25 Power supply source selector 10 MCU card socket 26 Power supply voltage regulator 11 Jumper for pull up pull down resistor selection 27 86 LEDs indicate pins logic state 12 DIP switch enables pull up pull down resistors 28 Programmer selector 13 I O port connectors 29 Alphanumeric LCD display connector 14 DIP switch turns on off on board modules 30 POWER SUPPLY switch pe OD DIS CONI BIG AVR 6 Development System 1 0 Connecting the System to a PC Step 1 Follow the instructions provided in the relevant manuals and install the AVRflash program and USB drivers from the product CD USB drivers are necessary for the proper operation of the on board programmer In case you already have one of the MikroElektronika s AVR compilers installed on your PC there is no need to reinstall USB drivers as they are already installed along w
30. ystem provides a DIMM 168P connector to place an MCU card into This development system comes with an MCU card with the ATMEGA128 microcontroller in 64 pin TQFP package soldered on it Figure 2 3 Besides the MCU card alone provides an oscillator as well as 80 soldering pads connected to microcontroller pins Each pad is marked the same as the pin itis connected to Soldering pads also make connection between the MCU card and target device s modules easy DIMM 168P connector for placing the MCU cardwith microcontroller in TQFP package EPUM TET ii An MRO S Fe REN LOM POOL Eo EL E n I E amp TESE SEELEELE REEL EEE E 4 b 8 T SU i LI ELIT Figure 2 1 DIMM 168P connector Figure 2 3 MCU card with a 64 pin microcontroller in TQFP package soldered on it a 2 a Figure 2 4 Schematic of the DIMM 168P connector s pinout MikroElektronika page BIG AVR 6 Development System Placing MCU card into the DIMM 168P connector is performed as follows Place the MCU card into the DIMM 168P connector Push the MCU card down gently into the DIMM 168P connector and Close the extraction levers when the MCU card is Pronene placed lift extraction levers slowly at the same time into the connector Extraction levers used to fix Extraction levers used to fix MCU card in the open position MCU card in th
Download Pdf Manuals
Related Search
Related Contents
HP StreamSmart 400 Guía del usuario The COMPASS User`s Manual - Process Data Control Corp. Type 0641, 0642, 0643, 0644, 0651, 0652, 0653, 0654 Dossier Elections municipales 2014 : mode d`emploi Human Skeletal Muscle Myoblast Manual - Zen DeLOCK Card Reader IDE 44pin male to Compact Flash MUSTEE 25PD Instructions / Assembly PINTURA PARA SUELOS Bestron Puro コラントッテ ネックレス フィオラ.ai Copyright © All rights reserved.
Failed to retrieve file