AVR mega16/32 Mini development board Users...

5
EasyMCU Series AVR mega16/32 Mini Development Board AVR mega16/32 Mini development board Users Manual Version 1.0 All boards produced by SINTECH STUDIO Rev.A, Jully 2010 Copyright 2010, SINTECH STUDIO, All rights reserved

Transcript of AVR mega16/32 Mini development board Users...

Page 1: AVR mega16/32 Mini development board Users …irishelectronics.ie/WebRoot/Register365/Shops/950018241/...EasyMCU Series AVR mega16/32 Mini Development Board not be subject to high

EasyMCU Series AVR mega16/32 Mini Development Board

AVR mega16/32 Mini development board

Users Manual

Version 1.0

All boards produced by SINTECH STUDIO

Rev.A, Jully 2010 Copyright 2010, SINTECH STUDIO, All rights reserved

Page 2: AVR mega16/32 Mini development board Users …irishelectronics.ie/WebRoot/Register365/Shops/950018241/...EasyMCU Series AVR mega16/32 Mini Development Board not be subject to high

EasyMCU Series AVR mega16/32 Mini Development Board

CONTENT 1. Getting Started......................................................................................................................................... 3 2. Devices Supported............................................................................................................................... 3 3. Tools Requirement............................................................................................................................... 3 4. Power Requirement ............................................................................................................................. 3 5. Softwares Requirement ...................................................................................................................... 3 6. Board Features...................................................................................................................................... 3 7. Electrostatic Warning .......................................................................................................................... 3 8. Mega16/32 Processor Features ........................................................................................................ 4 9. Board layout,jumpers, ports and main modules description. ............................................... 4 10. Frequently Asked Questions........................................................................................................... 4

1).I try to power the board, but the board does not power up, what’s wrong? .............................. 4 2) How is power supplied to the experimenter’s board? .................................................................. 4 3) The Mega16/32 is no longer accessible via programmer/debugger, is something wrong with the device? ............................................................................................................................................ 4 4) I have loaded the Mega16/32 sample code, but It seem to be working very slowly, what’s wrong? .................................................................................................................................................. 4

Appendix A. Packing List ........................................................................................................................... 5 Appendix B. Board PCB ............................................................................................................................. 5 Appendix C. Board Schematic.................................................................................................................... 5 Appendix D. Contact Us.............................................................................................................................. 5

Page 3: AVR mega16/32 Mini development board Users …irishelectronics.ie/WebRoot/Register365/Shops/950018241/...EasyMCU Series AVR mega16/32 Mini Development Board not be subject to high

EasyMCU Series AVR mega16/32 Mini Development Board

1. Getting Started AVR mega16/32 Mini Development Board provides easy way for developing and prototyping with the new mega16/32 high-performance, microcontroller produced by ATMEL. AVR mega16/32 Mini Development Board has ISP and JTAG port for programming and debugging, UART, 8 status Leds, 4 user Buttons,INT0&INT1, and all of the GPIOs are taken out to make them available for further connections. 2. Devices Supported AVR mega16/32 Mini Development Board is based on the ATMEL high-performance microcontrollers. Residing on this board is the mega16/32 microcontrollers. 3. Tools Requirement An AVR programmer/dubugger is required to download code or debug the mega16/32. Programmers/Debuggers you can use on this board such as: ⑴AVR ONE ⑵AVR ISP ⑶AVR ISP MKII ⑷AVR JTAGICE ⑸AVR JTAGICE MKII ⑹AVR DREGON ⑺AVR STK200 ⑻AVR STK500 ⑼AVR STK600 ⑽AVR USBASP … If your Programmers/Debugger can power the board, ,the board will not need external power supply. 4. Power Requirement ⑴USB power Cables

Figure4-1

⑵External 6—12VDC

Figure4-2

You can select one of them to power your board. If your programmer/debugger can power your board,it is no need to use USB power Cables or External 6—12VDC. 5. Softwares Requirement ⑴. AVR Studio + WinAVR free development IDE, AVRICC or other development IDE. ⑵. Programming software for loading. 6. Board Features - CPU: mega16/32 microcontroller ⑴ISP 5x2 pin connector for in-circuit programming with AVR Programmers . ⑵ JTAG 5x2 pin connector for in-circuit programming and Simulating. ⑶ 7805,LM1117 and filtering capacitors.Two kinds of power supply: 6V-12V external power supply and 5.0V USB power supply. ⑷ System power supply selection:5V/3.3V. ⑸ Quartz crystal oscillator circuit 1-16Mhz. ⑹Reset circuit. ⑺ Status LED connected to I/O PA port via removable jumper. ⑻ RS232 DB-9 female connector. ⑼MAX232 circuit. ⑽ 4 independent keys ⑾ 2 External Interrupts:int0 and int1 ⑿PCB, 1.6 mm , blue solder mask, white silkscreen component print . ⒀Dimensions: 77mmx109mm 7. Electrostatic Warning AVR mega16/32 Mini Development Board is shipped in protective anti-static packaging. The board must

Page 4: AVR mega16/32 Mini development board Users …irishelectronics.ie/WebRoot/Register365/Shops/950018241/...EasyMCU Series AVR mega16/32 Mini Development Board not be subject to high

EasyMCU Series AVR mega16/32 Mini Development Board

not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board. 8. Mega16/32 Processor Features For detailed information of mega16/mega32 microcontroller, please refer to the datasheet named “Atmega16.pdf ” or “Atmega32.pdf ” included in the Product CD Rom. 9. Board layout,jumpers, ports and main modules description.

Figure9-1

