The following HiTech C code is written to display the temperature on LCD with PIC16F877A.However,0 value is displayed.
Atleast the voltage should get displayed.Please help with the problem in code.
Yes its stable.Its showing 278 mV.
Is there any problem with code ?
Are the ADCON0 and ADCON1 registers configured properly ? Whatis the ADC clock ?and how are their values decided ?
I have an external 8MHz crystal osc. The LM35 input is connected to AN0;
1.set the adc clock as low as it permitts you
2.place a 100 nf capactior between lm35 output pin and ground
when an adc wire gets longer than 20 30 cm,it acts as an powerful antenna and gets all microwaves in the air then make the adc value unstable
if you see an antenna output on oscilloscope you will realize what i say and the role of 100nf cap
1.set the adc clock as low as it permitts you
2.place a 100 nf capactior between lm35 output pin and ground
when an adc wire gets longer than 20 30 cm,it acts as an powerful antenna and gets all microwaves in the air then make the adc value unstable
if you see an antenna output on oscilloscope you will realize what i say and the role of 100nf cap
Myself Sumanta wants to see the output of LM35. When 5volt is given at its Vs pin with respect to ground, the device is getting heated up too much. Can anyone tell me the cause of this problem and how it can be solved. Waiting for all of your suggestions.
in common datasheets the view side of the components is top view
but in lm35's datasheet the view side is bottom view so please check supply pins not to be connected incorrect
if you connect them correctly it won't get warm ever!!!
in common datasheets the view side of the components is top view
but in lm35's datasheet the view side is bottom view so please check supply pins not to be connected incorrect
if you connect them correctly it won't get warm ever!!!
I am facing a problem regarding the burning of program from AVR STUDIO4 in ATMEGA32 Micrcontroller through EXTREME BURNER -AVR. But while burning the following messages
are coming -
> Autodetecting programmer
> Found USBasp on USB port
> Powering ON
> Powering failed
> Cannot communicate with target chip
> Retrying again
> Power on failed
> Cannot communicate with target chip
> Repeating the above three
> Powering off
> Power turned off
> ******Task failed*******
> *******Please retry again*******
> Thank you
I have done the connections in ISP programmer according as shown in figure in the Attachment. Please check if it can be solved.