Hello,
I am using a simple 10kΩ to varry an analog voltage that I can read on an A/D input on a PIC. The reading I get is always 255 (max) or 0-10 (near min). I believe this is a ciruit problem. I have one pin on pot connected to ground and the other to +5V. The center wiper is connected directly to my input pin on my PIC (PIC16F690). When I just connect ground and power and measure center pin with multimeter the voltage varries fine, but when I hook it up to the PIC, the voltage does nothing while turning the knob, then drops to zero or 5V (depending on starting point). Any suggestions? Do I need other componenets in circuit?
I am using a simple 10kΩ to varry an analog voltage that I can read on an A/D input on a PIC. The reading I get is always 255 (max) or 0-10 (near min). I believe this is a ciruit problem. I have one pin on pot connected to ground and the other to +5V. The center wiper is connected directly to my input pin on my PIC (PIC16F690). When I just connect ground and power and measure center pin with multimeter the voltage varries fine, but when I hook it up to the PIC, the voltage does nothing while turning the knob, then drops to zero or 5V (depending on starting point). Any suggestions? Do I need other componenets in circuit?