x_x_mot
Newbie level 2
I have a project to calc temp with LM35 then amplify it with gain (10) then to ADC 0804 supply 5v , then to MC89c52, i need to out the eqv temp on the lcd.
i know every dependante part and how it work , i know how to show any thing on lcd, and how adc and mc works
the problem is i get a hex no from adc (8 bits) and also MC take it as hex no , i need to show a 2 digit to lcd
for example:
temp now is 25 -> 250mV -----(gain 10)---->2.5V-------(adc)-------> 80h = 128d
how to convert THis 80h to 25d
thats all :s the only part stoped with me , please any help on this i will be greatfull
i know every dependante part and how it work , i know how to show any thing on lcd, and how adc and mc works
the problem is i get a hex no from adc (8 bits) and also MC take it as hex no , i need to show a 2 digit to lcd
for example:
temp now is 25 -> 250mV -----(gain 10)---->2.5V-------(adc)-------> 80h = 128d
how to convert THis 80h to 25d
thats all :s the only part stoped with me , please any help on this i will be greatfull