Analog value too high
Posted: Mon Aug 07, 2023 7:42 pm
For years I have been using the PIC 18F4685 for our equipment. Never had any issues however recently I had to use a PIC 18F4682 as the 5 was not available.
Everything seemed to be working normal until I realized that all the Analog values are a bit too high.
When applying a clean 2.5V on the an analog input, I ready a value of 522 / 523.
When I change the uP to a 4685 on the same PCB, it does ready the correct value of 512...
I have checked the data sheet but can't find any difference between the 2 uP's other then the memory size...
I'm using the VDD as the ref which is exactly 5V.
Not sure if this is a FC issue or a hardware problem...
Thanks
Henk
Everything seemed to be working normal until I realized that all the Analog values are a bit too high.
When applying a clean 2.5V on the an analog input, I ready a value of 522 / 523.
When I change the uP to a 4685 on the same PCB, it does ready the correct value of 512...
I have checked the data sheet but can't find any difference between the 2 uP's other then the memory size...
I'm using the VDD as the ref which is exactly 5V.
Not sure if this is a FC issue or a hardware problem...
Thanks
Henk