thermistor sck 084 ntc

22
AT90USBKey ............................................................................................ Hardware User Guide

Upload: iron109

Post on 14-Apr-2015

156 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Thermistor SCK 084 NTC

AT90USBKey.............................................................................................

Hardware User Guide

Page 2: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide User Guide 1

7627A–AVR–04/06

Section 1Introduction ........................................................................................... 1-3

1.1 Overview ...................................................................................................1-31.2 AT90USBKey Features............................................................................1-4

Section 2Using the AT90USBKey ....................................................................... 2-5

2.1 Overview ...................................................................................................2-52.2 Power Supply ............................................................................................2-62.3 Reset.........................................................................................................2-82.4 On-board Resources.................................................................................2-92.5 In-System Programming .........................................................................2-132.6 Debugging...............................................................................................2-14

Section 3Troubleshooting Guide ....................................................................... 3-15

Section 4Technical Specifications ..................................................................... 4-16

Section 5Technical Support ............................................................................... 5-17

Section 6Complete Schematics ......................................................................... 6-18

Page 3: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 1-3

7627A–AVR–04/06

Section 1

Introduction

Congratulations on acquiring the AVR® AT90USBKey. This kit is designed to givedesigners a quick start to develop code on the AVR® and for prototyping and testing ofnew designs with the AT90USB microcontroller family.

1.1 Overview

This document describes the AT90USBKey dedicated to the AT90USB AVRmicrocontroller. This board is designed to allow an easy evaluation of the product usingdemonstration software.

To increase its demonstrative capabilities, this stand alone board has numerous on-board resources: USB, joystick, data-flash and temperature sensor.

Figure 1-1 . AT90USBKey

Page 4: Thermistor SCK 084 NTC

Introduction

1-4 AT90USBKey Hardware User Guide

7627A–AVR–04/06

1.2 AT90USBKey Features

The AT90USBKey provides the following features:

� AT90USB QFN64

� AVR Studio® software interface (1)

� USB software interface for Device Firmware Upgrade (DFU bootloader) (2)

� Power supply flagged by “VCC-ON” LED:

– regulated 3.3V– from an external battery connector (for reduced host or OTG operation)– from the USB interface (USB device bus powered application)

� JTAG interface (connector not mounted):

– for on-chip ISP– for on-chip debugging using JTAG ICE

� Serial interfaces:

– 1 USB full/low speed device/host/OTG interface

� On-board resources:

– 4+1-ways joystick– 2 Bi-Color LEDs– temperature sensor– serial dataflash memories– all microcontroller I/O ports access on 2x8pin headers (not mounted)

� On-board RESET button

� On-board HWB button to force bootloader section execution at reset.

� System clock:

– 8 MHz crystal

Notes: 1. The AVRUSBKey is supported by AVR Studio®, version 4.12 or higher. For up-to-date information on this and other AVR tool products, please consult our web site.The most recent version of AVR Studio®, AVR tools and this User Guide can befound in the AVR section of the Atmel web site, http://www.atmel.com.

2. ATMEL Flip®, In System Programming Version 3 or Higher shall be used for DeviceFirmware Upgrade. Please consult Atmel web site to retrieve the latex version of Flipand the DFU bootloader Hex file if needed.

Page 5: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 2-5

7627A–AVR–04/06

Section 2

Using the AT90USBKey

This chapter describes the AVRUSBKey and all its resources.

2.1 Overview

Figure 2-1 . AT90USBKey Overview

Page 6: Thermistor SCK 084 NTC

Using the AT90USBKey

2-6 AT90USBKey Hardware User Guide

7627A–AVR–04/06

2.2 Power Supply

2.2.1 Power Supply Sources

The on-board power supply circuitry allows two power supply configurations:

� from USB connector

� from battery connector

USB powered When used as a USB device bus powered application, the AVRUSBKey can be directlypowered via the USB VBUS power supply line.

Battery powered The external battery connector should be used when the AT90USBKey is used as aUSB host. This mode allows the AT90USBKey to provide a 5V power supply from itsVBUS pin.

– Need of a female battery clip– Input supply from 8 up to 15V DC (min. 100mA)

Figure 2-2 . Power supply schematic

VCC3

IN1

GND2

OUT3

U5

LM340

VBUS

VBAT

D4LL4148

-C164.7uF

R19124k 1%

U3out=1.25*(1+(R15+R18)/R19)

R18100k 1%

D3

LL4148

C17220nF

VCC35V

R15100k 1%

