Home

EN EasyAVR M1280 SK说明书

image

Contents

1. LCD 12864 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com 83 pod EU EE E ruido e eg Www avrvI com 7 14 Crystal oscillator and reset AVR Microcontroller own internal RC clock but in order to assure communication s accuracy such as RS232 communication often using an external crystal oscillator the development board designed with regular crystal interface and the active crystal interface the default plug a 7 3728M crystal if needed the customers can solder their own active crystal Standard RC reset circuit reset with buttons down reset pin voltage When used to the reset circuit please shorted the jumper J17 Reset NE 10K RST EE J17 D luF Crystal 22pF 22pF pa SE VCC J1 t 7 3728 F GND d Osc O 7 Oscillator amp RTS P ce Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 2X9 0086 531 62327572 www avrvi com AVR AND Vial Instruments WWW avrvi com 7 15 4X4 Keyboard EasyAVR M1280 SK user guide Key is the most basic human input interface commonly used to switch funtion in equipment EasyAVR M1280 is designed 4X4 Keyboard connected to the PJ port by jumper J24 PJ7 Or QC st 10 DOTE e ScasoOO000Zzzzzzxz
2. Page TT g Easy Electronic Technology Co Ltd Jinan Shandong China ps asyAvn pO 0086 531 62327572 www avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide e g www avrvi com 6 Use on board AV RISP MKII for program P a Note that the following steps in the basis of the drives installed already driver installation please see Part IV 6 1 Connect hardware Use USB cable connect EasyAVR to computer use power to supply the board as shown Note that keep the DIP SW3 1 4 Off and 34 Off After power SW3 1 4 On 6 2 Use AVRstudio ISP download Open AVR studio interface click on the following map icon or point the menu Tools gt Program AVR gt Connect AVR Studio Fie Project Build View Tool Debug Help D g X Bn E Rb no n T ee ee oe Trace Disabled D Of JP LT d Jun ME e Se am UO View Hame Y Bits II NI ITU Ti III Select AVRISP MKII COM port you are connected to the port shown above after install the driver or Auto and then click Connect select AVR Programmer Eg Platform Fort STK500 ar AVRISP JT AI ICE WITAGICE mkl S AVRISP mkll ance AVR Dragon STKEBDD Baud rate Tip To auta connect to the programmer used last time press the Programmer button an the toolbar Baud rate changes are oles a amp clive immediately Note that a tool cannot be used for programming as long as itis connecte
3. Microcontroller embedded systemexpert Professional virtual instrument solutions Embedded Systems Career EasyAVR F EasyAVR start sides siii M1280 user s Manual Hardware version V1 2 Manual version V1 0 wi B B E za z i QU IO pires A 5 T LLELE 1H LR HII RN B VZSRESESERTES ES NSNSTICESE E E I tZ qup ER mn HE TT ELLELE FEELT GCE LED EL O E R DO RN LUS n LED Te AVRVI professionally provide AVR MCU learning and development tools AVR development board AVR emulator AVR programmer AVR experiment box DAQ card video superposition module etc Also we can E customized service VW aVT welcome for your presence TEL 400 676 6996 ue ES Wth useful implemented peripherals plentiful pratical code VD examples and a board set of additional add on boards USB1 1 RS 232 gt VE PS 2 keyboard LED 4X4 Keyboard ADC DAC CAN etc Devel opment Programmer LT boardintegrates AVRISP MKII programmer you do not have to purchase additional programmer P ad Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR d 0086 531 62327572 www avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide www avrvi com Contents EE 3 cke Eeer 3 1 Tn nt le E E A EEEE EEE EE E T E E E E 3 lo Onboard resource RUE EE 3 LA System requirements OTT TO OT OU 4 Ne PAM Ne OP LOE ACC ERNEUT PT
4. Lad ZO OI ES Or EK Ci E dEr e C T BELLL EL PIES EL Ea Cae eae es ea ED eo oD es ES TES e 5o Ji 5 nnd e dium d X3 CN5 CN6 MCU PIN P De Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 WWW avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 25 External programming interfaces This product is equipped with a standard JT AG and ISP programming interface Block CN15 and CN16 when used please connect PC and develepment board use the programmer To ensure the programmer quality we recommend using our company s programmers PFA ADCA TCK ATmega1280 uuu DU 2 DICK 3 B3 MISO DU DUD DI Se E JTAG ISP EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com AO AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 26 PS 2 Keyboard connector The PS 2 connector allows direct connection between EasyAVR and devices that use PS 2 communication such as PC keyboard or mouse For example the microcontroller can be connected to a keyboard to capture pressed kers or it can be connected to a PC to act as a keyboard CLK and DATA lines are used for data tansfer In this case they are conneted to pins
5. LKCK LIE PK3 orworonoro OF WOO VOC ZERSSO00000 ZOLOOOO EE Sanoannau tonn 235250595 Liriano sss EE ZER Eelere ee ER E mi J DN Li mm pa 7 I EIL we Le 7 SEGMENT LED mer T SEGMENT LED P ii Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 25 0086 531 62327572 www avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 11 8 separate LED LED is the most common human machine display device used to indicate a variety of states eight LED through the jumper J11 connect to Atmegal280 PH port and through current limiting resistor connect to DIP switch LED EN to control whether to connect to GND Need to use the LED Shorted jumper J11 and On SW1 LED EN EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com 6 AV R AND Virtual Instruments EasyAVR M1280 SK user guide e g www avrvi com 7 12 1602 LCD interface LCD is very commonly used in display device contains graphic LCD and character LCD common are 1602 character LCD and 12864 graphic LCD EasyAVR left standard LCD interface can be directly inserted 1602 or 12864 LCD and is equipped with the appropriate examples 1602 only 16 pins Plug in close to the pin 1 side Shorted jumper J12 and J13 and the DIP switch SW2 123 to On when use 1602 at the same time RV4 adjusted to a minimum Potentiometer RV4 used to
6. Calendar clock DS1337 7 segment LED display display the results TC1047A TC1047A test temperature 7 segment LED display display the results TC72 TC72 test temperature 7 segment LED display display the results SPI P be Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 WWW avrvi com E E EE Ke ide e eg WWW avrvi com Using SPI drive SPI device 74HC 595 to achieve display of 7 segment LED display Using SPI drive SPI device TC72 Read temperature value and by using 7 segment LED display Using SPI drive SPI device MCP4922 To achieve digital analog converter and output continuous voltage TWI Using TWI drive TWI device 24C01 Using TWI drive TWI device DS1337 24C01 24C01 read and write look at the results of the use of JTAG DS1337 Calendar clock DS1337 7 segment LED display time display DS1337 timing LED blink once when the time is 10s DS1337 output the 32 768 KHZ as the clock souce of 74HC4060 ST7920 CLCD128 64 ST7920 drived LCD128 64 serial mode display 4X4 keyboard Using numerical code tube display the value for the button is pressed 74HCOO debounce circuitry 74HC00 debounce circuit press KEY1 or KEY2 the corresponding LED flashes once MCP4922 Using SPI drive SPI device MCP4922 To achieve digital analog converter and output continuous voltage CAN Data exchange between the two CAN devices PS 2 Keyboard connector U
7. PE7 and PKI respectively Please shorting the jumper J1 when use PS 2 YCC I i INE CH YCC Clock AC PE LILI Td J1 NC DATA PS 2 CONNECTOR P 14 Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 WWW avrvi com AVR AND Virtual Instruments EasyAVR M1280 SK user guide T M 4 Www avrvI com 8 Material resources 8 1 CD content VR vi AVR AVRVi AVR E OAVR dudit f PNE P Nt appe AVR CHENREMATR AVR http www avrvi com 0531 80870158 0531 80879869 File list Description 1 CD ROM description txt 2 democode readme txt How to get start and the copyright statement 3 AVR books AVR MCU e book 4 AVR teach Original AVR MCU Tutorial 5 Datasheet EasyAVR M1280 SK matched devices manual EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page A2 0086 531 62327572 WWW avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 6 Democode Development board supporting routines and description 7 protel libs protel Package Library 8 Schematics Development board schematics and jumper configuration pictures 9 Software Development softwa
8. c ART See xHg s d He HW ETF 4 2 USB1 1 driver Installation The development board using most stability and most expensive USB serial chip FT232 driver install in two ways 1 Use the driver ftdi ft232 drive exe double click the installation and then insert the device take note development board need additional power supply from USB cable or core board then automatically complete the installation 2 Plug in equipment according to the wizard select the INF file search for the installation need to install twice Drivers can be downloaded from the company s Web site and also be obtained from the CD ROM After installation is complete you can find the device in the Device Manager as shown in the COMA in the following picture if you installed other drivers it may appear different it will be OK as long as the COM port can be displayed normally Note if the port number is not COMA or less please change to COM4 within Page 0 Easy Electronic Technology Co Ltd Jinan Shandong Chi na 0086 531 62327572 WWW avrvi com d EasyAVR On board programmer AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com Si XD REW SEW SOU Spa e amp im i eem EH ES PC 12162214 DVD CD ROM id H IDE ATA ATAPI ES i Junge eh PAU
9. adjust the contrast please read LCD data sheet carefully part of the LCD can not adjust the contrast can not shorted SW1 3 otherwise it will burn LCD ke um P P AP OS d EI L Fe EmryAVR MLZGBO XMELGA ns Lia ANEN Cem WE VCC RV4 LCD contrast it LCD1602 LCD 1602 P 27 Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com E E M SO EE e eg WWW avrvi com 7 13 12864 LCD interface EasyAVR left standard LCD interface can be directly inserted 1602 or 12864 LCD and is equipped with the appropriate examples Use 12864 exactly 20 feet one on one connection Shorted jumper J12 and J13 and SW2 12 On when use 12864 at the same time RV4 adjusted to maxim um The first leg is used to connect SW2 potentiometer RV4 to adjust contrast please read LCD data sheet carefully part of the LCD can not adjust the contrast then can not shorten otherwise it will burn LCD RV4 LCD contrast
10. and medium sized electronic product design The development board will be separate from the base board and core board Core board can be easily replaced by other chip core board such as ATMEGA2560 ATMEGA640 ATXMEGA128A1 a Note Please correct plug core board when used to avoid burn out the core board P h Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide ATmega1280 ATmega12980 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com ES AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com UE s pb E DR GO H m oo H H ma l F a D did HIT OTTO TT EEE GETT 12513422 P SC Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR llo 0086 531 62327572 www avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 4 USB1 1 Communication Interface FT232 is the most stable of the USB serial chip rate of USBI 1 adaptive USB2 0 interface the largest communications baud rate up to 115200 the development of the module used for both board USB1 1 programmer simulator and user s program communication through DIP SW4 7 8 to control S222 DEE S658555EkR5boO EES E ATmegal2
11. and turn DIP switch SW4 7 8 on the other off and default 153 4 on 2 3 System self test process 1 Insert CD into drive open the serial debugging assistant in Software directory You will see the following picture 1 a Note You will need to select correct serial port number to connect to development board P B Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 WWW avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 2 Maintain jumpers in default position use a serial cable to connect PC and development board COM port 3 Use board matched 9V power positive inside to supply the core board Diagram as follow 4 You can also use USB to complete the self test Use USB cable connect to the computer and pay attention to turn SW4 78 on the other off Once the power supply successful you can see the power indicator lighted and self test output from serial debugging assistant and of course at the same time you can see part of the operation status from on board LED and LED display EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com E E M SOS KU C Edo e eg WWW avrvi com 3 Configuration DIP switches and jumpers SWITCHES SWI SW2 SW3 SWA Switches 1 and 2 are ON and other switches are OFF Switch is ON GZ lt
12. 327572 www avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 9 Service and support Technical support AVRVi Website http www avrvi com http www avrvi net AVRVi Forum http bbs avrvi com AV RVi Shop http shop avrvi com Technical Support E mail support avrvi com Technical Support Online MSN avrvi homtail com Technical Support TEL 0086 531 62327572 Fax 0086 531 80879869 This product sevice whole of the country and can also contact the local office directly Access to technical support please provide the following information 1 Information of the purchaser 2 A detailed version of the software You are using you can see it in Help menu 3 A detailed description of the problem or failure Warranty terms 1 Time a month exchange one year warranty 2 Free Warranty proper use of quality issues arising under the free warranty 3 Charge Warranty Non proper use of quality problems arise in the context depending on the extent of damage to charge for the maintenance fee 4 If it has generated between the freight freight borne by the client side Thank you for choosing AVRVI products please carefully read the instructions before use Copyright This manual belongs to AVRVI company No part of this manual including the product and software described in it may be reproduced transmitted transcribed or translate into any other language in any form or
13. 5 Bb UMC e E EE 5 2 3 System self test e E 5 2 one uratron DIP switches and Da 7 Dre EE 9 4 1 Onboard AVRISP mKII programmer driver installation pe 9 4 2 USB lah Ormer Tee EEN 10 SN EN CIEL MET M il 12 DT e OL d m T 12 SEENEN 12 6 Use on board AV RISP MKII for pro Cain as E 14 GA Omiect Da E 14 ZS VS UU Ms FV Mh DEE 14 15 Ee e 16 F POWT D 16 14 9 98006 511250 CONS BOSE EE 17 7 4 USB1 1 Communication Interface Nt 20 1 9 RS232 se al communication i ort a E Saner anen TSART PRANE 21 WE 22 VNB Gc OG EN s T 23 7 6 UC Dus EEPROM Al EU er er neuk nra ainen an Naa n re a n Na E rre n aE NAER ien E ENEE 23 TD RE Passive TEE 24 110 7 Seome mt LEE DGS OIA m 25 DRM Sl E E CR EE 26 TAL OZE U DE RD 21 FN CR e LC e E 28 TAA ET ER E T TO DOT 29 Fh AOAC yO AME MT V 9 30 TAG 74HCO00 Hardware deDOunce citeit ye E ao NE n EAN ENEN RTENE EREE EIEEE ENES EENEN EE EERS EREET NEEN 31 e000 ace cosstenndea eas lscee eerste sa cantdaapeueeees 32 7 18 Analog Temperature Sensors TC1047A et 33 7 19 Digital Temperature Sensors T 72 cr sew endsenasnsavtseecdadeneaeaoaninedstaaresaveadereaaes 34 1 20 AD volt
14. 7 Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com Www avrvI com E E EE EE e eg 7 23 PWM output AVR chip has PWM function which is short for Pulse Width Modulation It is the use of digital output of the microprocessor to control analog circuits in a very effective technology widely used in from the measurement communica tions to power control and conversion and many areas EasyAVR connect Atmegal280 PWM pins PB7 to the external connector pins through J22 to control external devices very useful as illustrated 10K LOK PWM PB7 J22 s GND Di EE EE 4 CN1 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com Bie AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 24 100Pin MCU DIRECT PORT ACCESS All microcontroller input output pins can be accessed via connectors placed along the right and left side of the core board There have 2 groups each group have 50 pins To enable you can quickly view the pin number corresponding to the pin s name please refer to the part of 7 3 4 BB LU 000000000900 TC7TTETETTTTETIIIAMOII 522 RENI AN IE E L t f er die 7 TET MET EREKAKRRRA ERR Ki CS LIE OESCH O Ggs E E gn b ES ln m zem er T d ng k 7 INI SE CM OM tk BRE BME RES 0 d
15. 80 a M EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com 0 e EU EE ment ide e eg Www avrvI com 7 5 RS232 serial communication port RS232 is a standard communication interface if not RS232 communication not to say MCU the development board use the MAX232 as interface chip use two way It use jumpers J2 and J3 and SW4 to control 3 4 is on RS232 2 o 6is on RS232 1 RS232 TTXD0 RXDO RS232 2 TXD1 RXD1 J2 J3 connect 1 3 2 4 for different serial data line order P 4 Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com AV R AND Virtual Instruments WWW avrvi com EasyAVR M1280 SK user guide IP 7 6 74HC4060 Variable Frequence 74HC4060 chip frequency clock can be provided on the ATMEGA1280 ATMEGA1280 pin 9 output clock through its fuse bit CLKO enable output and the DS1337 output clock DS1337 output clock frequency can be set in frequency J6 the ATMEGA1280 output clock frequency inserted on the right is the DS1337 output clock jumper cap on the leftis choice frequency J5 is used to connect the sub frequency clock signal and the INT3 PD3 of MCU 1 16 1 32 1 64 1 128 1 256 1 512 1 2048 1 4096 1 8192 1 16384 PRESC INT3 Q12 Q13 Q14 Q6 Q5 Q7 I C
16. OF C45 DO k K NN SDA PD SCL PEZ INTB SQW SW2 J6 VCC Gio Q8 des 1204 I 11 10 O90POHPL C VCC J6 74HC4060 Clock Source select Left Select MCU Clock Right Select DS1337 Clock Variable Frequence EasyAVR On board programmer 0086 531 02327572 Easy Electronic Technology Co Ltd Jinan Shandong China Page www avrvi com D AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 7 Calendar clock DS1337 DS1337 connected to SDA and SCL bus of ATmegal280 through the TWI bus the bus has two pull up resistor SW2 45 to control on and off The crystal used for the DS1337 providing 32 768 Khz clock DS1337 can be used for accurate electronic clock designs Principles and connecting as following diagram DS1337 s INTA connection PD2 by jumper J 7 please shorted J7 when you use the INTA o VCC IN4148 E VCC JS SUR Clock Output VCC A tape PD2 E 8 2 T IS D SCL PDO EE O d V spa PD eon lav P Oma eh Swe 7 8 IIC bus EEPROM AT24c01 External EEPROM chip AT24C01 and DS1337 are all connected to SDA and SCL bus of AT megal280 through the TWI bus the bus has two pull up resistor SW2 45 to control on and off EEPROM used to store the data needs to be saved after power down such
17. R development board using the 9V power supply using universal regulator chip 78MO5 as voltage regulator this circuit has very good universality and reference value IN4148 d gt J 0 1uF 100 e NO lt lt VCC B J 960R LED R 10uF CND 7 2 On board AVRISP MKII programmer Integrated USB AVRISP MKII is a unique feather of EasyAVR M1280 development board you do not need to buy additional programming devices and emulators just an extra computer you can begin your learn and develop The microcontroller is connected to the onboard AVRISP MKII Programmer through the switches 1 2 3 and 4 on sw3 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong China Page 0086 531 62327572 1G On board programmer WWW avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com PB1 AVI ISP PBe nkII PB3 RST Kahn VO IT kivo NO E D 3 LI E Programmer 7 3 Atmega1280 core board The core of the system Atmegal280 is a very classic 8 bit microcontrollers in ATMEL s AVR MCUs which with a 128 Kbyte programmable Flash 8 Kbyte SRAM 4 Kbyte EEPROM 16 channel 10 bit A D converter support JTAG on line emulation ISP download flexible SPI USART TWI interface built in watchdog the external circuit design is simple just power can work ideally suited for small
18. SE BI PCMCIA E EL El E 3 SR 7 e Hz H Dee B ISE My eee COM LPT de Ris USB Serial Port COM4 gt D RE REUEUS oY QLPT1 Com j d e 2 Ga A TESI Rr ia L ger Warren ge amp Page 11 0086 531 62327572 WWW aVrvi com Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR On board programmer AVR AND Vial Instruments WWW avrvi com 5 Software Install EasyAVR M1280 SK user guide Software program files is in CD ROM corresponding directory double click the icon below according to the prompts to complete the installation GC tho e e F ia5tudi o4 14 ICCAVR icevTavr WinAYR 2 i baag PAR T AVEJERR 5 1 Install ICCAVR Directly run iccv7avrV7 22Setup exe file the installation interface is as follows a Note In order to develop convenient and avoid unnecessary path trouble please set icc7avr installation path to D icc7avr install the interface as shown below CG ICCVT for AVE Professional VT 22 PRm Hisp Villon E TREE m el Photo Program Files TODOWNLOAD tr ese E BE D ccwawl 000000000 Advanced In
19. Switch is OFF a JUMPERS Jl J2 J22 Jumpers like switches can break or establish a connection between two points Beneath the plastic cover of the jumper is a metal contact which makes a connection when the jumper is placed between two disconnected pins For example the jumpers J6 and J8 J6 Jumpers are used as a selector between two possible connections using a three pin connector the middle connector can be connected to the left or right pin depending on the jumper s position All lines are Left line is Right line is disconnected selected selected J8 The jumpers j6 is used to connect or disconnect BUZZER to the PB4 and PB5 pins A connection is made when the jumper is placed between contacts Line is disconnected Line is selected This development board has been carefully designed Then the all onboard resources are using ordinary pin jumper so that this pin will not generate conflict when the core board is replaced by other core board The board has four 8 bit DIP switches each has a detailed annota tion DIP switch appropriated for the right to open detail use of each road will be descript below y SWI 1 MCP4922 SHDN Digital analog converter chip MCP4922 sleep mode control n MCP4922 using the sleep mode this position is On n MCP4922 MCP4922 sleep mode when not in use this position is Off y SWI Q LED en LED enable On when use Off when not y SWI 3 7SEG en LED disp
20. age adjustment potentiometet geess 35 T22L E E OMe CO amont T T 36 7 22 CAN Information Transmission et 37 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com po EU EE E uide e eg www avrvi com TO 38 1 24 EIER MCU DIRECT PORE ACCESS eat a eun SAR ESER pO HU ea ERAS ORO Kal uen S dec UG E S ME ce OR a eux ERU 39 12 EXC vd DO Of Er ICES a EE E 40 T20 PS7 2 Kevoond COmeoto ne a a AETA RACA EENES EER Arii 41 Sooler Se 42 Oo 42 5S2 soda EVI AE LOTO DUT 2 LS A a EE ER e SEa O a aE EEEREN EANES 43 8 3 Expand board ayallaDl e TTP done 45 ein 40 LOC SU OU E m Tm 46 We 40 ose dl T 46 lbi E d deer TP 46 1 Product introduction 1 1 Introduction EasyAVR M1280 SK is AVR learning and development tools designed by AVRVI To Atmega1 280 as the core it intergrated AVRISP MKII programmer and only an extra computer is needed for user to begin the study 1 2 Significant features Intergrated common resource LED KEY 7 segment LED display LCD RS232 CAN DAC PS 2 interface Intergrated AVRISP MKII programmer Intergrated signal conditioning circuit input 0 10V rail to rail signal conditioning The development board will be separate from the base board and core board Core board can be easily replaced by other chi
21. as some important parameters the principle is as follows diagram Principle as shown above P ion Easy Electronic Technology Co Ltd Jinan Shandong China EasyAVR 8 0086 531 62327972 www avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 7 9 One active passive buzzer Buzzer used to generate sound signals active buzzer through the DC voltage control resulting in a single voice passive buzzer through a certain frequency PWM control can produce sounds of various frequencies and bands and even play music EasyAVR circuit design can either use active and passive buzzer Buzzer connected with the microcontroller through the jumper J8 The product uses two MCU pins control so it can Produce Polyphonic sound Please shorted J8 when used eu Bak PB4 Be BUZZER EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong China Page 0086 531 62327572 www avrvi com D po EU EE UE uide e eg Www avrvI com 7 10 7 segment LED display 7 segment LED display is commonly used in human computer display device commonly used in digital display in device here through the SPI driver in order to save IO port bit selection connect to PL0123 code selection through the jumper J9 connect to SPI PB123 SW1 3 enable Data latch signal input LKCK through the jumper J10 connect to PK3
22. ax QQ DGINS i88 eg DOOOOOoOo0 za mmimiuiminim pun C NO I el sl 1 ri Lr ed EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com 0 pod EU EE ment ide e eg Www avrvI com 7 16 74HC00 Hardware debounce circuitry In the closed button and disconnect process because of the mechanical characteristics of switches resulting generation button jitter If the button does not eliminate the mechanical jitter key state possible will be read error Debounced divided into hardware debounced and software debounced This product using 74HC00 way to remove jitter KEY 1 and KEY2 correspond to the PE4 INT4 and PES INT5 please shorted the jumper J14 to connect the PE4 and PES when you use it vec VCC PE4 KEY1 Akte wg GND T roo Debounced ke P 24 Easy Electronic Technology Co Ltd Jinan Shandong China EasyAVR 0086 531 62327572 WWW avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 7 17 MCP4922 DA Circuit MCP4922 is a device with two way DA output using the SPI control MCP4922 chip select connected PK6 by jumper J15 MCP4922 voltage output by standard nylon terminal block KF396 please shorted jumper J15 when you use the MCP4922 MCP4922 sleep mode co
23. by any means AVRVI assume no responsibility for any errors which may appear in this manual nor does it make a commitment to update the information herein AVRVI retains the right to make change to these manual at any time without notice Trademarks All product name referenced herein are trademarks of their respective companies Version History 2010 07 13 V1 0 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong China Page 0086 531 62327572 www avrvi com AB
24. col designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment Development of the CAN bus started originally in 1983 at Robert Bosch GmbH 1 The protocol was officially released in 1986 at the Society of Automotive Engineers SAE congress in Detroit Michigan The first CAN controller chips produced by Intel and Philips came on the market in 1987 Bosch published the CAN 2 0 specification in 1991 CAN is one of five protocols used in the OBD II vehicle diagnostics standard The OBD standard is mandatory for all cars and light trucks sold in the United States since 1996 and the EOBD standard mandatory for all petrol vehicles sold in the European Union since 2001 and all diesel vehicles since 2004 2 The jumper J20 used to connect or disconnect 120ohm resistance The jumpers group J21 used to connect or disconnect MCP2515 s CS and MCP2515 s INT to the PK7 and PE6 respectively The product designed have Two way CAN output CAN output use standard socket interface KF396 and more convenient to use Please shorting the jumper J21 and On the SW2 67 8 when you use the CAN OO Cr DICH D OI og Ch DOE HEIDI OL no n OzuooOoOooz nmnnmnb hezo xau Cx CN C Dno Doe CR EE bte d UGC Cp CAN Hi o1 o gt CAN_L IV CAN H Je 5 LL LM S CAN L j EN CN13 Clg 4M 7 SW2 L eee 120R J20 22pF 2 To uu uo P 2
25. d in a debugging session In that case select Stop Debugging first Disconnected Mode In the pop up interface for programming verification modify fuse lock bits and other operations please refer to AVRstudio software instructions EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong China Page 0086 531 62327572 www avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide AVEISF mkII in ISP mode with Almezal 7t0 Main Program Fuses LockBits Advanced Hit Settings Hi Info Auto Device and Signature Bytes ATmegal 280 Erase Device xiE Dx9T Us Read Signature Signature matches selected device Programming Mode and Target Settings TSF mode settings ISF 125 0 kHz Setting mode and device parameters OE Entering programming mode OE Erasing device UE Leaving programming mode OK We wrote a detailed description of each experiments and have generated a good HEX file in the OUTPUT directory you only need is to modulate DIP swithes according to the readme txt download pre compiled HEX file can view effect of each of the examples P n Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 WWW avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 7 Hardware resource 7 1 Power Supply The Atmegal280 AV
26. ements To conduct system development the minimum requirments on your computer 1 At least 80M of space for the installation of AVR studio and ICCAVR 2 Windows 98 2000 ME XP or higher 3 Baud rate to 115200 of the RS232 communication interface serial port if not you can use the USB serial cable 4 USB interface used for communication or 7 9 V DC power supply 500mA with positive inside EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page i 0086 531 62327572 WWW avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 2 System self test 2 1 Check up list of articles Check the packing materials the list is as follows 1 EasyAVR development board on board AVRISP MKII programmer 2 9V DC power supply 3 USB communication cable 4 Development board manual 5 CD ROM with schematic development software example program inside 2 2 Quick Start EasyAVR M1280 SK board is rich in resources and the core board chip is Atmegal280 16AU or ATmegal280 8AU All jumpers are in their factory default position and self test program has been load in To Start the self test you only need to connect the serial cable and power cable complete default jumper connection and hardware resources will be described in later chapters After installing the drivers you can also use USB cable to complete this function At this time you need to connect CN3 with usb cable
27. iment AREF through SW1 4 connected to the AVCC to use the AVCC as a reference voltage source The jumpers group J19 s PF1 ADC1 should be shorted when you use the ADCI VCC RV1 ADC1 mr PF1 mn P op Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com e EE M SO E e eg Www avrvI com 7 21 LM358 signal conditioning EasyAVR M1280 use LMV358 to do rail to rail signal conditioning gain circuit input range 0 10V signal gain 0 1 1000 potentiometer ADC2 and ADC3 respec tively adjust gain of ADC2 and ADC3 ADC2 and ADC3 use standard socket interface KF396 and more convenient to use Please shorting the jumpers group J19 s ADC2 PF2 and ADC3 PF3 when use open the analog reference voltage AREF at the same time that is On the SW1 AREF VCC 100R GN 100R 1K 2 ADC input EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com 26 AVR AND ETS EasyAVR M1280 SK user guide gt g WWW avrvi com 7 22 CAN Information Transmission Controller area network CAN or CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer CAN is a message based proto
28. lation this USB interface is the CN4 As illustrated AVRISP MKII 4 1 Onboard AVRISP mKIl programmer driver installation This product integrates AVRISP programmer please install AVRstudio software before installing this driver The programming port CN4 connected to the computer using a USB cable then will be prompted to install a new hard drive you can choose to automatically install the software a Note Before installing the driver programmer you must first install A VRstudio software because A VRstudio contains AVRISP mKII drive After installation you can right click My Computer Management Device Manager find the devices P e Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 9 0086 531 62327572 www avrvi com AV R AND Virtual Instruments WWW avrvi com EasyAVR M1280 SK user guide O t EW L0 Ress ara W Seles Ael PEN H Ge IDE ATA ATAPI Sy Intel R S2801DBM Ultra ATA Storage Controller 24Ch fO IDE MEI s Jungo ER ES AVRISP mkII 4 EE ERE BH Winlriver Erit o B PCMCIA Gel g Hs d REDDE x zk o m SAMAI ww COM LPT cy LE EE te Wd 5 c7 RARE CIES
29. lay enable On when use Off when not P H Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 0086 531 62327572 www avrvi com E E EE Ke ide e eg Www avrvI com y SWI 4 AREE connect AREF to AVCC On when use AVCC as reference voltage Off when not y SW2 1 3 1602 LCD and 12864 LCD control n Alloff when not in use n When using the 1602 1 3 is On On when use Off when not n When using the LCD12864 1 is On 2 3 is Off On when use Off when not SW2 4 5 SCL and SDA of TWI On when use AT24C01 and DS1337 On when use Off when not SW2 6 8 MISO MOSLSCK of SPI On when use 7segment LED MCP4922 CAN TC72 Off when not SW3 1 4 programming using the onboard AVRISP MKII programmer On when use Off when not SWA 3 4 RS232 1 On when use Off when not SWA 5 6 RS232 2 On when use Off when not SWA 7 8 Use USB1 1 communication On when use Off when not two way ADC and PWM ports two way DAC two way CAN ports All the PORT pins lead out on the board MU lt lt lt lt lt lt X EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com AV R AND Virtual Instruments EasyAVR M1280 SK user guide WWW avrvi com 4 Driver Install The development board requires two driver installation One for USB1 1 communication interface this USB interface is the CN3 driver Another is the on board programmer AV RISP MkII driver instal
30. ntrol by switch 1 on SWI PK MCP4922 CS EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com D Www avrvI com EE e eg 7 18 Analog Temperature Sensors TC1047A TC1047A analog temperature sensor output the temperature value to the ADCO PEO by jumper J16 TC1047A can be enabled using J16 s PF0 1047 Out PFO EE 1047 Out Temp senser TC1047A P 33 Easy Electronic Technology Co Ltd Jinan Shandong China EasyAVR 0086 531 62327572 WWW avrvi com AVR AND Vial Instruments WWW avrvi com EasyAVR M1280 SK user guide 7 19 Digital Temperature Sensors TC72 TC72 digital temperature sensor is a SPI device TC72 temperature value output to the microcontroller through the SPLTC72 can be enabled using J16 s PK5 TC72 CE TC 2 CE PKS OO Do IN Nt t0 cO P p SS Ss ab ol fob fob fob foe ms DO UT HI E CH Ce DN SES Sy a Temp senser TC7 2 EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com Or WWW avrvi com EE EE e eg 7 20 AD voltage adjustment potentiometer Development board designed an adjustable potentiometer RV 1 ADC1 through the resistor divider to obtain changes in voltage used for ADC conver sion and exper
31. p core board such as ATMEGA2560 ATMEGA640 ATXMEGA128A 1 1 3 On board resource list SV power supply interface input 7 9V with inside positive On board AV RISP MKII USB interface On board external ISP JTAG Programming interface Ww N 4 Atmegal280 chip rich on chip resource 5 USB1 1 communication interface 6 RS232 serial communication interface 7 JAHC40060 Variable Frequence ge Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR Pa 0086 531 62327572 www avrvi com EN AVR AND ETS EasyAVR M1280 SK user guide gt eg www avrvi com 8 4X4 Keyboard 9 4in1 7 segment LED display drived by HC595 10 8 separate LED 11 1 active buzzer also can be accessed by passive buzzer 12 Calendar clock DS1337 13 1 IIC bus EEPROM AT24C01 14 Analog Temperature Sensors TC1047A 15 SPI bus digital Temperature Sensor TC72 16 Hardware debounce circuitry 17 CAN bus circuit 18 Digital analog conversion circuit constituted by the MCP4922 19 PS 2 Keyboard connector 20 Crystal oscillator and reset circuit 21 Optional active crystal oscillator circuit 22 AD voltage adjustment potentiometer 23 Potentiometer voltage reference and voltage under test adjust 24 4 8 bit DIP switch 25 100Pin MCU pins marking all the external terminal 26 12864 LCD Interface 27 1602 LCD Interface 28 Standard nylon terminal block KF396 29 Transparent non slip silicone pad 1 4 System requir
32. re ICC GCC CVAVR AVRstudio etc 8 2 Experimental contents Analog digital conversion AD Single channel AD acquisition 7 segment LED display display the results Dual channel time sharing the collection 7 segment LED display display the results TC1047A output the temperature value to the AD function module 7 segment LED display display the results 74HC4060 The DS1337 output the 32 768 KHZ clock signal frequency as the 74HC4060 clock source to trigger Interrupt to achieve the flashing LED Buzzer Key detection buzzer tweet Keyboard Key detection buzzer tweet Key detection 7 segment LED display display the results LED Light water program DS1337 Timing LED blink once when the time is 10s The DS1337 output the 32 768 KHZ clock signal frequency as the 74HC4060 clock source to trigger Interrupt to achieve the flashing LED 74HCOO debounce circuit press KEY1 or KEY2 the corresponding LED flashes once Timer Timer T1 to achieve 1 second timing 7 segment LED display display the results 7 segment LED Timer T1 to achieve 1 second timing 7 segment LED display display the results TC1047A test temperature 7 segment LED display display the results TC72 test temperature 7 segment LED display display the results Single channel AD acquisition 7 segment LED display display the results Dual channel time sharing the collection 7 segment LED display display the results Key detection 7 segment LED display display the results
33. sing the LCD1602 displar the corresponding ASCII code of PS 2 keyboard button is pressed USART Communication with the PC using the uart and observe the received data using the serial port debugging software i m SG CS Coa kend AxAKEY TEEG S E E LJ ADC kel BUZZER Z Fox Se EC he S DAC G LCD1802 GC LED LJ Temp TCT2 i Ae Ach E Ae r7 BE kend Temp TC1D4T bs UART LJ CAN LJ tt E C i C Leg 2 F ec LJ 151337 TSEG a Ps2 kbd gJ mt 24001 cJ artak e Frequeuce a Note In order to better use of the development board supporting package to avoid the path problem Y y Please put the package in D avrvi AVRVi_m1280_Starter_Kit and remove the read only attribute y ICC installation directory D icc7avr EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 WWW avrvi com AA EN AVR AND Ninel insturen EasyAVR M1280 SK user guide gt eg WWW avrvi com 8 3 Expand board available Based on this board you can also study in depth through a variety of modules 1 LCD Module 2 ENC28J60 network module 3 CP2200 network module 4 Wireless communication module nrf905 nrf2401 nrf1100 and many other models 5 VS1003 mp3 development board 6 Intelligent Vehicle Development Platform 7 OSD video overlay Development Board 8 GSM GPRS Development Module P jd Easy Electronic Technology Co Ltd Jinan Shandong Chi na EasyAVR 5 0086 531 62
34. staller 5 2 Install AVRstudio Installation AVRstudio double click to run aStudio4 14b589 exe in accordance with the default installation EasyAVR Easy Electronic Technology Co Ltd Jinan Shandong Chi na Page 0086 531 62327572 www avrvi com dei J AVES tudi o4 InstallShield Tizard Welcome Modify repair or remove the program Welcome to the amp VRStudia4 Setup Maintenance program This program lets you modify the current installation Click one of the options below oF Modify Select new program features to add ar select currently installed features to remove Repair d Reinstall all program features installed by the previous setup Remove all installed features per a Note In this interface select the Instal upgraade Jungo USB Driver to install USB drivers as shown bellow AVRStudiod InstallShield Wizard 23 Select Features Select the features setup will install Select the features you want to install and deselect the features you do not want to install Desciption lt USB driver for ICE AU ICE RU ENRISP mkll JTAGICE mk and 5 TEBLLI Ri Install upgrade Jungo USB Driver 304 K These can be installed later by Tunning the Setup program and select Modify Windows 95 and Windows NT do nat support LISE Space Required on C 144022 K Space Available on C 145464 k InstallShield

Download Pdf Manuals

image

Related Search

Related Contents

DFRobotShop Rover User Guide Libre  1 - GHP Group  Beleuchtete Hausnummer Solar Power SH 4000  the manual - Peace Library System  Kenwood DPX300U Car Stereo System User Manual  改 訂 案 (P-1)  MAC 301 Wash  Ultimate Equalizer V6.0 Supplemental User Manual  Samsung SP-H500 Specifications  

Copyright © All rights reserved.
Failed to retrieve file