Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AVR Microcontrollers
ZL10AVR
ver. 3.0
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
ZL10AVR
Description
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/
Contents
http://www.kamami.com/
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!
http://www.kamami.com/
Board layout
http://www.kamami.com/
Microcontroller configuration
Active socket is selected by jumper mounted on JP21 switch.
JP21 closed pins
Active sockets
1-2
U4
2-3
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
U4
U5
ATtiny 2313
U6
AT90S1200, AT90S2313
U7
ATtiny 11, ATtiny 12, ATtiny 13, ATtiny 15, ATtiny 25, ATtiny 45, ATtiny 85, AT90S2323, AT90S2343
http://www.kamami.com/
http://www.kamami.com/
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
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
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
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 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
1-2
connected to U7
1-2
connected to U4
2-3
disconnected from U7
2-3
disconnected from U4
Configurations of JP11
Configurations of JP4
JP4 closed pins
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/
http://www.kamami.com/
10
Segments controlled by
1-2
PA
PB(30)
2-3
PB
PC(30)
3-4
PC
PD(3...0)
4-5
PD
PA(3...0)
Px0
Px1
Px2
Px3
Px4
Px5
Px6
DP
Px7
http://www.kamami.com/
http://www.kamami.com/
11
12
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
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
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
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
*
http://www.kamami.com/
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
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
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
http://www.kamami.com/
http://www.kamami.com/
17
18
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
IR receiver output
1-2
1-2
connected to PD2
1-2
2-3
connected to PB6
2-3
disconnected
http://www.kamami.com/
19
http://www.kamami.com/
20
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/
I/O headers
http://www.kamami.com/
21
22
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).
http://www.kamami.com/
Schematics
http://www.kamami.com/
23
24
http://www.kamami.com/