PIC18F2553 ADC and VREF

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
alanwms
Posts: 67
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

PIC18F2553 ADC and VREF

Post by alanwms »

Hello Ben. I have the zipped patches in my FC7 file but still having an issue specifically with analog3 on the pic18f2553. I have a temp sensor connected to AN3, and I have a voltage emanating from the pin. The voltage should be .7v and it is actually around 3.5v

I'm not sure but it looks to me like the Vref pin is switched on and I have settings indicating it should be off. I have tried a few tricks but have not succeeded in getting rid of this voltage.

I have a jpeg of the details attachedm- Can you confirm that the FC7 is handling the vref stuff correctly for me?
Attachments
Analog Issue 1.jpg
Analog Issue 1.jpg (246.13 KiB) Viewed 4240 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC18F2553 ADC and VREF

Post by Benj »

Hello Alan,

I've moved your post into a new topic.

Have you tried changing the conversion speed? 24MHz is probably a bit on the fast side. Might be worth trying to increase the acquisition time property too?

alanwms
Posts: 67
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

Re: PIC18F2553 ADC and VREF

Post by alanwms »

Hmmm - The chip is running internal 8mhz oscillator. But good thoughts regarding acq time and speed.

Post Reply