Hi Folks,
Home again - so if anyone wants a kit please let me know this week.
Subbu,
Sorry for the delay. Please find the pinout below - but crosscheck it with the particular HD44780 LCD that you get, the below is quite standard but not 100% in my limited experience. I've noticed that Pin3 on the LCD varies a bit. From memory I think Pin3 and Pin15 can be used to vary the contrast and brightness.
| LCD Pin |
Description |
Board Pin |
Micro Pin |
| 1 |
GND |
|
|
| 2 |
+5V |
|
|
| 3 |
GND |
|
|
| 4 |
Register Select |
SW3 |
13 (PB1) |
| 5 |
R/W |
SW5 |
14 (PB2) |
| 6 |
Enable |
SW7 |
15 (PB3) |
| 7 |
NC |
|
|
| 8 |
NC |
|
|
| 9 |
NC |
|
|
| 10 |
NC |
|
|
| 11 |
DB4 |
LED1 |
16 (PB4) |
| 12 |
DB5 |
LED3 |
17 (PB5) |
| 13 |
DB6 |
LED5 |
18 (PB6) |
| 14 |
DB7 |
LED7 |
19 (PB7) |
| 15 |
+5V ( |
|
|
| 16 |
GND |
|
|
| |
Source Select SW |
SW1 |
12 (PB0) |
Code/hex to follow!
Cheers
Jamie