ardfar:
Hi,
I am trying to use a digital potentiometer with my graphic LCD, I wired my AD5220 digital potentiometer as follows:
Vdd --> 5v power
B --> Gnd
CS --> Gnd
W --> Wiper pin 3 on graphic KS0108 LCD
GND --> Gnd
A --> contrast out pin 18 on graphic KS0108 LCD
U/D --> pin 1 set as output low
CLK --> pin 0 switches high and low to toggle wiper steps
My question is how do I wire this potentiometer so that it does not heat up?
Just seeing if I can picture what's going on.
Wiper pin is connected to pin #3 LCD (aka contrast pin). That's fine.
One end of the pot (ie. A) is connected to pin 18 (aka Vee pin of LCD) ....and that pin might have a default negative voltage on it...such as -8 Volt. That's fine too.
Now.... the other side of your pot (B) is connected to GND. You connected it.
I think what I really want.... is to just have A connected to pin 18, while 'B' should be connected to nothing. ie....don't connect B' to GND.
Otherwise, if you keep 'B' connected to GND, then there's going to be some sort of 3-way circuit going on.
Assuming.... just assuming that Vee has some internal default value of -8V. And assuming...just assuming that the internal ladder resistors are 2.2KOhm.
Then applying Kirchoff's Current Law to find Vo (contrast pin voltage) ...would be like...
(Vo - 5V)/(11.0 KOhm) + (Vo - 0)/(R-R1) + (Vo + 8V)/R1 = 0
Can solve for Vo, and then figure out how much power is being dissipated in each resistive portion of the potentiometer.
I don't know what your total potentiometer resistance (R) is. If R = 10000 Ohm, and if one side of the resistor is set to R1 = 2 KOhm..... then the other side of the potentiometer would just be 8 KOhm.
This circuit is just what I 'think' it might look like. Maybe you can try disconnecting side 'B' from ground....so keep 'B' totally disconnected.