Connecting the STK502 LCD to the ATmega169

The segment-pins from the ATmega169 are located at PORTA, PORTC, PORTD, and PORTG. For simplicity in use they are all joined together on the header labeled "Segment pins from ATmega169". The header next to it, labelled “STK502 LCD pins” holds all the segments-pins for the LCD-display on the STK502.

all the segments-pins for the LCD-display on the STK502. By using the 34-lead cable that comes with the STK502-kit, the two pin-headers can be connected, allowing the ATmega169 to control the LCD-display. See Figure 1.

Figure 1. Connecting the ATmega169 to the STK502 LCD

CAUTION:

High-voltage Programming uses PORTB and PORTD. Be sure to disconnect any LCD-display connected to the ATmega169 during the High-voltage Programming. Otherwise the lifetime of the display may be reduced.

CAUTION:

When using PORTA, PORTC, PORTD, or PORTG as regular I/O ports, the corresponding LCD-segment pins must be disconnected from the ATmega169.