Atmel AVR Butterfly Скачать руководство пользователя страница 1

AVR Butterfly Evaluation Kit

.............................................................................................

User Guide

Содержание AVR Butterfly

Страница 1: ...AVR Butterfly Evaluation Kit User Guide...

Страница 2: ......

Страница 3: ...5 2 4 Bootloader 2 7 Section 3 Using the AVR Butterfly 3 11 3 1 Connectors 3 11 3 2 Programming the AVR Butterfly 3 11 3 3 JTAG 3 15 3 4 LCD Display 3 16 3 5 Joystick 3 16 3 6 Sensors 3 17 3 7 Connect...

Страница 4: ...2 AVR Butterfly User Guide 4271B AVR 11 03...

Страница 5: ...ecture in general and the ATmega169 in particular Low power design The MLF package type Peripherals LCD controller Memories Flash EEPROM SRAM external DataFlash Communication interfaces UART SPI USI P...

Страница 6: ...pendent Resistor LDR to measure light intenisty 3V button cell battery 600mAh to provide operating power JTAG emulation for debugging USI interface for additional communication interface Supported by...

Страница 7: ...tion code State machine Features included Name tag Clock date Temperature measurements Light measurements Voltage readings Play tunes melodies Auto power save Adjust LCD contrast More functions can be...

Страница 8: ...is is the first time a name is entered the string ENTER NAME will be displayed otherwise the name already entered will be displayed and you have to press the joystick to the right ENTER SUB MENU once...

Страница 9: ...yed 4 Press center push ENTER to activate the UART and the text WAITING FOR INPUT ON RS232 will be displayed 5 Type your name in the terminal window on the PC up to 25 characters and save the name by...

Страница 10: ...6 AVR Butterfly User Guide 4271B AVR 11 03 Figure 2 2 Application Menu...

Страница 11: ...cient data downloading AVR Prog which is included in AVR Studio4 is used as PC frontend The data is transmitted through the RS 232 interface Connect a serial cable from the PC to the AVR Butterfly as...

Страница 12: ...essing the joystick in the UP position 2 4 3 Fuses and Lock Bits For the firmware to operate correctly these fuses and lock bits on the ATmega169 are the only ones to be programmed Extended Fuse Byte...

Страница 13: ...0xE2 SUT0 65 ms Start up Time CKSEL3 Internal RC Oscillator CKSEL2 CKSEL0 Lock Bit Byte 0xEF BLB11 SPM is not allowed to write to the Boot Loader section Note For all fuses and lock bits 1 means unpr...

Страница 14: ...10 AVR Butterfly User Guide 4271B AVR 11 03...

Страница 15: ...e available on the connectors of the AVR Butterfly These connectors are for communication programming and input to the ADC of the ATmega169 Figure 3 1 Connectors 3 2 Programmingthe AVR Butterfly In ad...

Страница 16: ...der one can make contact just by pressing the header to the footprint Make sure that pin 1 on the STK500 match with pin 1 on the AVR Butterfly See Figure 3 3 for the pinout of the ISP Connector Figure...

Страница 17: ...e placed where the R204 should be and R404 must be placed where the R403 should be according to Figure 3 4 See the Assembly Drawing in the 7 Complete Schematics Figure 3 4 Ohm Resistors Connect RESET...

Страница 18: ...flicker ing on the LCD this because PORTB and PORTD are connected to theses modules Figure 3 7 shows the pinout for the I O port headers PORT B and PORT D Figure 3 7 PORT B and PORT D Note When the A...

Страница 19: ...G ICE available from Atmel Connecting a JTAG ICE to this connector allows On chip Debug ging of the ATmega169 More information about the JTAG ICE and the On chip Debugging can be found in the AVR JTAG...

Страница 20: ...splay on the AVR Butterfly is the same as used on the STK502 available from Atmel The connections between the ATmega169 and the LCD are also the same See the STK502 User Guide at www atmel com for mor...

Страница 21: ...Butterfly has two on board sensors which makes it possible to measure both temperature and light In addition is has a voltage divider that is used to measure volt ages from 0 to 5V 3 6 1 Temperature S...

Страница 22: ...through the ADC channels on the ATmega169 the temperature in can be calculated Equation for calculating the temperature in Celsius is shown in Figure 3 13 Figure 3 13 Temperature Equation 4250 ADC Val...

Страница 23: ...f reading voltages from 0V to 5V The input must be con nected to the pins shown in Figure 3 16 Using a voltage divider and reading the voltage over the resistors through the ADC channels on the ATmega...

