Quote Originally Posted by exelanoz
A wall type plugpack or a benchtop powersupply?

Have your tried buying another linear potentiometer?

what about your LCD display?
Start up pause?
are you clearing the display or just writing over old values?

I assume you have a PIC 16F84A with the appropriate powersupply, a crystal...an LCD and POT attached with 2 wires and a cap. Right?

When you say it moves erratically, does it move 1 or 2 values up or down during idle? Or does it move in much bigger increments?
1. I'm using a wall type plugback

2. I have tried 5 different pots. all the same

3. Here is my output for the lcd
lcdout $FE, 1, "Damper Position", $FE, $C0, " ", dec dig3, dec dig2, ".", dec dig1, dec dig0, "mm"

4. I am using a 4MHz crystal, and the pot connected with 2 wires only.

5. The values change by 1-2 units out of 255 total units.

Also, when I allow the program to run continuously, the value steadily drops until it levels off at a certain point, far from where it started.