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?
PIC18F2553 ADC and VREF
Moderator: Benj
- 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
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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
Hmmm - The chip is running internal 8mhz oscillator. But good thoughts regarding acq time and speed.