background image

Complete Schematics

5-18

ATAVRAUTO200 User Guide

7698A–AUTO–01/07

Figure 5-3.  

ATAVRAUTO200 assembly drawing

LIN Motor by Mega88

C1

R10

C

6

C4

R

1

R12

Q1

B

O

O

T

R

1

6

R

1

8

R

5

R

2

R

2

0

U3

R3

C

1

2

C11

R13

R

2

3

R

1

5

C

1

3

C5 R6

DG

R4

R19 R22

Q2

D2

C8R8R7

HALL

R21

K1

C3

MOT

PM-06

V1.0

A

T

A

V

R

A

U

T

O

2

0

0

C10

R17

NISP

R14

C7

C9

C2

ICE&ISP

U2

F1

NRES

R

9

F

2

U1

D1

LIN

Summary of Contents for 7698AAUTO01/07

Page 1: ...ATAVRAUTO200 User Guide ...

Page 2: ...erview 1 1 Section 2 Using the ATAVRAUTO200 2 3 2 1 Overview 2 3 2 2 Power Supply 2 4 2 3 Oscillator Sources 2 4 2 4 On board Resources 2 4 2 5 In System Programming 2 8 2 6 Debugging 2 11 Section 3 Technical Specifications 3 13 Section 4 Technical Support 4 14 Section 5 Complete Schematics 5 17 ...

Page 3: ... and for prototyping and testing of new designs 1 1 Overview This document describes the ATAVRAUTO200 dedicated to the ATmega88 AVR micro controllers This board is designed to allow an easy evaluation of the product using demonstration firmware To increase its demonstrative capabilities this stand alone board has numerous on board resources motor relay motor FET hall sensor inputs current measurem...

Page 4: ...ce 1 LIN interface 1 3 and 2 0 compliant firmware library available on the ATMEL website for LIN 1 3 On board resources 1 LIN transceiver with internal regulator Relay for DC motor control Shunt Resistor for motor current measurement Speed Position measurement Inputs Power supply measurement System clock Internal RC oscillator Dimension 45 mm x 45 mm Note The ATmega88 is supported by AVR Studio ve...

Page 5: ...C3 MOT PM 06 V1 0 ATAV AV AV AV AV AV AVRA RA RA RA RAUT UT UT UTO2 O2 O2 O20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R1 R17 7 7 NI NI NISP P P P R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R14 4 4 4 4 4 4 4 4 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C9 C9 C9 C2 C2 C2 C2 C2 C2 C2 IC IC IC ICE ISP E ISP E ISP E ISP E ISP E ISP E ISP E ISP E ISP E ISP E ISP E ISP U2 U2 U2 U2 U2 U2 F1 F1 F1 NR NR NR NR NR NR NR NR NR ...

Page 6: ...llator run ning at 8MHz CLKPR 1 CLKPCE Clear Prescaler CLKPR 0 2 3 1 Interal RC oscillatorn A LIN Slave node with a run time oscillator calibration can be used with the internal RC oscillator At ambiant temperature and normal Vcc the internal oscillator is precise enough to be compliant with LIN 1 3 and 2 0 specifications For wider temperature and or power ranges a run time calibration of the inte...

Page 7: ...KΩ Input voltage on channel 1 of the ADC is limited to 5 1V by a zener diode This will give a voltage reading range from 0 to 18 1V with Vcc as reference The power supply measurement can be performed using the A D converter See the ATmega48 88 168 datasheet for how to use the ADC The input voltage value VIN is calculated with the following expression Where VIN Input voltage value V VADC7 Voltage v...

Page 8: ...2 Motor Relay commands Figure 2 5 Motor on board command schematics Function Port State Description Mot_A PB1 Low Relay coil1 OFF Normaly closed switch activated High Relay coil1 ON Normaly opened switch activated Mot_B PB2 Low Relay coil2 OFF Normaly closed switch activated High Relay coil2 ON Normaly opened switch activated Table 2 3 Logical command table Mot_A Mot_B Motor Supply Description L L...

