Temperature sensor to OP Amps
-
- Flowcode V4 User
- Posts: 16
- Joined: Sat Jan 17, 2009 4:22 am
- Has thanked: 4 times
Temperature sensor to OP Amps
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....
-
- 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
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
-
- Flowcode V4 User
- Posts: 16
- Joined: Sat Jan 17, 2009 4:22 am
- Has thanked: 4 times
- 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
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel