PDA

View Full Version : LM34D with a F675 woes



anode505
- 19th June 2010, 15:00
I'm trying making a simple temp controler.

I get no value change on the AD pin (GPIO.0) when connected to the LM34. But if I use a simple pot, the value changes just peachy (all through a serout2) So I figure the AD is set up right.

Other oddity is that with the Lm34 running standalone, my scope (a Fluke 196C Scope meter reads it just fine, but once connected to the PIC it jumps up a lot)
I'm figuring some sort of impedance prob?

TIA,
Dave

mat janssen
- 19th June 2010, 15:44
Please post your code so that we can see what you forgot in the config word to setup the adc, switchoff the comperator, etc. etc.

anode505
- 19th June 2010, 20:51
Got it sorta working. Moved to a different pin and its working well.

(though not sure why you'd think its a code issue if the pot as a voltage divider worked on that pin in question)

mat janssen
- 20th June 2010, 09:11
Which pin did you use first and what pin later on?

mackrackit
- 20th June 2010, 09:44
(though not sure why you'd think its a code issue if the pot as a voltage divider worked on that pin in question)
Below is the reason. Kind of hard to answer questions with out information...

Got it sorta working. Moved to a different pin and its working well.