Page 9: ...nput voltage value VADC 0 is calculated with the following expression Analog comparator allows peak current detection It provides interrupts on analog com parator output change See the ATmega48 88 168 datasheet for how to use the Analog comparator Comparison voltage is determined for a 12A peak which leads to VAIN0 1 5V Figure 2 6 Current Acquisition chain and current Peak detection 2 4 5 Speed Po...

Page 10: ...OT jumper can be used to switch from the application to the boot loader by firmware Not implemented in the example by reading the pin7 of PortB Figure 2 9 BOOT Jumper 2 5 In System Programming The ATmega88 can be programmed using specific SPI serial links This sub section will explain how to connect the programmer The Flash EEPROM memory and all Fuse and Lock Bit options ISP programmable can be pr...

Page 11: ...evice and the 6 pins connector is used for the AVRISP device To plug the ATAVRAUTO900 connector to the board the arrow on the adaptator has to be in front of the point on the board Figure 2 10 ATAVRAUTO900 Connection Table 2 4 ICE Connector PIN Function 1 TCK 2 GND 3 TDO 4 VCC 5 TMS 6 NRES 7 VCC 8 NC 9 TDI 10 GND Table 2 5 ISP Connector PIN Function 1 MISO 2 VCC 3 SCK 4 MOSI 5 NRES 6 GND JTAGICE I...

Page 12: ...AUTO900 Note See AVR Studio on line Help for information 2 5 3 Programming with AVR JTAGICEmkII The ATmega48 88 168 can be programmed using specific JTAG link 3 wire debug WIRE interface To use the AVR JTAGICEmkII with an ATAVRAUTO200 thr ATAVRAUTO900 adaptator has to be be used Then the JTAG probe can be connected to the ATAVRAUTO200 as shown in the following Figure 2 12 To use the JTAGICEmkII in...

Page 13: ...de 2 11 7698A AUTO 01 07 2 6 Debugging 2 6 1 Debugging with AVR JTAGICEmkII The ATAVRAUTO200 can be used for debugging with JTAG ICE MK II Connect the JTAG ICE mkII as shown in Figure 2 12 for debugging please refer to AVR Studio Help information ...

Page 14: ... 12 ATAVRAUTO200 User Guide 7698A AUTO 01 07 ...

Page 15: ... User Guide 3 13 7698A AUTO 01 07 Section 3 Technical Specifications System Unit Physical Dimensions L 45 x W 45 x H 8 mm Weight 25 g Operating Conditions Internal Voltage Supply 5 0V External Voltage Supply 7V 18V ...

Page 16: ...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 probl...

Page 17: ...ATAVRAUTO200 User Guide 5 15 7698A AUTO 01 07 Section 5 Complete Schematics On the next pages the following documents of ATAVRAUTO200 are shown Complete schematics Bill of materials Assembly drawing ...

Page 18: ...Complete Schematics 5 16 ATAVRAUTO200 User Guide 7698A AUTO 01 07 Figure 5 1 ATAVRAUTO200 schematic ...

Page 19: ...Complete Schematics ATAVRAUTO200 User Guide 5 17 7698A AUTO 01 07 Figure 5 2 ATAVRAUTO200 Bill of Materials ...

Page 20: ...gure 5 3 ATAVRAUTO200 assembly drawing LIN Motor by Mega88 C1 R10 C6 C4 R1 R12 Q1 BOOT R16 R18 R5 R2 R20 U3 R3 C12 C11 R13 R23 R15 C13 C5R6 DG R4 R19 R22 Q2 D2 C8R8R7 HALL R21 K1 C3 MOT PM 06 V1 0 ATAVRAUTO200 C10 R17 NISP R14 C7 C9 C2 ICE ISP U2 F1 NRES R9 F2 U1 D1 LIN ...

Page 21: ...95131 USA Tel 1 408 441 0311 Fax 1 408 487 2600 Regional Headquarters Europe Atmel Sarl Route 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 9778 Fax 852 2722 1369 Japan 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 0033 Japan Tel 81 3 ...

Reviews: