Hello there,
The LM35 is a temperature sensor and 10mV is 1 degree.
I use a pic 16f870 and I use the analoge input that is 0 to 1023
and I use a 4 digit led.
Is it possible to make a calculation so that I can see 0,1mV is 1 bit?
Henk
Pic16f870 and LM35
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
- Contact:
Re: Pic16f870 and LM35
Hello.
The 10-bit ADC conversion, with the default 5v reference, resolves down to 4.88mV. The resolution can be increased to 1.95mV by selecting one of the external reference voltage options (requires a modified .fcd file for the device - http://www.matrixmultimedia.com/mmforum ... hilit=vref, http://www.matrixmultimedia.com/mmforum ... vref#p7981) and providing an accurate 2v reference.
Further increases in effective resolution could only be achieved by amplifying the original signal (a minimum gain of approximately 20 would be required)
The 10-bit ADC conversion, with the default 5v reference, resolves down to 4.88mV. The resolution can be increased to 1.95mV by selecting one of the external reference voltage options (requires a modified .fcd file for the device - http://www.matrixmultimedia.com/mmforum ... hilit=vref, http://www.matrixmultimedia.com/mmforum ... vref#p7981) and providing an accurate 2v reference.
Further increases in effective resolution could only be achieved by amplifying the original signal (a minimum gain of approximately 20 would be required)
Re: Pic16f870 and LM35
Sean,sean wrote:Hello.
The 10-bit ADC conversion, with the default 5v reference, resolves down to 4.88mV. The resolution can be increased to 1.95mV by selecting one of the external reference voltage options (requires a modified .fcd file for the device - http://www.matrixmultimedia.com/mmforum ... hilit=vref, http://www.matrixmultimedia.com/mmforum ... vref#p7981) and providing an accurate 2v reference.
Further increases in effective resolution could only be achieved by amplifying the original signal (a minimum gain of approximately 20 would be required)
Thanks for your information.
Henk