Pleaase give me the C code for interfacing lm 35 with P89v51RD2

Status
Not open for further replies.

Sananth

Newbie level 2
Joined
Jul 6, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
17
Please give me the C code for interfacing lm 35 with P89v51RD2

As Mentioned above that will be helpful if any one gives me the C programming Code for Interfacing Lm35 with P89V51RD2. I am using Keil4 Software to program.
I am Using ADC 0809 to Interface with microcontroler.
 

Re: Please give me the C code for interfacing lm 35 with P89v51RD2

Hi there,

Please try this code and diagram .Revert back me.
 

Attachments

  • How to interface three input channels of ADC0808 using AT89C51_0.gif
    47.8 KB · Views: 99
  • Testing and interfacing of ADC0804 microcontroller 8051 Interfacing with the LM35 Temperature S.jpg
    20.2 KB · Views: 91
  • 8051_ADC.jpg
    141.4 KB · Views: 136
  • adc0809.txt
    3.3 KB · Views: 62

Hi there!
Thanks for suggesting me. As we are working on our final year project we are supposed to use ADC0808 coz we have read something about it in our academics.I request u to please send me the C code for Interfacing LM35 With P89V51RD2 which also includes a LCD display for the reference of the temperature.I am using keil4 software for programming
The Conditions are
1) If the temp is b/w 23 degree to 26 degree the micro controller has to perform 4 operations which are
i)heater ON
ii)Blower ON
iii)Fan1 ON
iv)Fan2 OFF
2) If temp is 26 to 28 degree then it has to perform
i)heater OFF
ii)Blower ON
iii)Fan1 ON
iv)Fan2 OFF

Please help Me the code for P89V51RD
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…