D. LCD Circuit [5] LCD pins are connected to the ATmega16 microcontroller ports are DB4 - DB7 with PC4 - PC7, enable pin with PC3, RS pin with PC2 and R/W pin is connected to GND. Contrast LCD pin is connected on 1 KOhm resistor that used as a light background LCD brightness control. Fig. 4. shows the LCD circuit.