Страница 24: ...VR Butterfly has connections for the USI interface Figure 3 18 shows the pin out for the USI Through the USI interface other modules can be connected and the AVR Butterfly can serve as a top module ca...

Страница 25: ...atmel com products DataFlash The DataFlash is connected to the SPI interface This means that in addition to commu nicate with the ATmega169 on the AVR Butterfly it can also be accessed externally thr...

Страница 26: ...rrent 23 C Standard Discharge Current 0 2 mAh Maximum recommended current under continuous discharge 3 mA Maximum recommended current under pulse discharge 15 mA Note DO NOT recharge short circuit dis...

Страница 27: ...ments on the LCD seems to disappear Your fingers are touching the LCD pins or PORTD Hold the AVR Butterfly on the edge of the PCB without touching the LCD pins Serial Programming does not work ISP cab...

Страница 28: ...24 AVR Butterfly User Guide 4271B AVR 11 03...

Страница 29: ...03 Section 5 Technical Specifications System Unit Physical Dimension 45 x 67 x 14 mm Weight 28 g Operation Conditions Temperature 0 C 50 C If using external power 3 1V 4 5V Temperature measurement ac...

Страница 30: ...26 AVR Butterfly User Guide 4271B AVR 11 03...

Страница 31: ...ng information Which target AVR device is used complete part number Target voltage and speed Clock source and fuse setting of the AVR Programming method Hardware revisions of the AVR tools found on th...

Страница 32: ...28 AVR Butterfly User Guide 4271B AVR 11 03...

Страница 33: ...AVR Butterfly User Guide 29 4271B AVR 11 03 Section 7 Schematics On the following pages the complete schematics and assembly drawing of the AVR But terfly revision A are shown...

Страница 34: ...E3 1 2 C104 100N_16V_X7R 1 2 C100 100N_16V_X7R 2 1 L100 BLM 21A102S 1 2 C101 100N_16V_X7R GND LCD 32 3 PE 6 4 1 2 C103 100N_16V_X7R GND VCC 1 2 R100 10K 1 2 C106 10N_50V_X7R GND Sensor_2 PD7 SEG15 32...

Страница 35: ...3 LCD4 LCD5 LCD6 LCD7 LCD8 LCD9 LCD10 LCD11 LCD12 LCD13 LCD14 LCD15 LCD16 LCD17 LCD18 LCD19 LCD20 LCD21 LCD22 LCD23 LCD25 LCD26 LCD27 LCD28 LCD29 LCD24 COM0 COM1 COM2 COM3 1 2 R200 0R 1 2 3 4 XC201 I...

Страница 36: ...AVR Butterfly ATMEL Norway Vestre Rosten 79 7075 TILLER NORWAY PAGE of TITLE Document number Revision A Date 6 1 2 Q300A BC847BPN 3 4 5 Q300B BC847BPN 1 2 R306 4 7K 1 2 R307 4 7K 1 2 R308 4 7K 1 2 R30...

Страница 37: ...PB2 PB3 PB4 PB5 PB6 PB7 LCD15 LCD16 LCD18 LCD13 LCD11 LCD12 LCD14 LCD9 1 2 3 J406 PH_2 54_3 X 1 NOT MOUNTED PB 7 0 PB1 PB2 PB3 PB 7 0 LCD 32 3 PF 7 4 GND RXD TXD 1 2 R403 0R NOT MOUNTED 1 2 R404 0R CO...

Страница 38: ...34 AVR Butterfly User Guide 4271B AVR 11 03 Figure 7 5 Assembly Drawing Top Side Figure 7 6 Assembly Drawing Back Side...

Страница 39: ...106 10n 1 33R R400 33R NOT MOUNTED 4 100K R205 R206 100k R207 R208 10 100N_16V_X7R C100 C101 100n C102 C103 C104 C200 C400 C401 C402 C403 1 300K R209 300K 1 AT45DB041B SC 2 5 U201 4Mb ATMEL 1 ATMEGA16...

Страница 40: ...NOT MOUNTED 1 PH_2 54_3 X 1 J406 SCOTT ELECT NOT MOUNTED 1 PH_2 54_4 X 1 J405 SCOTT ELECT NOT MOUNTED 3 PH_2 54_5 X 2 J400 J401 SCOTT ELECT NOT MOUNTED J402 1 SKRHABE010 SW200 ALPS 1 KMT 1603 XC200 K...

Страница 41: ...des Arsenaux 41 Case Postale 80 CH 1705 Fribourg Switzerland Tel 41 26 426 5555 Fax 41 26 426 5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721 9...

Отзывы: