# PIC A/D question

Discussion in 'Microcontrollers, Programming and IoT' started by Rajinder, Mar 4, 2016.

1. ### Rajinder

419
7
Jan 30, 2016
Hi,
I am looking to use a PIC A/D channel, the PIC is PICLF1936. I have used a forward biased diode connected with a 1K resistor to measure temperature, every 2mV gives a degree change.
I am trying to implement the same with a voltage divider. The network set to 500mV, using a 10k (source resistor) and 2K connected to 0V. The source voltage being adjusted from a DAC. Set to 3.3V. Is there any thing that I might have missed, in particular A/D impedance if PIC etc.
Rajinder

5,164
1,078
Dec 18, 2013
Do you have a circuit diagram you can post here. Everything sounds ok and the data sheet will tell you the max input resistance recommended. This does depend on the time required to make the reading. It the resistance is too high and you are sampling too quickly you may get inaccurate readings.
Thanks

3. ### Rajinder

419
7
Jan 30, 2016
Best regards,
Rajinder

Arouse1973 likes this.
4. ### Rajinder

419
7
Jan 30, 2016
Sorry for the delay in getting back. I have attached a circuit diagram. The Output voltage from the DAC will be adjusted 0-3.0V. The voltage from the potential divider fed into the A/D channel of the PIC. The voltage divider gives 500mV. I need this to be between 500mV to 640mV. I know the PIC source impedance is 10K max but not sure on impedance looking in from the 2K resistor side. Can you clear a point out for me too. For example if the A/D channel has a input impedance if 20K, does that mean I need something greater than this so it doesn't load the voltage I'm looking at this from a potential divider, if I have 2 x 10K potential divider, then if I wanted to put a load across the bottom resistor it needs to be at least x10 greater I.e. 100K. Is this the same with impedances?
I look forward to hearing from you.
Best regards,
Rajinder

5,164
1,078
Dec 18, 2013
Hi Rajinder, I cant see the circuit.

6. ### Rajinder

419
7
Jan 30, 2016
Here it is.
Best regards,
Rajinder

File size:
125.8 KB
Views:
86
7. ### Bluejets

3,681
751
Oct 5, 2014
Googled for specs on PICLF1936 but nothing comes up.

Are you sure you have the correct PIC number?

8. ### Rajinder

419
7
Jan 30, 2016
Sorry should be PIC16LF1936, my mistake.

4,301
2,019
Jun 21, 2012
10. ### Harald KappModeratorModerator

9,540
1,967
Nov 17, 2011
@Rajinder : Please remember to always include a circuit diagram in your posts from the start. Do not let us ask for one every time. While it may look simple and easy for you to understand your verbal explanations - remember that we do not have the comfort of looking at your circuit and have a hard time imagining what you are talking about.
As the saying goes: "a picture is worth a thousand words".