CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

adc_read()
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
cerr



Joined: 10 Feb 2011
Posts: 241
Location: Vancouver, BC

View user's profile Send private message

PostPosted: Mon Sep 19, 2011 3:17 pm     Reply with quote

temtronic wrote:
Ok...another road to try...how about using an external 12bit ADC ? I know going 'backwards' but maybe possible solution ?!?!?

Any help in any of Microchip's forums or someone else's ???


Mmmh, no we woudl like to stay away from any PCBA changes in this stage of the project - if somehow possible...

And no help from the Microchip forum nor Microchip tech support (yet).... :(

And just as an addition to my last post, I did some further tests and it still doesn't work :( My ADC is maxed out at -22C (-7.6f) but I need to have a scale that goes down to at least -30C (-22f) :(

Any further help would be greatly appreciated!

Thank you!
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Sep 19, 2011 4:03 pm     Reply with quote

More options...once you've walked away from bashing the wall with your head.....been there,done that a few times....

How about just grabbing 2 breadboards, a 12bit ADC( LTC....), your thermistor, 'some ' PIC, LCD(2x16),cold spray and soldering iron and make a 'test jig' to see if it's the PIC you're using. I've got a couple of these 'minimal systems' (18 pin and 40 pin) to do 'proof of concept' stuff.
The lower breadboard holds the PIC on the left and the LCD on the right, 'peripherals of interest' go on the upper breadboard, typically RS232 MAX488 and Vinculum right now.
Let's face it, if it works on a breaboard, it'll work in a real PCB environment.
Even if you just spend 2 or 3 hours to PROVE you can read an external 12 bit ADC and little, older PIC setup, it's time well spent.

Have you been able to 'twiddle a pot' and read it correctly with your real system? A basic test but would be useful . Maybe start with 8 bit mode, then 10 then 12. Just a simple read adc+show on LCD program, NOTHING fancy. There may be some quirky interaction from some other subsystem, onboard periperal causing you grief. KISS is a great principle!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group