|Figure 1: Front of salvaged 16x2 LCD|
|Figure 2: Back of salvaged 16x2 LCD|
After searching online I found that almost all LCD's use a Hitachi HD44780 or compatible controller. The salvaged LCD looked similar to all other 16x2 LCD's I could find and also had 16 pins so there was a good chance it was the same.
The standard pin out for a LCD is shown below in Figure 3. Additional information can be found in the data sheet here.
|Figure 3: Pin out of Hitachi HD44780 compatible LCD|
To test the LCD connect the LCD pins as follows:
- VSS (pin 1) to GND
- VDD (pin 2) to 5V
- V0 (pin 3) to GND
- LED+ (pin 15) to 5V
- LED- (pin 16) to GND
Figure 4 below shows how to wire the 16x2 LCD for testing. For my testing I used a 5V DC power supply although a battery pack with 4xAA batteries would have worked also.
|Figure 4: Wiring diagram of 16x2 LCD test setup|
|Figure 5: Photo of successful LCD test result|