Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

displaying temperature on LCD

Status
Not open for further replies.

mikesmixes

Newbie level 4
Joined
May 17, 2004
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
53
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
 

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
 

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.
 

temperature sensor interfacing with lcd code

helloo

mikesmixes.

i do same project like u. can share the code. schematic..
 

project of displaying temperature on lcd

hi hi
i m doing a project like urs
but i m using PIC16F876A
can anybody help me?
 

simple weather temperature lcd

intan said:
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.
 

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
 

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..
 

can share me the code?
 

The complete code ,including LCD interface and the temperature sensor interface with microcontroller can be found here on the following website in different post.
**broken link removed**
 

hi
u can test using proteus software.
and it has built in LM35 sensor.
this software can download this side.
 


Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top