MTAExt power supply

12

J8

C18100nF

OUT1

IN2

GND3

OUT4

FAULT8SHDN

7

CC6

SET5

U4

LP3982C1533nF

D6

LL4148

Page 7: Thermistor SCK 084 NTC

Using the AT90USBKey

AT90USBKey Hardware User Guide 2-7

7627A–AVR–04/06

2.2.2 VBUS Generator

When using the AT90USB microcontroller in USB host mode, the AT90USBKey shouldprovide a 5V power supply over the VBUS pin of its USB mini AB connector.

A couple of transistors allows the UVCON pin of the AT90USB to control the VBUSgeneration (See Figure 2-3). In this mode the AT90USBKey is powered by externalbattery power supply source.

Figure 2-3 . VBUS generator schematic

2.2.3 “POWER-ON“ LED

The POWER-ON LED (“D1”) is always lit when power is applied to AVRUSBKeyregardless of the power supply source.

R25

100k

Q1BC847B -

C194.7uF

R2410k

M1

FDV304P/FAI

UVCON

VBUS5V

Page 8: Thermistor SCK 084 NTC

Using the AT90USBKey

2-8 AT90USBKey Hardware User Guide

7627A–AVR–04/06

2.3 Reset

Although the AT90USB has its on-chip RESET circuitry (c.f. AT90USB Datasheet,section “System Control and Reset), the AVRUSBKey provides to the AT90USB aRESET signal witch can come from two different sources:

Figure 2-4 . Reset Implementation

2.3.1 Power-on RESET

The on-board RC network acts as power-on RESET.

2.3.2 RESET Push Button

By pressing the RESET push button on the AVRUSBKey, a warm RESET of theAT90USB is performed.

2.3.3 Main Clock XTAL

To use the USB interface of the AT90USB, the clock source should always be a crystalor external clock oscillator (the internal 8MHz RC oscillator can not be used to operatewith the USB interface). Only the following crystal frequency allows proper USBoperations: 2MHz, 4MHz, 6MHz, 8MHz, 12MHz, 16MHz. The AT90USBKey comes witha default 8MHz crystal oscillator.

RST

VCC

R647k C8

220nFRESET

Page 9: Thermistor SCK 084 NTC

Using the AT90USBKey

AT90USBKey Hardware User Guide 2-9

7627A–AVR–04/06

2.4 On-board Resources

2.4.1 USB

The AVRUSBKey is supplied with a standard USB mini A-B receptacle. The mini ABreceptacle allows to connect both a mini A plug or a mini B plug connectors.

Figure 2-5 . USB mini A-B Receptacle

When connected to a mini B plug, the AT90USB operates as an “USB device” (the IDpin of the plug is unconnected) and when connected to a mini A plug, the AT90USBoperates as a “USB host” (the ID pin of the A plug is tied to ground).

2.4.2 Joystick

The 4+1 ways joystick offers an easy user interface implementation for a USBapplication (it can emulate mouse movements, keyboard inputs...).

Pushing the push-button causes the corresponding signal to be pulled low, whilereleasing (not pressed) causes an H.Z state on the signal. The user must enableinternal pull-ups on the microcontroller input pins, removing the need for an externalpull-up resistors on the push-button.

Figure 2-6 . Joystick Schematic

C71uF

VBUS

R4 0

GN

D

VBUS

1-V_BUS

3-D+2-D-

4-ID

5-GND

SHIELDSHIELDSHIELDSHIELD

USB_MiniAB

J3VBUS

VBUS

GNDR3 22

R2 22

D+D-

UID

CR1

CR2

UCAP

Select5

Lef t7

Up3

Right6

Down4

Com11

Com22

SW3

TPA511G

PE[7..0]

PB[7..0]

PB5PB6PB7PE4PE5

Select5

Lef t7

Up3

Right6

Down4

Com11

Com22

SW3

TPA511G

PE[7..0]

PB[7..0]

PB5PB6PB7PE4PE5

Select5

Lef t7

Up3

Right6

Down4

Com11

Com22

SW3

TPA511G

PE[7..0]

PB[7..0]

PB5PB6PB7PE4PE5

Page 10: Thermistor SCK 084 NTC

Using the AT90USBKey

2-10 AT90USBKey Hardware User Guide

7627A–AVR–04/06

2.4.3 LEDs

