Home
BIGAVR2 User Manual
Contents
1. BS TET I dc NUT AKI 5 E a 4 TES He docu 33 ue rr 4 a il M el E P P a T J 2 g 5 ahs iu BS 59595553 888 a uni tliis O i 8 18 redi el el 8 2 Em Wem NL BR age E e RIZUS IUBE 3 apu 4 Em 1 tifi P wei NEN Figure 1 BIGAVR2 development board MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD SWITCHES USER S X e The BIGAVR2 development board features number of peripheral devices In order to enable them before programming the appropriate jumpers or switches have to be properly set Switches are mechanical devices which have two positions and OFF Their function 15 to establish or break connection between two contacts The BIGAVR2 development board has four groups of switches Switch group SW1 is used to enable disable LEDs connected to the microcontroller ports Five out of eleven ports have its own switch while the ports F G H J K and C share three lower switches of this group SWITCHES Switch group S
2. dae yono ou w ttcsd 8254 iki E Ad E E 105 VIINOBDXTBOBUN ERE 41 9 NM LER __ ple ne B ond EL ORR Po Dee CONV Ba y spod uoneoiunululoo ZEzZSHy 2 2 OY i Old 2 SNOW XAY utd 00 pue 79 ned syoddns 2 ra Ei Ts 74 OIIE coer EE On sjndur 158 Joy oAuO9 eal Ww I tia 22228 _ ANON 0S SWIN 4 034 5 de qu LP LJ ee 02 gsn eldixejy 5 wd 13534 ZI gi Qo oO d ASN 55914 uoyng usnd Aue uo Suid JO 5 Jo Bunoejes 10 Jeduunf ese 91215 MO Jo ybiy suid suoyjnq usng 1050 5037 y 40 J01289uu02 0 CIS OININ Ajddns Jamod gsn JO DunoeJes Jeduunf Od OV AQ 018 JO Ajddns SOFTWARE AND HARDWARE SOLUTIONS FOR
3. fre 5 MANUAL e L Figure 21 illustrates the connection between push buttons and the corresponding PORTC 40 PORTA and PORTF pins Jumper J12 determines whether a button press will bring logic zero 0 or logic one 1 to the appropriate pin o When button is released the pin state is determined by pull up or pull down resistors Referring to Figure 21 J12 is connected to 5V and any button press will therefore bring logic one 1 to the appropriate pin Figure 21 Push button circuit diagram PUSHBUTTON ATMEGA128 Reset 22 N 3 I N E 5V while button is OV while button is pressed pressed SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika MANUAL Referring to figure 22 jumper J3 is set to pull up position so that pull up resis r H tor pulls the microcontroller 243 45 E pag pin PC2 pin to 45V By 4 pressing the button the 2 37 22 pin will be connected to 9 ground via 112 pao H 38 E pull up PC2 Accordingly only when the 9 pao vec button is pressed the micro controller senses a logic zero 312 0 Otherwise the pin state ine will always be logic one 1 TOSC2 PG3 18 TOSC1 PG4 19 Figure 22 pull up position Reset gt gt N 9 N 5 PUSH BUTTONS S Referring to Figure 23 229 jumper 13 is set
4. 26 Oo RS232 CON ET CONNECT Receive 55 MCU TO PC data Rx SERIAL 5 ao connect prog og 1 EX prog og 1 RS232 A CN25 SUB D 9p NI D X e _ ATMEGA128 53 IN cs lt Zz ain N o RS 232A TOSC2 PG3 TOSC1 PG4 RS 232 B MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S eTeInIoofeTo nyeYofeTo nyejojo A D CONVERTER TEST INPUTS The BIGAVR2 development board has two potentiometers for demonstrating the operation of analog to digital converter ADC Both potentiometers outputs in the range of 0 5V 9 These analog signals can be connected to two different analog input pins at the same thime Jumper group J18 enables connection between potentiometer P1 and one of the following pins PFO PF1 PF2 PF3 or PF4 Jumper group J19 enables connection between potentiome ter P2 and one of the following pins PF1 PF2 PF4 or PFS NO CONVERTER 15 SOFTWAR AMD HARDWARE SOLUTIONS WORLD cu L_ _ ___ 21 72 75 A D converter inputs In order to measure analog signal without interference it is necessary to turn off the corre sponding switch of the SW4 This disables connection between PORTF pins and pull up down resistors A
5. R RN2 3 RN2 IRN24 id PL3 OG e 5 PES PF 5 pes PJS PKS PLS S 2 SN 2 PL6 4 52 2 e YO RN22RN23 PL On board LEDs 19 0 Light Emitting Diodes LEDs components most commonly used for displaying pins dig S W development system is capable of monitoring the state of eleven MCU ports Each of these ports 16 connected to eight LEDs which can be enabled or disabled using switches of the switch group SW1 The only exception is port connected to six LEDs LEDs are enabled when the corresponding switch of the SW1 is ON When enabled LEDs display the state of the corresponding microcontroller pin Otherwise the LEDs are always off no matter what the port state 1s as no current can flow through them SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika MANUAL IG Figure 17 illustrates the connection between PORTF pins and the corresponding LEDs A resistor is serially connected to LEDs in order to limit their current In this very case the resis 2 tor value is IK a W LEDs circuit diagram 000 q u ee 222 5 LED i 7 PORTKIL LED A RPACK8 9 8x1K 128 0 O Q Q O x 0 0 Q9 Q8 lt lt QI QI OQ
6. Note There is no need to reset MCU after programming because the programmer will reset the MCU automatically MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD There are two different groups of AVR MCUs 64 100 pin microcontrollers The first group Default uses jumper groups J20 and J21 for programming PDI PEO pin PDO PEI pin and SCK 1 pin See Figure 11 Another group uses SPI communication lines for programming MOSI PB2 pin MISO PB3 pin and SCK PBIpin See Figure 12 USER S X e J20 Figure 11 x PEO PE1 and PB1 used as programming lines g LE is p PRUGRAITING J21 Default for 64 pin MCUs 45 SELECTION E joo PB2 PB3 and 1 used as programming lines J21 for 100 pin MCUs PR LNG PINS SELECTION ON BOARD USB 2 0 PROGRAMMER SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S 4 MANUAL OSCILLATOR The BIGAVR2 development board has on board oscillator circuit for generating microcon troller s clock input and crystal oscillator placed on MCU Card as well The AVRFlash pro grammer enables you to choose between internal RC oscillator external clock or internal crystal osci
7. The products of MikroElektronika are 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 LICENSE AGREEMENT By using our products you agree to be bound by all terms of this agreement Copyright by MikroElektronika 2003 2008 PIC PlCmicro and MPLAB are registered trademarks of Microchip Company Windows is a registered trademark of Microsoft Corporation All other trade and or service marks are the property of the respective owners CONTENTS cc Q EN Q Q gt ac BIGAVR2 KEY FEATURES 4 ys CONNECTING THE SYSTEM 5 2 INTRODUCTION 6 gt Switches 7 Lu Jumpers 8 MCU Sockets 9 Power Supply 11 ac On board USB 2 0 Programmer 12 Oscillator 14 a LEDs 15 Reset Circuit 17 L Push buttons 18 lt 2x16 Character LCD 21 Graphic LCD 22 Touch Panel 23 a RS 232 Communication 24 A D Converter Test Inputs 2 D
8. OMikroklektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD waking it si plea s 4 O00000 SSe E 9290910191 e OO With useful implemented peripherals plentiful practical code examples and a broad set of add on boards Serial Ethernet Compact Flash MMC SD etc MikroElektronika development boards make fast and reliable tools that can satisfy the needs of experienced engineers and beginners alike USB GRAPHIC LCD CONNECTOR IN CIRCUIT TOUCH PROGRAMMER SCREEN TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and having confidence in MikroElektronika It is our intention to provide you with the best quality products Furthermore we will continue to improve our performance to better suit your needs Nebojsa Matic General Manager DISCLAIMER All products owned protected by copyright law international copyright treaty Therefore you should treat this manual as any other copyright material The manual and products may not be copied partially or as a whole without written consent of MikroElektronika Manual PDF edition printed private local use but for distribution Modifying manuals products is prohibited HIGH RISK ACTIVITIES
9. QI N DOM 0 LI LI LI LI LI LI LI LI LI LI LI LI LI LI LI L FIO T sto O N 586 8 219 21582 5 2i 2 4 gt gt N RQ S ca EQ m PORTA PORTB N Ma lt PORTC Ma Ma PORTE 91 Mas 5 m PORTH J Was PORTK L 22999999 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD RESET CIRCUIT Jy In addition to other push buttons there is one red button on the far left portion of boad A marked as RESET It is used for MCU reset RESET 1 Reset button As seen in figure below the microcontroller MCLR pin is connected to programmer circuit instead of being directly connected to RESET button 8 ATMEGA128 10 x AVRFlash I 113 On Board USB 14 100n Reset TOSC2 PG3 18 TOSC1 PG4 19 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S 4 MANUAL PUSH BUTTONS BIGAVR2 has 86 push buttons used to change the state of digital inputs on the microcontroller ports There is also one RED push button which acts as a RESET PUSH BUTTONS Figure 20 Push buttons MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S
10. of pins on any push button press RESET push button Each I O pin corresponds to LED On board clock oscillator LCD display contrast potentiometer ___ lp Aeon A roy S cal ij me JA NL EL NM 48 1j at pes a LCD TID 3 seen Um tt titel n Kx 103 PORTANT MART BRE PLACE NA 2 2 OPI PCAC Met OWO PORI LIOS MMC SD MULTIMEDIA CARD reader A D converter test inputs Touch panel controller PS 2 keyboard communication port RS232 communication port GLCD display contrast potentiometer Touch panel connector GLCD connector LCD connector On board reference voltage 4 096V JTAG connector SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD NM egei ET Rm PORTA PORTE PORTD PORTC 53258 18388 ARTA PORTO PORTH PORT I PORTK La 222 T3131 222277 CONNECTING THE SYSTEM USER S X e Apart from this manual the development system box contains development system product CD USB cable RS232 cable and user s manuals for AVRflash programmer mikroICD Debug ger and Installing USB drivers In order
11. the debugger can pull the RESET pin low in order to reset the whole system The interface 15 accessed through the four microcontroller pins TCK Test Clock Test Data Out 25 TMS Test Mode Select TDI Test Data In x JTAG CONNECTOR 79 GND o HEADER 5x2 128 Pcs o ONA TOSC2 PG3 418 TOSC1 PG4 19 Figure 42 JTAG circuit diagram aD connection MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S fre o MMC SD MULTIMEDIA CARD MMC card is used as a storage media for a portable devices from which it can be easily removed to enable data transfer to a PC For example a digital camera uses MMC card for storing 1mage files Data can be easily transferred from MMC card to a PC using MMC read er Modern computers laptops and desktops usually have card readers with SD slots for read ing MMC cards Microcontroller on the BIGAVR2 development board communicates with MMC card via SPI communication In order to enable MMC card it 1s necessary to select and turn on switches 5 6 7 8 of the switch group SW2 The BIGAVR2 power supply voltage is 5V DC whereas the MMC card power sup ply voltage 1s 3 3V DC Because of that there is an on board voltage regulator MC33269DT 3 3 For the same reason voltage level on data lines connecting the microcontrol
12. to other peripherals such as RS 232 communication Precise Voltage Reference LCD etc which depends on MCU internal peripheral organization MCU CARD Figure 6 System connection ATMEGA128 s TOSC2 PG3 18 TOSC1 PG4 19 Reset 22 5 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD POWER SUPPLY 414 BIGAVR2 use on of two power supply sources PC power supply over USB cable by S default and external power supply external AC DC power adapter When using power sup 9 a ply over USB the system should be connected to PC using the USB programming cable 5 while the jumper J14 should be set right hand position u E When using external power supply the BIGAVR2 board produces 5 using LM7805 voltage regulator 5 The external power supply can be AC or DC while power supply voltage ranges from 8V to 16V The jumper J14 should be set in left hand position Figure 8 55 illustrates USB and external power supply connectors Power supply connector OFF ON POWER SUPPLY SWITCH C gt SYSTEM 220uF REG1 CN24 8 16V AC DC J14 CN18 5V 1 5V D USB m E1 C2 J14 is set to USB power supply POWER SUPPLY vv SUPPLY SELECT SUPPLY SELECT EXT 058 J14 in left hand position system is powered from external AC DC power adap
13. to pull down u nnuanaaunnananaianac t s99592925893992529 position so that pull down 4 resistor pulls the microcon 2243 pin troller pin PC2 to 0V By 99 Bu 5 H6 p PC7 pressing the button the PC2 22 acs pin will be connected to 5 249 sop via J12 oa 12 37 1 4 H13 m PCO PBs 4 14 dm PG1 PC2 Accordingly only when the s OQ cO st 10 OR O oes button is pressed the micro controller senses a logic one PEE gts tke hes 0 5V while pressed 1 Otherwise the pin state X 1 will always be logic zero 0 A a 22pF 22 c gt pull down position MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD TNX 2X16 CHARACTER LCD IN 4 BIT MODE component It normally can display mes sages in two lines each containing up to 16 alphanumeric characters Characters are made up of 5x8 pixels The character LCD communicates with the microcon troller via 4 bit data bus Connecting to the microcontroller is shown in figure 25 Contrast Adjustment Tr OWN s Hs n un P4 10K ATMEGA128 lo FT N TOSC2 PG3 18 TOSC1 PG4 19 EIZA 2x16 LCD circuit diagram 4 Note It i
14. D converter has a wide range of applications The microcontroller takes analog signal from its input pin and converts it into digital value Basically it is possible to measure any analog signal that fits in the range acceptable by the microcontroller In case of AVR that range 15 0 SV SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika MANUAL Pull up down resistors on PORTF analog input pins should be disabled using the SW4 4 e X d a REFERENCE l I 84 AD CONVERTER 1 10 0 5V ATMEGA128 PCS PBO 4 1 PC3 Telly A D Converter circuit diagram 9 9 PB3 1 4 PCO PB5 PG1 PB6 PGO CN cO sF 1O F 0 OTN v v CN CN CN CN CN CN CO LI LI LI LI LI LI Li LI LI LI LI LI LI LI LI Li OY 85H x o e x1 10MH A 0 M C1 G2 0 9 22 22 NOTE Jumpers J18 J19 should not connect pins with the same labelat the same time MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD DIRECT PORT ACCESS All the microcontroller input output pins can be accessed via 10 pin connectors 2x5 placed along the right side of the board For each microcontroller port there 1 one connector provi
15. EMBEDDED WORLD L mr No part of this manual including the product and software described in it may be reproduced transmitted transcribed stored in a retrieval system or translated into any language in any form or by any means excepting the documentation kept by the purchaser for backup purposes without expressed written permission of MikroElektronika company Product warranty or service will not be extended if the product is repaired modified or altered unless such repair modification alteration is authorized writing MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limiting to implied warranties or conditions of merchantability or fitness for a particular purpose In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages whatsoever including damages for loss of business profits and business information business interruption or any other pecuniary loss arising from any defect or error in this manual or product even if MikroElektronika has been advised of the possibility of such damages Specification and information contained in this manual are furnished for internal use only and are subject to change at any time without notice and should be construed as a commitment by MikroElektronika MikroE
16. I LT LIT x FLO alalle Ok eS eee 6 oof no o x1 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S PS 2 KEYBOARD CONNECTOR 44 PS 2 connector allows direct connection between BigAVR2 and devices that use PS 2 communication such as PC keyboard or mouse For example the microcontroller can be connected to a key board to capture pressed keys or to a PC to act as a keyboard CLK and DATA lines are used for data transfer In this case they should be connected to pins and PCO respectively page J15 and J16 are in default position OFF Connect them in order to use PS 2 connector PS 2 connector KEYBOARD Figure 41 PS 2 circuit diagram vec vec 1229 2 KEYBOARD CONNECTION R26 R25 pa PS2 10K CONNECTOR NC CLK dem a T J15 ATMEGA128 uc STA SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USERS MANUAL JTAG CONNECTOR 53 IN page JTAG connector can be used as a serial programming interface or as a part of on chip debug 9 ger JTAG connector pin marked as nSRST 15 directly connected to the RESET push button In that way on chip debugger is able to use the RESET push button as external reset source Additionally
17. R EMBEDDED WORLD MCU CARD BIGAVR2 is delivered with the 64 pin microcontroller ATmegal28 The user can remove MCU card with this chip and fit another MCU card with another microcontroller such as ATmegal280 100 pins UN 4 V 4 5 4 2 N Yl MCU CARD When placing MCU card on the BIGAVR2 MCU socket it is necessary to follow steps below Step no 1 If MCU is already placed on BIGAVR2 you should remove it by slowly pulling it up Step no 2 Place another MCU card on the board Note that label on the MCU card must be in the upper left corner as it is drawn on the BIGAVR2 board Step no 3 When the MCU card is properly placed push it down by apply ing pressure on all edges at the same time SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S 4 MANUAL Microcontroller pins are routed to various peripherals as illustrated in figure 6 All the MCU ports are directly connected to 2x5 direct port access connectors placed on the right side of the board Such connectors are normally used for connecting external peripherals to the board or for digital logic probes for testing and measurement All the ports are also connected to LEDs and push button which allows easy monitoring and testing digital pin state Some pins are connected
18. UNICATION 5232 connector In order to provide even more flexible system the microcontroller is connected to two MAX232 chips through switches of the SW3 First two switches 1 and 2 are used to con nect MCU pins PEO and 1 to the RS232 A port via Rx and Tx lines respectively Other two switches 5 and 6 are used to connect MCU pins PD2 and PD3 to the RS232 B port through Rx and Tx lines respectively Both RS232 ports have RTS and CTS lines 3 and 4 on RS232 A and 7 and 8 on RS232 B for implementing hardware handshaking MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Connection between microcontroller and PC through the RS 232A RS232 CON Receive data Rx esi ak it ute i MCU TO PC pg uw gt CABLE 1 4 d Send PC TO MCU ul Data Tx RS232 A 128 o TOSC2 PG3 18 TOSC1 PG4 19 RS 232A Reset gt gt N T H N RS 232B mila peo ml pej PBS PD2 o PB6 T a 52 i i MI n co SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika page COMMUNICATION MANUAL
19. W2 is used to enable disable touch panel MMC card reader Switch group SW3 is used to enable disable RS232 communication Switch group SW4 is used to enable disable external pull up pull down resistors on PORTF pins Each pull up pull down resistor 15 individually enabled Switches 1 2 3 and 4 are ON other switches are OFF gt Switchis ON 9 Group of 8 switches lt Switchis OFF 9 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika 2 USER S MANUAL JUMPERS Jumpers like switches are used to break or establish connection between two points Under the plastic cover of a jumper there 15 a metal contact which establishes connection when the jumper is placed over two pins JUMPERS ap Jumper is ON tom3 e Jumper is OFF to o Jumper as switch Jumpers are commonly used as selectors between two possible connections via 3 pin connec tor As illustrated in figure 4 the middle connector pin can be connected to the left or right pin depending on the jumper s position mr mr ue Jumper is not placed and Jumper is placed on the left side Jumper is placed on the right side middle pin is unconnected connecting middle and left pin connecting middle and right pin Figure 4 Jumper as a multiplexer MikroElektroniKa software AND HARDWARE SOLUTIONS FO
20. d ing eight port pins for data transfer and two additional pins connected to VCC and GND Figure 36 Direct port access connectors These connectors can be used to connect the system to external devices such as Serial Ethernet Compact Flash DAC CAN RTC RS 485 etc In case on board and external peripherals use the same pins then on board peripherals must be disconnected from the microcontroller by setting the appropriate jumpers The connectors can also used for attaching logic probes or other test equipment ta pins 9 ping SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika M ACCESS OLR aC lt bL MANUAL VCC Pull up line is connected T Pull down line All lines PA1 8 PAO 9 8x10K vccQ o 0 on 8 bn BS 48 is connected are disconnected DIRECT PORT ACCESS Y p qim qo x RE EUR 11 x iin 43H PC 4 5 17 PC7 PE6 1 AB PC6 do ATMEGA128 4o b e PBO PC4 s 10 HEADER 5 2 15 PB6 PGO Fi 38 eee ee 2 igure PORTA circuit diagram TTA ON CN CN LILILILILI LI LIT LI LI LIT L
21. installed and ready for use You can read a program from the chip or write a new one into it The product CD provides numerous sim ple program examples which will make your first steps Easy SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika NURODWUG TION INTRODUCTION The BIGAVR2 development system is a full featured development board for Atmel AVR microcontrollers It is designed to allow students and engineers to easily test and explore the capabilities of these AVR microcontrollers In addition it allows AVR microcontrollers to be interfaced with external circuits and a broad range of peripheral devices The user can there fore concentrate on software development only Figure 1 illustrates the development board There are identification marks beside each com ponent on a silkscreen both on the top and bottom These marks describe connections to the microcontroller operation modes and provide additional useful information Since all rele vant information is provided on the board there is almost no need for additional schematics PORTA a PORTB 3 B 83828 8888 93228 PORTC Hikroklektronika testina m PORTO Bn s COT EU RUP LIP TIC TERT 85888 842143 89 08
22. irect Port Access 29 PS 2 Communication 31 JTAG 32 MMC SD Memory Card 33 E3 MikroElektronika amp E Y K 31016 D D ON gt LY y A y wu ff A BIGAVR2 KEY FEATURES 10 11 12 13 14 15 MikroElektronika External power supply of 8v to 16v AC DC Selectable external and USB power supply When using USB port there is no need for external power supply Power on off switch USB connector Very fast and flexible on board USB programmer By downloading a new soft ware it will be possible to program new in com ing years MCU card supports 64 pin microcontrollers such as ATmega128 and 100 pin microcontrollers such as ATmega1280 Direct port access connec tor p Acn GS He am gt rl gt 9 AD 4 2 Lone gt gt gt ww Y w 2 004 Jumpers to determine input pin performance in idle state connected to pull up or pull down resistor Switch group SW4 enabling pull up pull down resistors on port pins 86 push buttons allowing control of all the microcontroller pins Jumper to select high or low state
23. lektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in this manual including the product and software described in it Product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are used only for identification or explanation and to the owners benefit with no intent to infringe w e a w JOL e ad ua z m pm E e EX e e ua w a WX UD WD ec e f LJ Sn 13 jeuonippe NOK JO sjonpoud sno Aue J pew 5 1221002 aseajd Jesodoud ssauisng e uonsanb Aue JI m s yc 9 5 7105 JYVMGYVH ANY 1405 U4IU01119130 MINEL
24. ler to MMC card must be limited to 3 3V It is done by means of resistor voltage dividers as shown in Figure 44 21156 77 MMC SD circuit diagram SPI SDI SPI SDO HI Er MMC SD MEMORY CARD Fi Sa cise CARD MMC SD MULTIMEDIA CARD page MMC SDI 128 M ortven T LORTVER 3 501 500 CS o wm Lm PFO SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika jsejuoo 0219 jnd dn jnd JO uoneoiunuJ 26254 EMS iind Burqeue Y U9yMS CIS OININ pue joued yono 10 CMS HAV uo 37 440 JO JO LMS oouoJ9JoJ JOA 960 1 uoo 1 TE Le ons USUS ER B w os E m E 1 20008 82803 HIN 4 Joj2euuoo Od Dig 11323 d m 4 TE Li iA G a dm a i tg aor 4 F H odl urs 4311445 1809 21808 91309
25. llator By means of jumper J1 placed on MCU Card it is possible to choose clock source to drive MCU external or internal crystal oscillator lean Ca ipe OSCILLATOR 2 TRU ra DA 4 3 a bd hd gt 12 473 j 5 amp I1 On board oscillator c Ju S dI PE MCU Oscillator lt Figure 15 Oscillator circuit diagram PEO H1 4H 4 1 H2 arp PA5 C PE2 7 5 PA7 PE4 PG2 PES PEG PC6 18 41 LI eer E ATMEGA128 abes 74HC04 PBO m PB1 PC3 PB2 H1 2 PB3 12 at 1 13 36 Q g 14 asH OSCILLATOR PBS 15 id PB6 PGO 000 OQ sf 10 O 33 QI QI QI YO lt 4 BE o x FLO alsirie 5 s OR 99 m gt 1 10MHz me MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD LEDs ital state BIGAVR2 has 86 LEDs connected to the microcontroller ports PORTA PORTB PORTC PORTD PORTE PORTF PORTG PORTH PORTJ PORTK and PORTL 94 e 4 1 6 M X
26. parent panel that could be placed over screen of graphic LCD It consists of two separate foils which form sandwich structure They are very 9 sensitive to press so that even a soft touch causes some changes on output signal It is used in various user friendly devices in combination with graphic LCD Connector CN12 enables this device to be connected to on board touch panel controller whose active part consists of 5 dis crete transistors Four switches of the SW2 enable or disable connection between this con troller and PFO PF1 PG3 and PG4 pins ff Se t PT e B TOUGH PANEL ATMEGA128 TOUCHPANEL CONTROLLER TOSC2 PG3 TOSC1 PG4 Reset 22 S S 4 Note It is very important to bear in mind that touch panel should be placed on or removed from the BIGAVR2 development board only after the power supply 15 switched off Otherwise it could be permanently damaged SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S MANUAL 24 RS 232 COMMUNICATION RS 232 communication enables point to point data transfer It is commonly used in data acquisition applications to transfer data between the microcontroller and PC Since the volt age levels of the microcontroller and PC are not directly compatible with those of RS 232 a level transition buffer such as MAX232 must be used page RS 282 COMM
27. s very important to bear in mind that LCD should be placed on or removed from the BIGAVR2 development board only after the power supply 15 switched off Otherwise it could be permanently damaged MikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD o 2224 9 GHARACTER LCD IN MODE X USERS E i MANUAL GRAPHIC LCD A graphic LCD GLCD provides an advanced method for displaying visual messages While a L character LCD can display only alphanumeric characters GLCD can be used to display mes 6 sages in the form of drawings and bitmaps The ji Sa most commonly used graphic LCD has 128x64 rese pixels screen resolution The GLCD contrast can be adjusted using the potentiometer P3 ua i placed right above the touch panel controller aco i CONTRAST i See 3 3 GRAPHIC LGD 5 Contrast BACKLIGHT 50 51 28 3 Su 55 56 57 ATMEGA128 Lu 4 Note It is very important to bear in mind that GLCD should be placed on or removed from the BIGAVR2 development board only after the power supply 1 switched off Other wise it could be permanently damaged MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD o SERS NE TOUCH PANEL Touch panel is a thin self adhesive trans
28. ter SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD EXT USB J14 in right hand position system is powered from PC via USB cable MikroElektronika USER S 4 MANUAL ON BOARD USB 2 0 PROGRAMMER There is no need to use external equipment during programming as the BIGAVR2 nne development system has its own on board POWER USB LINK USB 2 0 programmer It is only needed to connect system to PC using the USB cable Then the program should be loaded into the microcontroller using the AVRflash programming software supplied with 224 T Hs BIGAVR2 E oO Please refer to AVRflash documentation for ME more information Figure 10 Programmer circuit diagram ON BOARD USB 2 0 PROGRAMMER PEN vec PA4 PEO 2 47 te PE1 3 46 S USB LINK 52 15 AA B PE4 6 43 x 42 PEC ai U3 D E ATMEGA128 PBO 4 nc 10 39 ie i 5 Ped 20 PB2 12 37 1 PES 13 36 P ji 35 A J21 CN PB5 15 34 A A PB6 or VCC TTT ON CN N N CN CN NANN a U FILO OLNI G No sx 0 ORK e 3 27 O O 1 USB CONN TO PERIPHERALS ON DEVELOPMENT BOARD
29. to use BIGAVR2 properly it is necessary to go through the following steps page Step no 1 Take the development system and product CD out of the box Insert the product CD into CD drive Please do not connect the development system to a PC yet Step no 2 Install AVRflash programmer software to enable a program to be transferred from PC to the microcontroller chip Installation instructions are contained in AVRflash programmer manual Step no 3 Install USB drivers on your PC to enable programmer s hardware to ope rate properly on BIGAVR2 board For detailed installation instructions refer to Installing USB drivers manual Step no 4 Connect BIGAVR2 to PC using USB cable Please use one of USB ports on the back of the PC because they are directly connected to the computer motherboard The first time you switch the BIGAVR2 on your PC will automatically detect a new hardware You will be immediately prompted whether Win dows should search for new drivers update or not Select the option No not this time and click Nex Another window appears click Next and the operating system will automatically find the drivers Click Finish to com plete this process and run AVRflash as explained in AVRflash programmer manual Next time you switch the BIFGAVR2 on Windows will not ask for new drivers update during driver installation THE SYS SUMI After these four steps your BIGAVR2 is successfully
Download Pdf Manuals
Related Search
Related Contents
Mod: PLANCHA/3-N submersible pumps, motors and downhole sensors TAFCO WINDOWS NU2-341V-W Installation Guide DIVISION OF LIBRARY SERVICES EndNote X7 Mac User Manual Copyright © All rights reserved.
Failed to retrieve file