dav456
Junior Member level 3
The circuit uses a
1.LM35 temperature sensor
2.AT89C51 microcontroller
3. 2 CD4511 BCD to HEX
4. 2 7 SEG disp
5. a relay connected to a lamp
6.ADC0804
The LM35 is connected to the ADC.
I want to set a temperature say 40 degrees celcius
The microcontroller will read the temperature from lm 35 and display it in the 7 segment display.
If the temperature is less than the set temperature
the lamp will glow else not.
How do I go about this program.
Does having a capacitor infront of CS pin of ADC0804 ensure it is always 0 instead of connecting it to 8051 and programming it to be 0?