The AT90USBKey includes 2 bi-color LEDs (green/red) implemented on one line. Theyare connected to the high nibble of “Port D” of AT90USB (PORTD[4..7]).To light on a LED, the corresponding port pin must drive a high level. To light off a LED,the corresponding port pin must drive a low level.

Figure 2-7 . LEDs Implementation schematic

Table 2-1 . Leds references

2.4.4 Temperature Sensor

The temperature sensor uses a thermistor (R29), or temperature-sensitive resistor. Thisthermistor have a negative temperature coefficient (NTC), meaning the resistance goesup as temperature goes down. Of all passive temperature measurement sensors,thermistors have the highest sensitivity (resistance change per degree of temperaturechange). Thermistors do not have a linear temperature/resistance curve.

The voltage over the NTC can be found using the A/D converter (connected to channel0). See the AT90USB Datasheet for how to use the ADC. The thermistor value (RT) iscalculate with the following expression:

Where: RT = Thermistor value (Ω) at T temperature (°Kelvin)

RH = Second resistor of the bridge -100 KΩ ±10% at 25°C

VADC0 = Voltage value on ADC-0 input (V)

VCC = Board power supply

LED Reference AT90USB Connection Color

D2 PORTD.4 Red

PORTD.5 Green

D5 PORTD.6 Green

PORTD.7 Red

D2

D5

R141k

R171k

LEDs In-line Grouped LEDs

PD4

PD5

PD7

PD[7..0]

PD6R221k

R231k

RT RH VADC0⋅( ) VCC VADC0–( )⁄=

Page 11: Thermistor SCK 084 NTC

Using the AT90USBKey

AT90USBKey Hardware User Guide 2-11

7627A–AVR–04/06

The NTC thermistor used in AT90USBKey has a resistance of 100 KΩ ±5% at 25°C (T0)and a beta-value of 4250 ±3%. By the use of the following equation, the temperature (T)can be calculated:

Where: RT = Thermistor value (Ω) at T temperature (°Kelvin)

ß = 4250 ±3%

R0 = 100 KΩ ±5% at 25°C

T0 = 298 °K (273 °K + 25°K)

The following cross table also can be used. It is based on the above equation.

Table 2-2 . Thermistor Values versus Temperature

Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)

-20 1263,757 10 212,958 40 50,486 70 15,396

-19 1182,881 11 201,989 41 48,350 71 14,851

-18 1107,756 12 191,657 42 46,316 72 14,329

-17 1037,934 13 181,920 43 44,380 73 13,828

-16 973,006 14 172,740 44 42,537 74 13,347

-15 912,596 15 164,083 45 40,781 75 12,885

-14 856,361 16 155,914 46 39,107 76 12,442

-13 803,984 17 148,205 47 37,513 77 12,017

-12 755,175 18 140,926 48 35,992 78 11,608

-11 709,669 19 134,051 49 34,542 79 11,215

-10 667,221 20 127,555 50 33,159 80 10,838

-9 627,604 21 121,414 51 31,840 81 10,476

-8 590,613 22 115,608 52 30,580 82 10,128

-7 556,056 23 110,116 53 29,378 83 9,793

-6 523,757 24 104,919 54 28,229 84 9,471

-5 493,555 25 100,000 55 27,133 85 9,161

-4 465,300 26 95,342 56 26,085 86 8,863

-3 438,854 27 90,930 57 25,084 87 8,576

-2 414,089 28 86,750 58 24,126 88 8,300

-1 390,890 29 82,787 59 23,211 89 8,035

0 369,145 30 79,030 60 22,336 90 7,779

1 348,757 31 75,466 61 21,498 91 7,533

2 329,630 32 72,085 62 20,697 92 7,296

3 311,680 33 68,876 63 19,930 93 7,067

4 294,826 34 65,830 64 19,196 94 6,847

T βRT

R0-------ln

⎝ ⎠⎛ ⎞ β

T0------+

-------------------------------=

Page 12: Thermistor SCK 084 NTC

Using the AT90USBKey

2-12 AT90USBKey Hardware User Guide

7627A–AVR–04/06

Figure 2-8 . Thermistor Schematic

2.4.5 Data Flash memory

For mass-storage class demonstration purpose, the AT90USBKey provides two on-chipserial Flash memories (AT45DB642D) connected to the AT90USB Serial Port Interface(SPI).

The data-flash chip select signals are connected to PortE bit 0 and bit 1 of the AT90USB(See Figure 2-9).

Figure 2-9 . On-board data flash schematic

5 278,995 35 62,937 65 18,493 95 6,635

6 264,119 36 60,188 66 17,820 96 6,430

