Temperature sensor to OP Amps

Forum for problems or queries regarding other Flowcode Components. Eg LEDs, Switches, LCD, Gfx LCD etc

Moderators: Benj, Mods

Post Reply
Sufre Haji Muhamad
Flowcode V4 User
Posts: 16
Joined: Sat Jan 17, 2009 4:22 am
Has thanked: 4 times

Temperature sensor to OP Amps

Post by Sufre Haji Muhamad »

HI, I am working with PIC16F877A to operate a motor using a temperature sensor (LM35DZ) reading in Deg Celcius with output 10mV = 1C, as far as I know, it needs LM358 (operational amplifier). Does any body have experience how to connect these components to the PIC? Is there any other technique being used for this purpose? Help me please....

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: Temperature sensor to OP Amps

Post by medelec35 »

If you use a 10 Bit ADC (ReadAsInt) then Resolution is approx 4.9mV. Or have though of a using lower external reference voltage for ADC to increase sensitivity? I believe that requires the FCD file for you chip to be modified. I'm not saying these are better, just a bit eaiser.
Martin

Sufre Haji Muhamad
Flowcode V4 User
Posts: 16
Joined: Sat Jan 17, 2009 4:22 am
Has thanked: 4 times

Re: Temperature sensor to OP Amps

Post by Sufre Haji Muhamad »

I don't understand what is FCD file, please explain...Thanks.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Temperature sensor to OP Amps

Post by Benj »

FCD files are the definition files used by Flowcode to give specific information about your microcontroller. In v3 the FCD file also contains the code to perform an ADC conversion.

Post Reply