Ok guys,
1.) Changed to 8 bits.
2.) Put caps 1uF on each side of the pic on the Vdd and Vss.
3.) No microwaves, no TVs, no fluorescent lights close to my project. I scanned my desk for any possible interferences but there is nothing.
4.) Put a .1 uF parallel with a 100K resistor at the ADCIN pin. Tried with different caps.
5.) Added a LED and it blinks ok. Do not see any skips or changes on the blinking rate.
6.) The only thing is that I could not find RF chokes locally (I'm in Panama Central America). I put a ferrite on the cable to the ADCIN pin just in case.
All of the above and problem still persists. I have not seen a single change on the way the erratic readins of voltage behave. I tried to see if there is a pattern to the erratic readings but can not see one.
Is this problem with erratic voltage readings something usual or rare? I have continued searching the web and I don'yt see anything that really talks about this.
Could this be a problem with the PIC18F4620? Or maybe I should not be using a breadboard?
Javier.
Bookmarks