Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Analoge to Digitel convertion in pic

Status
Not open for further replies.

shahid_c

Newbie level 5
Joined
Mar 5, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,343
to all
i am convertting temp to display using pic 16f877a and i get the ADRESL & ADRESH out(10 bit binery out) but i can not convert the out to degree centigrade . how can i convert that in to a value in *c? i use lm35 .
 

Sensor o/p = ADC result*5/1023 (if 10 bit adc)

Temp in Celsius = Sensor o/p * 100;

where are ADC result = ((ADRESH << 8 ) +(ADRESL))

as you have to add 2 bit of adresh with 8 bit of adresl.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top