- Wed Jun 14, 2006 2:58 am
#14513
I got one of these nice black LCD displays from sparkfun, and on the product page it says it's based on the HD44780 controller, but the datasheet for the display says it uses the KS006U, or equivalent...are they equivalent?
http://www.sparkfun.com/commerce/produc ... cts_id=709
Now, I thought I had everything hooked up correctly but the microntroller doesn't seem to run when it's all connected. The datasheet, the stuff printed on the PCB, and what actually seems to work don't seem to match up.
The backlight works if I connect it according to the +/- markings on pins 15/16, which appear to be opposite the datasheet
Datasheet:
Pin 15 - K - Power supply for BKL (0V)
Pin 16 - A - +4.2V for BKL
(what do K and A stand for?)
PCB Markings (what works):
Pin 15 +
Pin 16 -
At the other end...
Datasheet:
Pin 1 - Vss - GND
Pin 2 - Vdd - +5V
Pin 3 - V0 - Contrast adjustment
Now, when everything is connected except pin 2 and I measure the voltage on pin 2 I get 0V! Thus when I connect pin 2 to Vdd it shorts and causes the microcontroller to turn off. What's going on?
Also, can someone explain the contrast adjustment? How does this get hooked up? I assume through a potentiometer somehow?
Some other things on the datasheet are confusing...
"BKL to be driven by pin1,pin2, or pin15,pin16, or A,K"
What does that mean?
And "N.V. optional"...what's N.V.?
http://www.sparkfun.com/commerce/produc ... cts_id=709
Now, I thought I had everything hooked up correctly but the microntroller doesn't seem to run when it's all connected. The datasheet, the stuff printed on the PCB, and what actually seems to work don't seem to match up.
The backlight works if I connect it according to the +/- markings on pins 15/16, which appear to be opposite the datasheet
Datasheet:
Pin 15 - K - Power supply for BKL (0V)
Pin 16 - A - +4.2V for BKL
(what do K and A stand for?)
PCB Markings (what works):
Pin 15 +
Pin 16 -
At the other end...
Datasheet:
Pin 1 - Vss - GND
Pin 2 - Vdd - +5V
Pin 3 - V0 - Contrast adjustment
Now, when everything is connected except pin 2 and I measure the voltage on pin 2 I get 0V! Thus when I connect pin 2 to Vdd it shorts and causes the microcontroller to turn off. What's going on?
Also, can someone explain the contrast adjustment? How does this get hooked up? I assume through a potentiometer somehow?
Some other things on the datasheet are confusing...
"BKL to be driven by pin1,pin2, or pin15,pin16, or A,K"
What does that mean?
And "N.V. optional"...what's N.V.?
-tom