7 250,134 37 57,576 67 17,174 97 6,233

8 236,981 38 55,093 68 16,556 98 6,043

9 224,606 39 52,732 69 15,964 99 5,860

Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)Temp.(°C)

RT

(KΩ)

PF[7..0]

R29

R27100k

PF

0

VCC

PE0

VCC3

VCC3

PB[7..0]

PB1

R9100k

RESET

PB3PB2

SI1

SCK2

RESET3

CS4

WP5VCC6GND7SO8

U2

AT45DB642D CASON8

PE1

VCC3

VCC3

RESET

PB1

R10100k

PB3PB2

SI1

SCK2

RESET3

CS4

WP5VCC6GND7SO8

U3

AT45DB642D CASON8

R12100k

R11100k

Page 13: Thermistor SCK 084 NTC

Using the AT90USBKey

AT90USBKey Hardware User Guide 2-13

7627A–AVR–04/06

2.5 In-System Programming

2.5.1 Programming with USB bootloader: DFU (Device Firmware Upgrade)

AT90USB part comes with a default factory pre-programmed USB bootloader located inthe on-chip boot section of the AT90USB. This is the easiest and fastest way toreprogram the device directly over the USB interface. The “Flip” PC side application, isavailable from the Atmel website, offers a flexible an user friendly interface to reprogramthe application over the USB bus.

The HWB pin of the AT90USB allows to force the bootloader section execution afterreset. (Refer to AT90USB datasheet section “boot loader support”). To force bootloaderexecution, operate as follow:

� Press both “RST” and “HWB” push buttons

� First release the “RST” push button

� Release the “HWB” push button

For more information about the USB bootloader and “Flip” application, please refer tothe “USB bootloader datasheet document” and “Flip’s user manual”.

Note: The HWB pin is active only if the HWBE fuse is set (default factory configuration).

2.5.2 Programming with AVR JTAGICEmKII

The AT90USB can be programmed using specific JTAG link. To use the AVRJTAGICEmkII with an AT90USBKey an optional HE10 connector should be soldered toJ9 footprint. Then the JTAG probe can be connected to the AT90USBKey as shown inFigure 2-10.

Note: When the JTAGEN Fuse is unprogrammed, the four TAP pins are normal port pins, andthe TAP controller is in reset. When programmed, the input TAP signals are internallypulled high and the JTAG is enabled for Boundary-scan and programming. TheAT90USB device is shipped with this fuse programmed.

Page 14: Thermistor SCK 084 NTC

Using the AT90USBKey

2-14 AT90USBKey Hardware User Guide

7627A–AVR–04/06

Figure 2-10 . Connecting AVR JTAG ICE to AVRUSBKey

The Flash, EEPROM and all Fuse and Lock Bit options ISP-programmable can beprogrammed individually or with the sequential automatic programming option.

Note: See AVR Studio® on-line Help for information.

2.6 Debugging

2.6.1 Debugging with AVR JTAG ICE mkII

The AT90USBKey can be used for debugging with JTAG ICE MK II.

Connect the JTAG ICE mkII as shown in Figure 2-10, for debugging, please refer toAVR Studio® Help information.

When using JTAG ICE MK II for debugging, and as AT90USB parts are factoryconfigured with the higher security level set, a chip erase operation will be performed onthe part before debugging. Thus the on-chip flash bootloader will be erased. It can berestored after the debug session using the bootloader hex file available from ATMELwebsite.

Page 15: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 3-15

7627A–AVR–04/06

Section 3

Troubleshooting Guide

Figure 3-1 . Troubleshooting Guide

Problem Reason Solution

The Green “VCC-ON” LED is not on

No power supplyVerify the power supply source (check battery charge or USB connection).AVRUSBKey does not

work

The AT90USB cannot be programmed

The AVR JTAG ICE probe is not connected

Connect the JTAG ICE 10-PIN header to the correct AVRUSBKey JTAG header (page 13)

The memory lock bits are programmed

Erase the memory before programming with JTAG ICE.

The fuse bits are wrongly programmed

Check the fuse bits with JTAG ICE

Can not connect to USB bootloader

Force bootloader execution with HWB under reset.

USB bootloader erased after a JTAG debugging session: reprogram the USB bootloader with JTAG.

AVR Studio does not detect the AVR JTAG ICE.

Serial/USB cable is not connected, or power is off

Connect serial cable to RS232 (STK500 - AVR ISP) and check power connections

