| Author |
Message |
mikesmixes
Joined: 17 May 2004 Posts: 7
|
17 May 2004 21:46 lcd temperature project |
|
|
|
|
Hey, i am using a LM35, PIC16f877 and a 2x16 lcd screen
All i want to do is show the temperature on the lcd screen.
Anybody got some code or ideas.
Thanks
|
|
| Back to top |
|
 |
fant123
Joined: 21 Jan 2003 Posts: 8
|
18 May 2004 7:22 displaying temperature on lcd |
|
|
|
|
You have to use A/D converter of PIC and implement a conversion table on code based on sensor chart.
for displaying on the lcd screen, i think you have an in-built controller on lcd.
For code you can search in piclist forum at www.piclist.com
|
|
| Back to top |
|
 |
atmaca
Joined: 13 Jan 2004 Posts: 355 Helped: 1
|
18 May 2004 8:25 using a lm35+pic16f877 |
|
|
|
|
look at AN684 application note on microship's site.
On this app. note the temperature sensing with thermocuples is revealed.
The theory is the same for your application. This can help you.
|
|
| Back to top |
|
 |
potetojb
Joined: 25 Feb 2006 Posts: 68 Helped: 1 Location: Johor,Malaysia
|
24 Apr 2006 15:19 temperature sensor interfacing with lcd code |
|
|
|
|
helloo
mikesmixes.
i do same project like u. can share the code. schematic..
|
|
| Back to top |
|
 |
electronicus
Joined: 19 Aug 2005 Posts: 188 Helped: 16 Location: Romania
|
24 Apr 2006 19:59 temperature sensor interfacing with lcd |
|
|
|
|
Look here: http://www.interq.or.jp/japan/se-inoue/e_ckt26.htm amd
http://www.rentron.com/PicBasic/LM34.htm
|
|
| Back to top |
|
 |
intan
Joined: 16 Feb 2009 Posts: 46
|
16 Feb 2009 14:40 project of displaying temperature on lcd |
|
|
|
|
hi hi
i m doing a project like urs
but i m using PIC16F876A
can anybody help me?
|
|
| Back to top |
|
 |
sn_burki
Joined: 18 Feb 2003 Posts: 220 Helped: 4
|
16 Feb 2009 20:04 simple weather temperature lcd |
|
|
|
|
| intan wrote: |
hi hi
i m doing a project like urs
but i m using PIC16F876A
can anybody help me? |
what help you want? have you already done your project and facing some problems? if that so then what sort of problems you are facing? plz clearify yourself.
|
|
| Back to top |
|
 |
intan
Joined: 16 Feb 2009 Posts: 46
|
05 May 2009 9:43 Re: displaying temperature on LCD |
|
|
|
|
hi, im still in progress with the coding part
i m using hitech c language
really confused with the adc
how the adc work to convert the voltage to degree celcius?
thanks
|
|
| Back to top |
|
 |
arbj
Joined: 05 Oct 2008 Posts: 47 Helped: 6
|
06 May 2009 9:13 displaying temperature on LCD |
|
|
|
|
simple...
the adc just measures the analogue voltage present on an ADC channel (in the datasheet this is given as AN0, AN1, this simple means analogue channel 0, 1 etc.), and then converts it to a 10 bit value. The 16F877 has a 10 bit ADC, this means a maximum of 2^10 range, or 1024 bits for a full scale value.
In other words when 5 volts (same as the ADC reference voltage) is given to an ADC channel, the equivalent word value is 1024.
Thus the calculation for conversion is as follows.
ADC Word= (Channel VoltageX1024)/5
when I volt is given we get (1024X1)/5 = 51
Similarly this value can be converted back to voltage, during display..
|
|
| Back to top |
|
 |
intan
Joined: 16 Feb 2009 Posts: 46
|
11 Jun 2009 7:52 Re: displaying temperature on LCD |
|
|
|
|
| can share me the code?
|
|
| Back to top |
|
 |
madicalphy
Joined: 22 Jul 2007 Posts: 68 Helped: 3
|
12 Jun 2009 7:06 Re: displaying temperature on LCD |
|
|
|
|
The complete code ,including LCD interface and the temperature sensor interface with microcontroller can be found here on the following website in different post.
http://picinf.blogspot.com/2009_02_01_archive.html
|
|
| Back to top |
|
 |
nyanphyoaung
Joined: 11 Jan 2009 Posts: 3
|
01 Jul 2009 10:49 Re: displaying temperature on LCD |
|
|
|
|
hi
u can test using proteus software.
and it has built in LM35 sensor.
this software can download this side.
|
|
| Back to top |
|
 |
Google AdSense

|
01 Jul 2009 10:49 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
pawanefy1984
Joined: 02 Jul 2009 Posts: 8 Location: delhi
|
02 Jul 2009 12:53 Re: displaying temperature on LCD |
|
|
|
|
| intan wrote: |
hi hi
i m doing a project like urs
but i m using PIC16F876A
can anybody help me?
you can see this website; http://www.electronicsforu.com/electronicsforu/articles/
http://www.electronicsforu.com/electronicsforu/articles/
http://www.electronicsforu.com/electronicsforu/articles/
for projects: http://www.kitsnspares.com/user/default.asp
can contact with me at: efyedit7(at)efyindia.com
efyedit7(at)efyindia.com
|
|
|
| Back to top |
|
 |