Still seeing red with the ADC

Originally Posted by
Ioannis
Did you really bought the copy of PBP you have????
Did it came with it a MANUAL ???
Did you read the MANUAL ????
Didn't find any reference as to that PBP is NOT supporting floating maths ???
I am looking forward to you replying to the above so that we can continue support here.
Ioannis
P.S. If you are just connect the sensor to the PIC directly, your useful range will be limited (0C-100C is from 2,7315 to 3,7315 Volts). I suggest to use opamps and extend the range of the sensor from 0C->0Volts to 100C->5 Volts.
thanks for the quick responce
got PBP 2.47 from DONTRONICS here in melbourne
Yes. Read the 213 pages and even been looking up web sites with references. downloaded the data sheet read the A2D converter module.. CH 11 pg 127
ok just found 1 error in setting the TRISA had 8 bits set to 1 should have been 6 ie TRISA %111111 not TRISA %11111111
still not workin. even connected a 5k lin pot and got no responce.
and as Ioannis said using an opamp to extend the range i will be now
MY CODE WILL NOT COMPILE WITH THIS LINE
AD_RESULT = (ad_raw *0.48828) - 273.15
Had to do it this way
ad_result = (ad_raw * 48828)/1000
ad_result = ad_result/100
ad_result = (ad_result *27315)/100
WHY????????????????????????????????????????
HMMMMMMM very frustrating
IF ITS STOCK IT WONT ROCK
Bookmarks