Area Description Area Description 1 6-12V Power Input 10 ISP Programming Port 2 Power Switch 11 8 LEDs 3 USB Power Input 12 8 LEDs Enable Jumper 4 5V/3.3V Selection Jumper 13 mega16/mega32 core with pinouts 5 Power Led 14 System Clock (External Clock) 6 Power Output 15 System Reset Button 7 UART Port 16 INT0 & INT1 keys 8 MAX232 Circuit 17 4 User keys 9 JTAG Debugging Port 18

10. Frequently Asked Questions 1).I try to power the board, but the board does not power up, what’s wrong? Make sure that the POWER LED has turned on. If the LED is not on, check to see that the external power supply(DC6-12V) or the USB power is properly connected, check to see that the J6 is properly connected .It is necessary to note that the external power supply(DC6-12V) and the USB power can not be connected Simultaneously. 2) How is power supplied to the experimenter’s board? Three supply options exist: USB power Cables, external 6—12VDC and programmer/debugger power supplies are supported. You are only allowed to choose one of them. 3) The Mega16/32 is no longer accessible via programmer/debugger, is something wrong with the device? - Verify that the target device is powered properly. - If the target is powered locally, verify your programmer/debugger is connected properly. - If the programmer/debugger is connected properly, the Mega16/32 is possibly "dead". Well, it's not really dead, it's just that it can't be reprogrammed until the Mega16/32 is unlocked (for detailed method of unlocking an AVR device, please search for solution online). 4) I have loaded the Mega16/32 sample code, but It seem to be working very slowly, what’s wrong? Make sure the system clock had been changed . The AVR mega mega16/mega32 Mini Development Board has a default system of internal RC 8MHz system clock,and the sample codes in product CD-ROM is based on this default system clock.If the system clock had been changed to lower one like 1MHz,the board will work slowly.

Page 5: AVR mega16/32 Mini development board Users …irishelectronics.ie/WebRoot/Register365/Shops/950018241/...EasyMCU Series AVR mega16/32 Mini Development Board not be subject to high

EasyMCU Series AVR mega16/32 Mini Development Board

Appendix A. Packing List When you receive the products, please check the box to see if all accessories are complete. This product should include the following components: AVR mega mega16/mega32 Mini Development Board, 1 pcs; USB power supply cable, 1 pcs; CD-ROM or DVD-ROM, 1 pcs;

Appendix B. Board PCB

Appendix C. Board Schematic

1 2 3 4

A

B

C

D

4321

D

C

B

A Title

Number RevisionSize

A4

Date: 19-Dec-2010 Sheet of File: J:\AVR-51.Ddb Drawn By:

AGND 31

X113

X212

RESET9

PD2 (INT0)16

PD3 (INT1)17

PD4 (OC1B)18

PD5 (OC1A)19

PB0 (T0)1

PB1 (T1)2

PB2 (AIN0)3

PB3 (AIN1)4

PB4 (SS)5

PB5 (MOSI)6

PB6 (MISO)7

PB7 (SCK)8

(ADC0) PA0 40

(ADC1) PA1 39

(ADC2) PA2 38

(ADC3) PA3 37

(ADC4) PA4 36

(ADC5) PA5 35

(ADC6) PA6 34

(ADC7) PA7 33

PC0 22

PC1 23

PC2 24

PC3 25

PC4 26

PC5 27

(TOSC1) PC6 28

(TOSC2) PC7 29PD7 (TOSC2)21 PD6 (ICP)20

AVCC 30

AREF 32

PD1 (TXD)15 PD0 (RXD)14

GN

D11

VC

C10

mega16

VCC

VCCVCCVCC

VCC

VCC

VCC

VCC

VCCLED1

LED2

LED3

LED4

LED5

LED6

LED7

LED8

R1 1K

R2 1K

R3 1K

R4 1K

R5 1K

R6 1K

R71K

R8 1K

R1110K

R910K

R1010K

R13 10KR14 10KR15 10K

R16 10K

Y1

C222p

C122p

C8104

C6104

C9 104

C10 104

C13 104

C14 104RESET

RSTKey1

Key2

Key3

Key4

INT0INT1

D1

RESET

INT0INT1

INT0INT1

C1+ 1C1- 3C2+ 4C2- 5

T2in 10

T1in 11

V+2 V-6

VCC16

T2out7

T1out14

R1in13 R2in8

R1out 12R2out 9GND 15U1

MAX232

162738495

RXDTXD

TXD

RXD

11 2 2

33 4 4

55 6 6

77 8 8

99 10 10

ISP

11 2 2

33 4 4

55 6 6

77 8 8

99 10 10

JTAG

MOSI

MOSI

MISO

MISO

SCK

SCKRESET

VCC

JTAG-TCK

JTAG-TCK

JTAG-TMS

JTAG-TMS

JTAG-TDO

JTAG-TDO

JTAG-TDI

JTAG-TDI

L1

PB0PB1PB2PB3PB4PB5PB6PB7

PD0PD1PD2PD3PD4PD5PD6PD7

PA0PA1PA2PA3PA4PA5PA6PA7

UA

RT

ADC FILTER

PB0

PB1

PB2

PB3

12345678

J312345678

J1

12345678

J2

PA0

PA1

PA2

PA3

PA4

PA5

PA6

PA7

1 2 3 4

VCC

1 2 3 4

GNDVCC

C3104

C7 104

C11104

VCC

12

J5

12345678

J4

VCC

POWERLED

R121K

C5104

Vin1

GN

D2

+5V 3MC7805TGND 2

VCC 1

POWER

11

22

+C12

470u

5 5

6 6

VCC 1

DATA- 2

DATA+ 3

GND 4

USB

-PO

WE

R

USB-POWER

VIN3

GN

D1

VOUT 2LM1117

VCC

1 2 3J6

3.3v5v

D2

11 22 33

0

0

POWERSWITCHC4

VCC

Appendix D. Contact Us

e-mail:[email protected] QQ: 634503119 Web: www.mcufighter.com