Connect serial cable to USB (JATG ICE MKII, AVR ISPmkIIl) and check power connections

PC COM port is in use

Disable other programs that are using PC COM port.

Change PC COM port

AVR Studio does not detect COM port.

Disable COM port auto-detection in AVR Studio file menu. Force COM port to correct COM port

Page 16: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 4-16

7627A–AVR–04/06

Section 4

Technical Specifications

� System Unit

– Physical Dimensions.....................................................L=90 x W=30 x H=8 mm– Weight ...........................................................................................................12 g

� Operating Conditions

– Internal Voltage Supply ............................................................................... 3.3V– External Voltage Supply .........................................................................8V -15V

� Connections

– USB Connector ......................................................................Mini AB receptacle– USB Communications .......................................................Full speed/low speed

– JTAG Connector.................................................... Footprint for HE10 connector

– All ports connectors.............................................................J1, J2, J4, J5, J6, J7– Battery connector ....................................................................... MTA right angle

Page 17: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 5-17

7627A–AVR–04/06

Section 5

Technical Support

For Technical support, please contact [email protected]. When requesting technicalsupport, please include the following information:

� Which target AVR device is used (complete part number)

� Target voltage and speed

� Clock source and fuse setting of the AVR

� Programming method (ISP, JTAG or specific Boot-Loader)

� Hardware revisions of the AVR tools, found on the PCB

� Version number of AVR Studio. This can be found in the AVR Studio help menu.

� PC operating system and version/build

� PC processor type and speed

� A detailed description of the problem

Page 18: Thermistor SCK 084 NTC

AT90USBKey Hardware User Guide 6-18

7627A–AVR–04/06

Section 6

Complete Schematics

On the next pages, the following documents of AT90USBKey are shown:

� Complete schematics,

� Bill of materials.

Page 19: Thermistor SCK 084 NTC

Complete Schematics

AT90USBKey Hardware User Guide 6-19

7627A–AVR–04/06

Figure 6-1 . Schematics, 1 of 2

C7

1uF

C32

16-A

VBU

S

RST

RST

DTS

M-3

AVC

C

PD[7

..0]

PD

[7..0

]

PA0

UC

AP C

apac

itor

Clo

sed

to th

e M

CU

VCC

PA1

R4

0 R06

03

PE0

PF7

PE2

PE1

PE4

PE3

PE6

PE[7

..0]

PE5

11

22

33

44

55

66

77

88

99

1010

J2 1.27

mm

Dua

lH

1.27

-10

PE7

PA3

UGND

(not mounted)

PE2

VCC

PA

[7..0

]P

A[7

..0]

PA

[7..0

]

PF0

PA2

RESET

PA4

PF2

Reset Circuit

UVC

ON VB

US

PA5

HW

B

HW

B

DTS

M-3

R1

0 R06

03

PF4

RES

ET

UG

ND

R8

0 R06

03

PA6

AGN

D

C1

100n

FC

0603

PF1

UC

AP

PA7

(not mounted)

(not mounted)

(not mounted)

PF3

PE2

PF[7

..0]

PC7

R5

0 R06

03

VCC

C9

220n

F

C06

03

(not mounted)

PE4

VCC

PB[7

..0]

PB

[7..0

]P

B[7

..0]

PE5

PC6

VCC

AVC

C

C2

100n

FC

0603

GN

D

Title

Size

Doc

umen

t Num

ber

Rev

Dat

e:Sh

eet

of

<Doc

>1.

0.0

CPU

A4

12

Mon

day,

Jan

uary

09,

200

6

PE6

PE6

PF6

PC5

PD0PD2

PD1

PD4

PD3

PD6

PD[7

..0]

PD5

(not mounted)

11

22

33

44

55

66

77

88

99

1010

J4 1.27

mm

Dua

lH

1.27

-10

PD7

PC4

QF

N6

4

VCC

PB0

VCC

Ferri

te &

cap

acito

rscl

osed

to th

e M

CU

PB0PB2

PB1

PB4

PB1

PB3

PB6

PB[7

..0]

PB5

11

22

33

44

55

66

77

88

99

1010

J6 1.27

mm

Dua

lH

1.27

-10

PB7

PA0

1-V_

BUS

3-D

+2-

D-

4-ID

5-G

ND

SHIE

LDSH

IELD

SHIE

LDSH

IELD

USB

_Min

iABF

<ASS

EMBL

Y>

J3

MIN

I_U

SBC

PA2

PA1

PA4

PA3

