Sei sulla pagina 1di 24

Versatile Evaluation Board for

AVR Microcontrollers

Thank you for buying ZL10AVR evaluation


board. We hope that the power and quality
of our tool allow you to appreciate the
advantages of AVR microcontrollers (AT90S,
ATmega and ATtiny families).

ZL10AVR

ver. 3.0

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Introduction
ZL10AVR is a versatile evaluation board designed for engineers and hobbyists who want to prototype systems based on
AVR microcontrollers (AT90S, ATmega and ATtiny families in DIP8, DIP20, DIP28 and DIP40 packages). ZL10AVR
is equipped with 7 DIP sockets suitable for most of AVR family microcontrollers. LEDs mounted near sockets indicate
socket suitable for selected microcontroller. Developer has access to all microcontroller pins (only one microcontroller
can be installed at the same time!), which are brought to gold-pin connectors. Board's configuration is complete, user
can find on the board following components: USB interface connector (for ZL1USB module), analog potentiometer,
8 MHz crystal oscillator, 4 LED displays, buzzer, RS232 interface with DB9F connector, 4x4 LED matrix, configurable
keyboard (1x4 or 4x4 buttons), 8 LEDs, RC5 infrared receiver with TTL output, ISP connector and socket for LCD
display (2x16 characters). Thanks to simple PLD logic (from Xilinx) incorporated on the board, most of integrated
peripherals can be easy and comfortably connected to any port (PORTA, PORTB, PORTC or PORTD) available in
microcontroller used in the application. The gold-pin headers provide access to easy connection of matrix keyboard and
matrix display. ZL10AVR board comes with examples of Bascom programs.

Features

Compatible with most of AVR family microcontrollers (AT90S, ATmega, ATtiny families)
RS232 interface (with level converter and DB9F connector)
4-digit, 7-segment, multiplexed LED common cathode display
Socket for LCD 2 x16 character display (LCD1602 module)
8 LEDs
16 LEDs configured as 4x4 matrix
Configurable microswitch 4x4 or 4x1 keyboard
Integrated infrared RC5 receiver with TTL output
Buzzer
Socket for USB interface (ZL1USB_A module)
ISP Kanda STK200 compatible connector (recommended ISP programmer: ZL2PRG)
Analog potentiometer
Reset pulse generator
Integrated regulated power supply
Supply 9 VDC/250 mA
Built-in 3,3 V voltage regulator
Easy access to regulated +3,3 V and +5 V power supply for external devices

Supported microcontrollers

Devices supported by ZL10AVR:


AT90: AT90S1200, AT90S2313, AT90S2323, AT90S2343
ATtiny: ATtiny11, ATtiny12, ATtiny13, ATtiny15, ATtiny25, ATtiny26, ATtiny45, ATtiny85, ATtiny2313
ATmega: ATmega8, ATmega16, ATmega32, ATmega48, ATmega88, ATmega161, ATmega162, ATmega163,
ATmega164, ATmega168, ATmega323, ATmega324, ATmega644, ATmega8515, ATmega8535
ZL10AVR board is compatible with most of new AVR microcontrollers in DIP8/20/28 and DIP40 packages.

Contents of the package


Code

ZL10AVR

Description

ZL10AVR board (without microcontrollers and LCD display)

Technical assistance
For technical assistance, please contact support@kamami.com.
Please provide the following data:
Version of the operating system
Microcontroller type used in your system and its oscillator frequency
Detailed description of the problem

1 pcs.

BTC Korporacja
05-120 Legionowo, Poland
ul. Lwowska 5
e-mail: ofce@kamami.com
http://www.kamami.com

Disclaimer
BTC Korporacja makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document nor does it make a commitment to update the information contained herein.
BTC Korporacja products are not intended for use in medical, life saving or life sustaining applications.
BTC Korporacja retains the right to make changes to these specifications at any time, without notice.
All product names referenced herein are trademarks of their respective companies.

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Contents

Board configuration .................................................................................................................................................4


