Folks,
OKAY: Details.
My reading of the PICkit 2 Users Guide tells me that AN0 is connected to the on board potentiometer. AN1 is available for my use.
I need to connect the light sensitive resistor to an analog to digital converting input. Please confirm that I am getting this correct.
Pin 20 is A to D input AN1 and available.
It has an input resistance of at least 1Kohm
I can choose my reference voltage to be either Vdd or Vss.
I would install a 1Kohm resistor from Pin 20 to Vdd.
If I were to choose a CDS cell that varies from 1Kohm in darkness to 24Kohm in bright light do you think the A to D on pin 20 could discern the difference?
Yes, a voltage regulator on the six volts. Thank you.
Ken
Bookmarks