PA6

PA[7

..0]

PB2

PA5

PC3

PF[7

..0]

11

22

33

44

55

66

77

88

99

1010

J7 1.27

mm

Dua

lH

1.27

-10

PA7

R6

47k

R06

03

PE7

2

UVc

c3

D-

4

D+

5

UG

ND

6

UC

AP7

VBU

S8

PE3

9

PB0

10

PB1

11

PB2

12

PB3

13

PB4

14

PB5

15

PB6

16

PB717

PD025

PD126

PD227

PD328

PD429

PD530

PD631

PD732

PE418

PE519

AREF62

RESET20

GND53

GND63

GND22

XTAL223

XTAL124

PE0

33PE

134

PE6

1

PE2

43

PC0

35PC

136

PC2

37PC

338

PC4

39PC

540

PC6

41PC

742

PA7

44PA

645

PA5

46PA

447

PA3

48

PA249 PA150 PA051

PF754 PF655 PF556 PF457 PF358 PF259 PF160 PF061

VCC52

VCC21

AVCC64

AT90

USB

128

U1

QFN

64

PB3

UVC

ON

PE7

C5

100n

FC

0603

VCC

DEC

OU

PLIN

G C

APAC

ITO

RS

CLO

SED

TO

TH

E D

EVIC

EM

CU

Pin

3VB

US

PC2

PB4

Y1

8MH

z C

RY

STAL

8MH

z49

US

C11

15pF

C06

03

C10

15pF

C06

03

PC1

PB5

PC0PC2

PC1

PC4

PC3

PC6

PC[7

..0]

PC5

11

22

33

44

55

66

77

88

99

1010

J5 1.27

mm

Dua

lH

1.27

-10

PC7

VBU

S

AREF

PC0

PB6

PE[7

..0]

PE1

PB7

VCC

PF0

PE0

C8

220n

F

C06

03

UG

ND

UG

ND

UG

ND

UG

ND

UG

ND

PC[7

..0]

PC

[7..0

]

C3

100n

FC

0603

GN

DPF1

R3

22 R06

03

R7

47k

R06

03

R2

22 R06

03

RES

ET

D+

C4

100n

FC

0603

D-

UID

PE3

PF2

A90

USB

Key

VCC

GN

D

PD0

XTAL2

PD1PD2

PF5

PF3

PD3

AGN

D

CR

1

PGB0

0106

03

R06

03

PA

[7..0

]P

A[7

..0]

PA

[7..0

]

CR

2

PGB0

0106

03

R06

03

PD4

XTAL1

VCC

PD5

11

22

33

44

55

66

77

88

99

1010

J1 1.27

mm

Dua

lH

1.27

-10

PD6

DEC

OU

PLIN

G C

APAC

ITO

RS

CLO

SED

TO

TH

E D

EVIC

EM

CU

Pin

52

RES

ISTO

RS

CLO

SED

TO

TH

E D

EVIC

E

PD7

PF4

VCC

XTAL

2

VCC

UC

AP

PF7

UVC

C

D+

D- R

ESIS

TOR

SC

lose

d to

the

MC

U

PF5

Bootloader Activation

C6

100n

FC

0603

VCC

PA[7

..0]

VCC

AREF

DEC

OU

PLIN

G C

APAC

ITO

RS

CLO

SED

TO

TH

E D

EVIC

EM

CU

Pin

21

PF6XT

AL1

Page 20: Thermistor SCK 084 NTC

Complete Schematics

6-20 AT90USBKey Hardware User Guide

7627A–AVR–04/06

Figure 6-2 . Schematics, 2 of 2

PE0

VCC

3

!!! R21 not mounted

D2

IN1

GN

D2

OU

T3

U5

LM34

0

-

C14

4.7u

F

VCC

3

When mounting R21:

R20 not mounted

U4 not mounted

Allows to generate 3.3V

from U1 internal regulator

CAUTION: R21 default not mounted !!!

VBU

S ge

nera

tor f

or O

TG/H

OST

mod

e1�

F <C

ap V

bus

< 6�

F O

TG S

peci

ficat

ion

5V

VBU

S

VBAT

RES

ET

D4

LL41

48

PF[7

..0]

JTAG

Int

erfa

ce

VCC

DEC

OU

PLIN

G C

APAC

ITO

RC

LOSE

TO

TH

E C

ON

NEC

TOR

TCK

1G

ND

2

TDO

3VC

C4

TMS

5R

ESET

6

VCC

7n.