Board layout .............................................................................................................................................................5
Microcontroller configuration ..................................................................................................................................6
7-segment LED display .........................................................................................................................................10
LEDs ......................................................................................................................................................................12
Alphanumeric LCD display ...................................................................................................................................13
Analog potentiometer.............................................................................................................................................14
Buzzer ....................................................................................................................................................................15
RS232/USB interface .............................................................................................................................................16
IR receiver ..............................................................................................................................................................18
Matrix LED display ...............................................................................................................................................19
Microswitch keyboard ...........................................................................................................................................20
I/O headers .............................................................................................................................................................21
ISP connector .........................................................................................................................................................22
Schematics .............................................................................................................................................................23

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Board configuration
Block schematic of ZL10AVR board is shown below. Logic module integrated in CPLD works as a multiple switch
simplifying connections between microcontrollers ports and 7-segment multiplexed display, 8 LEDs and ISP connector.
Peripherals like: crystal resonator, potentiometer, buzzer, IR receiver, RS232 interface, USB interface can be connected/disconnected to/from microcontroller with few dedicated jumpers.

Only one microcontroller at the time can be used with ZL10AVR board!

Block schematic of ZL10AVR board

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Board layout

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Microcontroller configuration
Active socket is selected by jumper mounted on JP21 switch.
JP21 closed pins

Active sockets

1-2

U4

2-3

U2, U3, U5, U6

3-4

U1, U7

Active (selected) socket is indicated by LED. Microcontrollers that can be used with specific sockets are shown
below.
Socket

Microcontroller

U1

ATtiny 26

U2

ATmega 32, ATmega 323, ATmega 16, ATmega 163, ATmega 8535, ATmega 164, ATmega 324, ATmega 644

U3

ATmega 8515, ATmega 161, ATmega 162

U4

ATmega 8, ATmega 48, ATmega 88, ATmega 168

U5

ATtiny 2313

U6

AT90S1200, AT90S2313

U7

ATtiny 11, ATtiny 12, ATtiny 13, ATtiny 15, ATtiny 25, ATtiny 45, ATtiny 85, AT90S2323, AT90S2343

Note! ATtiny 11/15 are not ISP programmable.

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Crystal oscillator can be disconnected from X1 and X2 pins in U1, U4 and U5 sockets. Recommended configurations of jumpers JP9, JP10 (U1 socket), JP2, JP3 (U5 socket) and JP5, JP6 (U4 socket) are shown below.
Jumpers ascribed to U1 crystal pins
JP9 closed pins

JP10 closed pins

Crystal X1

1-2

1-2

connected to X1 i X2 of U3 socket

2-3

2-3

disconnected

1-2

2-3

Not allowed

2-3

1-2

Not allowed

Jumpers ascribed to U4 crystal pins


JP5 closed pins

JP6 closed pins

Crystal X1

1-2

1-2

connected to X1 i X2 of U6 socket

2-3

2-3

disconnected

1-2

2-3

Not allowed

2-3

1-2

Not allowed

JP2 closed pins

JP3 closed pins

Crystal X1

1-2

1-2

connected to X1 i X2 of U2 socket

2-3

2-3

disconnected

1-2

2-3

Not allowed

2-3

1-2

Not allowed

Jumpers ascribed to U5 crystal pins

Jumpers JP1 (socket U7), JP4 (socket U5), JP7 (socket U4) and JP11 (socket U1) are used to connect microcontroller RESET input to reset signal generator (U10), manual reset button S1 and RESET signal generated by ISP
programmer. Recommended configurations of these jumpers are shown below.
Configurations of JP7

Configurations of JP1
External (global) RESET signal

JP7 closed pins

1-2

connected to U7

1-2

connected to U4

2-3

disconnected from U7

2-3

disconnected from U4

JP1 closed pins

External (global) RESET signal

Configurations of JP11

Configurations of JP4
JP4 closed pins

External (global) RESET signal

JP11 closed pins

External (global) RESET signal

1-2

connected to U5

1-2

connected to U1

2-3

disconnected from U5

2-3

disconnected from U1

Only one (active) socket can be connected to crystal generator and global RESET signal. In other
case microcontroller will work incorrectly!

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Examples of board configurations


ATmega32, external resonator

Microcontroller in U2 socket. Jumpers configuration:


