Hi guys,
I have been using a LM35 and it's output on a PIC 16F676 using it's analog pin.I want to show the result without any converstion.So I need a Vref at
[pin 12]how I generate it.
Hi guys,
I have been using a LM35 and it's output on a PIC 16F676 using it's analog pin.I want to show the result without any converstion.So I need a Vref at
[pin 12]how I generate it.
Use a potentiometer one end to VCC The Other to GND and the wiper (or center Pin) will be your Vref
ADCON0.6 = 1 sets Pin12 as Vref pin.
--------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
I know THIS LINK is for the LM34, but it is a nicely written example.
Wisdom is knowing what path to take next... Integrity is taking it.
Ryan Miller
Bookmarks