c.8

TDI

9G

ND

10

CO

N 2

x5

J9

CO

N 2

x52.

54 m

m J

TAG

CON

C20

100n

F

PF4

PF4

PF7

PF6

PF5

PF5

R26

0

VCC

3

VCC

VCC

3

R25

100k

- C16 4.7u

F

D1

TOPL

ED L

P M

676

POW

ER L

ED(R

ED)

R19

124k

1%

U3o

ut=1

.25*

(1+(

R15

+R18

)/R19

)

Temp

Sen

sor

PF[7

..0]

R29

NC

P18W

F104

J03R

B

R27

100k

PF0

VCC

R28

220k

R18

100k

1%

R13

1k

R30

100k

D3

LL41

48

Data

Fla

sh

A90U

SB K

ey

DEC

OU

PLIN

G C

APAC

ITO

R C

LOSE

TO

TH

E D

EVIC

EC

1210

0nF

PB[7

..0]

PB1

R9

100k

RES

ET

PB3

PB2

VBAT

VCC

Sele

ct5

Left

7

Up

3

Rig

ht6

Dow

n4

Com

11

Com

22

SW3

TPA5

11G

PE[7

..0]

Q1

BC84

7B

PB[7

..0]

PB6

PB5

PE5

PE4

PB7

Joys

tick

Int

erfa

ce

D5

SI1

SCK

2

RES

ET3

CS

4W

P5

VCC

6G

ND

7SO

8U

2

AT45

DB6

42D

CAS

ON

8

R14

1k

PF3

Title

Size

Doc

umen

t Num

ber

Rev

Dat

e:Sh

eet

of

<Doc

>1.

0.0

Powe

r & In

terf

aces

A4

22

Satu

rday

, Feb

ruar

y 18

, 200

6

R17

1k

LEDs

In-li

ne G

roup

ed L

EDs

PD

4

PD

5

PD

7

PD[7

..0]

PD

6R

221k

C17

220n

F

VBat

Mon

.

VCC

R23

1k

VCC

3

-

C19

4.7u

F

5V

PE1

VCC

3VC

C3

VCC

3

DEC

OU

PLIN

G C

APAC

ITO

R C

LOSE

TO

TH

E D

EVIC

EC

1310

0nF

RES

ET

PB1

R10

100k

PB3

PB2

SI1

SCK

2

RES

ET3

CS

4W

P5

VCC

6G

ND

7SO

8U

3

AT45

DB6

42D

CAS

ON

8

R12

100k

R24

10k

R15

100k

1%

MTA

Ext power supply

12

J8

C18

100n

F

VCC

OU

T1

IN2

GN

D3

OU

T4

FAU

LT8

SHD

N7

CC

6

SET

5

U4

LP39

82C

1533

nF

R11

100k

(not mounted)

M1

FDV3

04P/

FAI

D6

LL41

48

R16

0R

20

0

UC

AP

UVC

ON

R21

0

VCC VB

US

Page 21: Thermistor SCK 084 NTC

Complete Schematics

AT90USBKey Hardware User Guide 6-21

7627A–AVR–04/06

Table 6-1 . Bill of material

Item Q.ty Reference PartTech.

Characteristics Package

1 2 CR1,CR2 ESD protection (PGB0010603)

2 10 C1,C2,C3,C4,C5,C6,C12, C13, C18, C20

100nF 50V-10% Ceramic CASE 0603

3 1 C7 1uF 10Vmin ±10% EIA/IECQ 3216

4 3 C8,C9, C17 220nF 50V-10% Ceramic CASE 0603

5 2 C10, C11 15pF 50V-5% Ceramic CASE 0603

6 3 C14, C16, C19 4.7uF 10Vmin ±10% EIA/IECQ 3216

7 1 C15 33nF 50V-5% Ceramic CASE 0603

8 2 D2,D5 LED BI-COLOUR/ LSGT670 I=10 mA_ PLCC-4

9 1 D1 TOPLED/ LPM676-K2M1 I=10 mA_ PLCC-2

10 2 D3,D4 DII LL4148-7 i=200mA max LL-34

11 1 J3 USB mini AB receptacle Surface mount

12 0 J9 CON 2x5 (2.54mm) (Not Mounted)

13 0 J1,J2,J4,J5,J6,J7 1.27 mm Dual header (Not Mounted)

14 1 J8 Connector MTA 2 cts right angle

15 1 M1 FDV304P/FAI SOT23

16 1 Q1 BC847B IC peak=200mA SOT23