JP21 (SOCKET) 2-3 (U2/3/5/6)
JP11 (U1 GRES) 2-3 (Off)
JP9 (U1 CRYST) 2-3 (Off)
JP10 (U1 CRYST) 2-3 (Off)
JP5 (U4 CRYST) 2-3 (Off)
JP6 (U4 CRYST) 2-3 (Off)
JP7 (U4 GRES)
2-3 (Off)
JP2 (U5 CRYST) 2-3 (Off)
JP3 (U5 CRYST) 2-3 (Off)
JP4 (U5 GRES)
2-3 (Off)
JP1 (U7 GRES)
2-3 (Off)

ATtiny2313, external resonator

Microcontroller in U5 socket. Jumpers configuration:


JP21 (SOCKET) 2-3 (U2/3/5/6)
JP11 (U1 GRES) 2-3 (Off)
JP9 (U1 CRYST) 2-3 (Off)
JP10 (U1 CRYST) 2-3 (Off)
JP5 (U4 CRYST) 2-3 (Off)
JP6 (U4 CRYST) 2-3 (Off)
JP7 (U4 GRES)
2-3 (Off)
JP2 (U5 CRYST) 1-2 (On)
JP3 (U5 CRYST) 1-2 (On)
JP4 (U5 GRES)
1-2 (On)
JP1 (U7 GRES)
2-3 (Off)

ATtiny2313, internal oscillator

Microcontroller in U5 socket. Jumpers configuration:


JP21 (SOCKET) 2-3 (U2/3/5/6)
JP11 (U1 GRES) 2-3 (Off)
JP9 (U1 CRYST) 2-3 (Off)
JP10 (U1 CRYST) 2-3 (Off)
JP5 (U4 CRYST) 2-3 (Off)
JP6 (U4 CRYST) 2-3 (Off)
JP7 (U4 GRES)
2-3 (Off)
JP2 (U5 CRYST) 2-3 (Off)
JP3 (U5 CRYST) 2-3 (Off)
JP4 (U5 GRES)
1-2 (On)
JP1 (U7 GRES)
2-3 (Off)

ATmega8, external resonator

Microcontroller in U4 socket. Jumpers configuration:


JP21 (SOCKET) 1-2 (U4)
JP11 (U1 GRES) 2-3 (Off)
JP9 (U1 CRYST) 2-3 (Off)
JP10 (U1 CRYST) 2-3 (Off)
JP5 (U4 CRYST) 1-2 (On)
JP6 (U4 CRYST) 1-2 (On)
JP7 (U4 GRES)
1-2 (On)
JP2 (U5 CRYST) 2-3 (Off)
JP3 (U5 CRYST) 2-3 (Off)
JP4 (U5 GRES)
2-3 (Off)
JP1 (U7 GRES)
2-3 (Off)

http://www.kamami.com/

10

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

7-segment LED display


Segments of LED displays can be controlled by one of four microcontroller I/O ports (8 lines each): PORTA,
PORTB, PORTC or PORTD. Active port is selected by JP17 (LED_DSP) simultaneously with displays cathodes
drivers. Cathodes are controlled by 4 LSB lines of PORTA, PORTB, PORTC or PORTD.
LED displays port selection (JP17 - LED_DSP)
JP17 closed pins

Segments controlled by

Cathodes controlled by (MSDLSD)

1-2

PA

PB(30)

2-3

PB

PC(30)

3-4

PC

PD(3...0)

4-5

PD

PA(3...0)

Displays segments are connected to I/O port lines as shown below.


Connection of LED diplays segments
Displays segment

I/O line (x=A/B/C/D)

Px0

Px1

Px2

Px3

Px4

Px5

Px6

DP

Px7

DIP-switch S2 selects number of active displays (non-active displays can be switched-off).

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

http://www.kamami.com/

11

12

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

LEDs
LEDs can be connected to one of four ports: PORTA, PORTB, PORTC or PORTD. Active port is selected by
JP22.
LEDs port selector (JP22)
JP22 closed pins

LEDs controlled by

1-2

PA

2-3

PB

3-4

PC

4-5

PD

http://www.kamami.com/

13

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Alphanumeric LCD display


Standard LCD display with HD44780 compatible controller (LCD1602 module) can be mounted in W1 socket.
Connections between microcontroller and display module lines are show below.
Connections between microcontroller and display module
LCD module signal name

