I got it working but have no clue why .
If i do what is on the pic :
http://www3.sympatico.ca/lerameur/
then it works.
In this manner the output voltage also moved at the same time as the reference voltage no ?
I got it working but have no clue why .
If i do what is on the pic :
http://www3.sympatico.ca/lerameur/
then it works.
In this manner the output voltage also moved at the same time as the reference voltage no ?
Hi,
I think ( ! ) a look to the '88 Datasheet ( ADC config ) could help you a bit ...
Alain
PS: common diodes as voltage refs ... that's a bit rock and roll ...
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I just changes the circuit a bit. I have new ideas this morning. night was good.
I am getting 1.06v steady on the diode as reference. My voltage divider shows me 0.7, but I am getting zero as output now.
Is it the hardware or the programming ?
I posted a new pic.
http://www3.sympatico.ca/lerameur/
also changed this line:
ADCON1 = %10010010
ken
Last edited by lerameur; - 29th January 2007 at 14:36.
I got it going somehow. I dont even know what I was doing wrong...
maybe I am still sleeping
k
Last edited by lerameur; - 29th January 2007 at 17:18.
Ok I think I know where lies the confusion.
Ihave two batteries I want to check.I can check the battery that powers the microcontroller with voltage reference. I am trying to check the second battery . There is no common ground and I dont want one because of the isolation I want to have. Therefore I think when I do an A/D, is reads as a floating value.
How do I go around this ?
Bookmarks