Page 1 of 1

EB006 V9 ADC confusion. [SOLVED]

Posted: Mon Apr 21, 2014 12:46 pm
by medelec35
Attached is a simple Flowchart that works on EB006 V7
Turning pot connected to PortA1 (An1) from min to max causes LCD to change from 0 to 255 as expected.
Connect hardware to EB006 V9 then send same flowchart then:
Turning pot connected to PortA1 from min to max causes LCD to change from 0 to 1 Not as expected!
When display is showing 1, the voltage measured on pin 3 of 16F1937 is 4.87V
Anyone else seeing this or is it just me?

What makes this even more odd is if I used a 16F1937 on Eb006 V7 ADC works fine.
If I use 16F877A in EB006 V9 ADC works fine.

So that's why I'm confused.

Martin

Re: EB006 V9 ADC confusion.

Posted: Tue Apr 22, 2014 8:56 am
by LeighM
Hi Martin,

That is odd, works OK on the EB006 V9 and 16F1937 I have.

Regards,
Leigh

Re: EB006 V9 ADC confusion. [SOLVED]

Posted: Tue Apr 22, 2014 10:11 pm
by medelec35
Thanks Leigh,
The issues was caused by a faulty ADC on the 16F1937 itself.

Reason why It appeared to work on a V7 programmer is I must have inadvertently placed my other target device in my old programmer as the chips were placed near each other.
Benj & I came to that conclusion this evening while Ben was testing all the possible scenarios.
Thanks for your help Ben it is appreciated. :)

Martin