ZL10AVR 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). ver. 1.0
2 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 and user can find on the board all of the 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. Complete power supply integrated on ZL10AVR board eliminates the need for an external regulated power supply. 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 module) ISP Kanda STK200 compatible connector (recommended ISP programmer: ZL2PRG) Analog potentiometer Reset pulse generator Integrated regulated power supply Supply 9 VDC/120 ma Built-in 3,3 V voltage regulator Easy access to regulated +3,3 V and +5 V power supply for external devices Simple CPLD logic (Xilinx 9572XL CPLD) used for convienient operations 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
3 Board configuration Block schematic of ZL10AVR board is shown in Fig. 1. Logic module integrated in CPLD works as a multiple switch simplifying connections between microcontroller s 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! Fig. 1. Block schematic of ZL10AVR board
4 Board layout Fig. 2. Board layout
5 Sockets Socket for microcontroller is selected by jumper mounted on JP21 switch. Active (selected) socket is indicated by LED (Fig. 3). Microcontrollers that can be used with specific socket are shown in Tab. 1. Tab. 1. Microcontrollers types for sockets mounted on ZL10AVR board Socket Microcontroller U1 ATtiny 11, ATtiny 12, ATtiny 13, ATtiny 15, ATtiny 25, ATtiny 45, ATtiny 85, AT90S2323, AT90S2343 U2 ATtiny 2313 U3 ATtiny 26 U4 AT90S1200, AT90S2313 U5 ATmega 8515, ATmega 161, ATmega 162 U6 ATmega 8, ATmega 48, ATmega 88, ATmega 168 U7 ATmega 32, ATmega 323, ATmega 16, ATmega 163, ATmega 8535, ATmega 164, ATmega 324, ATmega 644 Note! ATtiny 11/15 are not ISP programmable. Tab. 2. Socket selection (JP21) JP21 closed pins Active sockets 1-2 U6 2-3 U2, U4, U5, U7 3-4 U1, U3 Fig. 3. Active socket is indicated by LEDs 7-segment LED display Segments of LED display can be controlled by one of four port (8 lines): PORTA, PORTB, PORTC or PORTD. Active port is selected by JP17 (Tab. 3) simultaneously with display s cathodes drivers. Cathodes are controlled by 4 LSB lines of PORTA, PORTB, PORTC or PORTD. Displays segments are connected to I/O port lines as shown in Tab. 4. DIP-switch S2 selects number of active displays (non-active displays can be switched-off). Tab. 3. LED displays port selection (JP17) Tab. 4. Connection of LED diplays segments JP17 closed pins Segments controlled by Cathodes controlled by (MSD LSD) Displays segment I/O line (x=a/b/c/d) 1-2 PA PB(3 0) A Px0 2-3 PB PC(3 0) B Px1 3-4 PC PD(3...0) C Px2 4-5 PD PA(3...0) D Px3 E Px4 F Px5 G Px6 DP Px7
6 LEDs LEDs can be connected to one of four port: PORTA, PORTB, PORTC or PORTD. Active port is selected by JP22 (Tab. 5). Tab. 5. LEDs port selector (JP22) JP22 closed pins LEDs controlled by 1-2 PA 2-3 PB 3-4 PC 4-5 PD Alphanumeric LCD display Standard LCD display with HD44780 controller (LCD1602 module) can be mounted in W1 socket. Connections between microcontroller and display module lines are show in Tab. 6. Tab. 6. Connections between microcontroller and display module LCD module signal name LCD module pin AVR I/O lines RS 4 PB0 RW 5 PB1 E 6 PB2 D0 7 PD0 D1 8 PD1 D2 9 PD2 D3 10 PD3 D4 11 PD4 D5 12 PD5 D6 13 PD6 D7 14 PD7 Buzzer Buzzer Gl1 can be connected to PB0 line. Jumper JP23 disconnects buzzer (Tab. 6). Tab. 6. Buzzer connection JP23 closed pins Gl1 1-2 connected to PB0 2-3 disconnected
7 Analog potentiometer ZL10AVR board is equipped with analog potentiometer R48 allowing to regulate voltage between 0 and +5 V. Potentiometer can be connected to analog input on line PA0 or PC0 (Tab. 7). Tab. 7. Analog potentiometer configuartions JP24 closed pins JP25 closed pins Potencjometr R48 1-2 1-2 disconnected 1-2 2-3 connected to PA0 2-3 1-2 disconnected 2-3 2-3 connected to PC0 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 (Tab. 8). Tab. 8. Serial ports configurations JP8 closed pins JP12 closed pins Selected JP13 closed pins JP14 closed pins TxD RxD Configuration 1-2 1-2 disconnected disconnected 1-2 2-3 1-2 2-3 1-2 1-2 2-3 2-3 channel RxD RS232 channel RxD USB channel TxD RS232 channel TxD USB RS232 (TxD and RxD) USB (TxD and RxD) Note! Yellow colour marks recommended jumper positions. Serial interface disconnected 1-2 2-3 disconnected connected to PD0 1-2 2-3 disconnected connected to PD0 2-3 1-2 connected to PD1 disconnected 2-3 1-2 connected to PD1 disconnected 2-3 2-3 connected to PD1 connected to PD0 2-3 2-3 connected to PD1 connected to PD0 RS232 interface connected to microcontroler USB2RS232 interface connected to microcontroler
8 Crystal oscillator Crystal oscillator can be disconnected from X1 and X2 pins in U2, U3 and U6 sockets. Recommended configurations of jumpers JP2, JP3 (U2 socket), JP9, JP10 (U3 socket) and JP5, JP6 (U6 socket) are shown in Tab. 9 11. Tab. 9. Jumpers ascribed to U2 crystal pins 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 Tab. 10. Jumpers ascribed to U3 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 Tab. 11. Jumpers ascribed to U6 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 System reset jumpers Jumpers JP1, JP4, JP7 and JP11 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 in Tab. 12 15. Only one (active) socket can be connected to crystal generator and global RESET signal. In other case microcontroller will work incorrectly! Tab. 12. Configurations of JP1 JP1 closed pins External (global) RESET signal 1-2 connected to U1 2-3 disconnected from U1 Tab. 13. Configurations of JP4 JP4 closed pins External (global) RESET signal 1-2 connected to U2 2-3 disconnected from U2 Tab. 14. Configurations of JP7 JP7 closed pins External (global) RESET signal 1-2 connected to U6 2-3 disconnected from U6 Tab. 15. Configurations of JP11 JP11 closed pins External (global) RESET signal 1-2 connected to U3 2-3 disconnected from U3
9 IR receiver ZL10AVR board is equipped with TFMS5360 (U12) IR receiver. Possible connections of its output are shown in Tab. 16 and Tab. 17. Tab. 16. Configurations of JP19 JP19 closed pins 1-2 IR receiver output connected to PB6 or PD2 (Tab. 17) 2-3 disconnected Tab. 17. Configurations of JP20 JP20 closed pins IR receiver output 1-2 connected to PD2 2-3 connected to PB6 Microswitch keyboard ZL10AVR board is equipped with 16 microswitches connected as 4x4 matrix or simple 4x1 keyboard. Keyboard can be connected to any accesible I/O microcontroller port with IDC ribbon cable (ZL5 gold-pin header Fig. 4a). Tab. 18. Configurations of JP26 JP26 closed pins Keyboard configuration is 1-2 simply 4 x 1 switches (Fig. 4c) 2-3 matrix 4 x 4 (Fig. 4b) Fig. 4. Possibile keyboard configurations and ZL5 header signals
10 Matrix LED display Matrix (4x4 LEDs) LED display mounted on the ZL10AVR is connected to I/O port with 16 wires IDC ribbon cable. Connections of rows and columns of LEDs matrix is shown on Fig. 5. Fig. 5. LED matrix display connections I/O headers Fig. 6. Header Zl1 (PA I/O and GND power lines) Fig. 7. Header Zl2 (PB I/O and +3,3 V/200 ma power lines) Fig. 8. Header Zl3 (PC I/O and +5V/200 ma power lines) Fig. 9. Header Zl4 (PD and PE I/O, GND power lines)
11 ISP connector Signal connection in ISP connector (JP16, Kanda STK200 compatible) is shown on Fig. 10. Kamami recommends to use ZL2PRG ISP programmer. Complete schematic Fig. 10. ISP connector pins Circuit diagram is shown on Fig. 11. Recommended supply voltage is 9 VDC (8 12 VDC) connected via standard power jack. Polarisation of input voltage is not important bridge rectifier guarantees proper board operation in both possible cases. LED D1 signals that the power supply is connected. LED D2 lits when ISP programmer is active (works with ZL2PRG programmer).
12 Fig. 11. Complete electric schematic of ZL10AVR board
13 Contents of the package Code Description ZL10AVR ZL10AVR board (without microcontrollers and LCD display) 1 pcs. CD with documentation, software and Bascom examples 1 pcs. 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 BTC Korporacja 03-237 Warsaw, Poland ul. Inowlodzka 5 e-mail: office@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.