LCD module pin

AVR I/O lines

RS

PB0

RW

PB1

PB2

D0

PD0

D1

PD1

D2

PD2

D3

10

PD3

D4

11

PD4

D5

12

PD5

D6

13

PD6

D7

14

PD7

http://www.kamami.com/

14

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Analog potentiometer
ZL10AVR board is equipped with analog potentiometer R8 allowing to regulate select form 0 up to +5 V.
Potentiometer can be connected to analog input on line PA0 or PC0 as shown below.
Analog potentiometer configurations
JP24 closed pins

JP25 closed pins *

Potentiometer R8

1-2

1-2

disconnected

1-2

2-3

connected to PA0

2-3

1-2

disconnected

2-3

2-3

connected to PC0
*

There is an error on Top Overlay: potentiometer R8


is disconnected, when jumper JP25 is in position
On (closed pins 1-2). Potentiometer R8 is connected, when jumper JP25 is in position Off (closed
pins 2-3).

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Buzzer
Buzzer Gl1 can be connected to PB0 line. Jumper JP23 (SPEAKER) disconnects buzzer.
Buzzer connection
JP23 closed pins

Gl1

1-2 (On)

connected to PB0

2-3 (Off)

disconnected

http://www.kamami.com/

15

16

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

RS232/USB interface
ZL10AVR board is equipped with:
DB9F connector connected to MAX232-compatible voltage converter (RS232 interface),
JP15 socket for USB2RS232 interface module (recommended type is ZL1USB).
Serial interfaces are configured by JP8, JP12, JP13 and JP14 jumpers.
Serial ports configurations
JP8 closed
pins

JP12 closed
pins

Selected

JP13 closed JP14 closed


pins
pins

1-2

1-2

channel RxD
RS232

2-3

1-2

TxD

RxD

Configuration

1-2

disconnected

disconnected

Serial interface
disconnected

1-2

2-3

disconnected

connected to PD0

channel RxD
USB

1-2

2-3

disconnected

connected to PD0

channel TxD
RS232

2-3

1-2

connected to PD1

disconnected

2-3

channel TxD
USB

2-3

1-2

connected to PD1

disconnected

1-2

1-2

RS232 (TxD
and RxD)

2-3

2-3

connected to PD1

connected to PD0

RS232 interface
connected to microcontroler

2-3

2-3

USB (TxD
and RxD)

2-3

2-3

connected to PD1

connected to PD0

USB2RS232 interface
connected to microcontroler

Note! Yellow colour marks recommended jumper positions.

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

http://www.kamami.com/

17

18

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

IR receiver
ZL10AVR board is equipped with TFMS5360 (U12) IR receiver. Possible connections of its output are shown
below.
Configurations of JP19 and JP20
JP19 closed pins

JP20 closed pins

IR receiver output

1-2

1-2

connected to PD2

1-2

2-3

connected to PB6

2-3

disconnected

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

19

Matrix LED display


Matrix (4x4 LEDs) LED display mounted on the ZL10AVR is connected to I/O port with 16 wires IDC ribbon cable (not included). Connections of rows and columns of LEDs matrix is shown below. We recommend to use only
one LED in each row at the time, to avoid lumination intensity modulation.

http://www.kamami.com/

20

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Microswitch keyboard
ZL10AVR board is equipped with 16 microswitches connected as 4x4 matrix or simple 4x1 keyboard (with 0
logic level active). Keyboard can be connected to any accesible I/O microcontroller port with IDC ribbon cable (zl5
gold-pin header).
Configurations of JP26
JP26 closed pins

Keyboard configuration is

1-2

simply 4 x 1 switches

2-3

matrix 4 x 4

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

I/O headers

http://www.kamami.com/

21

22

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

ISP connector
Pin layout of ISP connector (JP16, Kanda STK200 compatible) is shown below. Kamami recommends using
ZL2PRG ISP programmer (for PC with parallel port) or KamProg for AVR (for PCs with USB).

ISP connector pins

http://www.kamami.com/

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

Schematics

http://www.kamami.com/

23

24

ZL10AVR Versatile Evaluation Board for AVR Microcontrollers

http://www.kamami.com/

Potrebbero piacerti anche