17 2 R2,R3 22 1/16W-5% SMD CASE 0603

18 1 R5 68k 1/16W-5% SMD CASE 0603

19 2 R6,R7 47k 1/16W-5% SMD CASE 0603

20 7 R1,R4,R5,R8,R16,R20, R26 0 CASE 0603

21 0 R21 0 (Not Mounted) CASE 0603

22 1 R28 220k 1/16W-5% SMD CASE 0603

23 7 R9,R10,R11,R12,R25,R27,R30

100k 1/16W-5% SMD CASE 0603

24 5 R13,R14,R17,R22,R23 1k 1/16W-5% SMD CASE 0603

25 2 R24,R28 10k 1/16W-5% SMD CASE 0603

26 1 R29 NCP18WF104J03RB 100K - ß=4250 CASE 0603

27 2 R15,R18 100k 1% 1/16W-1% SMD CASE 0603

28 1 R19 120k 1% 1/16W-1% SMD CASE 0603

29 2 SW1,SW2 PUSH-BUTTON / DTSM31N 6x3.5mm - 1.6N See DS

30 1 SW3 TPA511G 4 ways joystick + center CMS mount

31 1 U1 AT90USB1287 QFN64

32 2 U2,U3 AT45DB642D CASON8

33 1 U4 LP3982IMM-ADJ Vin Max 6V, 300mA MSOP8

34 1 U6 LM340MP5.0

35 1 Y1 8MHz CRYSTAL H=4mm HC49/4H

Page 22: Thermistor SCK 084 NTC

Printed on recycled paper.

7627A–AVR–04/06 /xM

© Atmel Corporation 2006. All rights reserved. Atmel®, logo and combinations thereof, are registered trademarks, and Everywhere You Are®

are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.

Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise,to anyintellectu-alproperty right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-TIONS OFSALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORYWAR-RANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICU-LARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIALOR INCIDEN-TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMA-TION) ARISING OUTOF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAM-AGES. Atmel makes norepresentationsor warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to makechanges to specificationsand product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein.Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended,authorized, or warranted for useas components in applications intended to support or sustainlife.

Atmel Corporation Atmel Operations

2325 Orchard ParkwaySan Jose, CA 95131, USATel: 1(408) 441-0311Fax: 1(408) 487-2600

Regional Headquarters

EuropeAtmel SarlRoute des Arsenaux 41Case Postale 80CH-1705 FribourgSwitzerlandTel: (41) 26-426-5555Fax: (41) 26-426-5500

AsiaRoom 1219Chinachem Golden Plaza77 Mody Road TsimshatsuiEast KowloonHong KongTel: (852) 2721-9778Fax: (852) 2722-1369

Japan9F, Tonetsu Shinkawa Bldg.1-24-8 ShinkawaChuo-ku, Tokyo 104-0033JapanTel: (81) 3-3523-3551Fax: (81) 3-3523-7581

Memory2325 Orchard ParkwaySan Jose, CA 95131, USATel: 1(408) 441-0311Fax: 1(408) 436-4314

Microcontrollers2325 Orchard ParkwaySan Jose, CA 95131, USATel: 1(408) 441-0311Fax: 1(408) 436-4314

La ChantrerieBP 7060244306 Nantes Cedex 3, FranceTel: (33) 2-40-18-18-18Fax: (33) 2-40-18-19-60

ASIC/ASSP/Smart CardsZone Industrielle13106 Rousset Cedex, FranceTel: (33) 4-42-53-60-00Fax: (33) 4-42-53-60-01

1150 East Cheyenne Mtn. Blvd.Colorado Springs, CO 80906, USATel: 1(719) 576-3300Fax: 1(719) 540-1759

Scottish Enterprise Technology ParkMaxwell BuildingEast Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000Fax: (44) 1355-242-743

RF/AutomotiveTheresienstrasse 2Postfach 353574025 Heilbronn, GermanyTel: (49) 71-31-67-0Fax: (49) 71-31-67-2340

1150 East Cheyenne Mtn. Blvd.Colorado Springs, CO 80906, USATel: 1(719) 576-3300Fax: 1(719) 540-1759

Biometrics/Imaging/Hi-Rel MPU/High Speed Converters/RF Datacom

Avenue de RochepleineBP 12338521 Saint-Egreve Cedex, FranceTel: (33) 4-76-58-30-00Fax: (33) 4-76-58-34-80

Literature Requestswww.atmel.com/literature