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.

How to build Digital Thermometer using ATmegsa8 and LM335?

Status
Not open for further replies.

Ankster

Newbie level 6
Joined
Dec 2, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,422
hello ,
I am planningto build Digital Thermometer using ATmegsa8 and LM335.
Can Somebody tell me how should i go about ??
I want to display it on LAMPEX LM16200 (16x1 LCD)


Thanx
Ankur
 

atmega8 thermometer

Maybe this can help
**broken link removed**
 

adc0804 connection

Hi!
I have already done this i am attaching the code may be it will help you. I used the ICC AVR compiler. The connections are

RS------PB4
RW------PB6
E--------PB5
D0------PB0
D1------PB1
D2------PB2
D3------PB3
I have used the internal oscillator at 1MHz and configured the ADC to use internal reference of 2.56 volts. The LM35 is connected to channel 0.
Regards.
 

thermometer atmega8

thanx waseem
But i am not able to open the file ..
Can u directly send me code to mail mail-account (i hope it is in asm)
or anyway send it to me . just cut , copy and paste

Thanx
Ankster
 

adc0804 lm35

Hi!
post your email address so that i can send you the code. I cannot understand why you cannot open the file.
It is simply a compressed file. The code that i have been talking about is written in c language.
Regards.
 

lm335 thermometer

hi

here am attaching you the link for DIGITAL THERMOMETER project based on ATMEGA8.am alsoattaching the ATMEGA8 datasheet for your reference

http://www.tldp.org/linuxfocus/English/February2005/article365.shtml -->


The Atmega8 microcontroller from Atmel has plenty of digital and analog input/output lines. It is the ideal device to develop any kind of measurement equipment.

In this article we see how to interconnect the microcontroller to a linux PC over a physical RS232 interface without the extra MAX232 chip.

Hope this link helps you in completing your project.also am attaching the CIRCUIT DIAGRAM.see it and tell me whether this was helpful for you or not?


regards
john

MODERATOR ACTION: attachment atmega8.pdf removed do not upload files that are freely available at the net post a link like this instead:
http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf
 

project on digital thermometer

Check this:
The page is on the croatian language but I can help you with translating...

**broken link removed**
 

atmega thermometer

hi all,

any sort of translation from any language to english(readable) and viceversa can be done using babelfish.try out this link

http://babelfish.altavista.com

regards
john
 

atmega 8 thermometer

Hi,

Most IC digital temp sensors acquire temperature readings through one of their pins. Also, some temperature conductance occurs in the plastic to the core of the IC itself.

You must account for this or you will not display an accurate temperature. I sugest that you go to Texas Instrument's site and read some app notes on this subject. I found them helpful myself.

Regards,

The G Man
 

lm335 atmega

as lm335 output is 10mv/C so the maximum volt at max temp would only be 1.250 volts for 125 celcius so, first feed the output of lm335 to a buffer (opamp gain=1) and then to a opamp with gain=5/1.25 (to utlize full scale reading) and then to ADC input (internal or external ADC, whichever u choose). I suggest you to use DS18s20 which have same TO-92 package as lm335 but is much simpler to use.

Regards
 

digital thermometer atmega8

garg29 said:
as lm335 output is 10mv/C so the maximum volt at max temp would only be 1.250 volts for 125 celcius so, first feed the output of lm335 to a buffer (opamp gain=1) and then to a opamp with gain=5/1.25 (to utlize full scale reading)

Hi Garg,

You forgot that LM335 has an output voltage of typical 2,982v at 25 °C.
For 50 °C the output voltage is 2,982 + 0,250v = 3,232v and not only 0,5v as you supposed.
Try now feeding the opamp buffer with this value (3,232) and then see where the opamp output goes (supposing that VDD rail is far above of +5v)
Thus your opamp gain should be modified a little to use a full scale reading. Don't you think ?

A much elegant approach is to use a common mode voltage of 2,732v for opamp and a gain of 5. Then you have a full scale of 5v for 100 C.
 

lm35 adc0804

I am looking for digital Thermometer and digital clock project.

would you please help me?
 

digital thermometer projects

try looking here
**broken link removed**
 

lm335 avr

i think i mistakened lm335 with lm35.
 

digital atmega themometer

dear friends , i feel very happ to let u know that THERE IS NO NEED TO USE OP- AMP WITH LM35 SENSOR. USE IT WITH ACD 0804 AND DIRECTLY APPLY THE OUTCOMMING VOLTAGE TO PIN 6 OF THE ADC0804 IC.

ISNT THIS VERY EXITED..? HAHAHHAAAAAAA......

TEL ME IF I AM WRONG..
 

atmega168 thermometer

any one have a source code in assmbly for atmel avr and lm35 interfacing
 

lm335 opamp

hi all

i am doing a project for temperature with lm35 and adc 0804....
i dun know how to connect between 89s51 and adc 0804
by the way...i also din know how to write a program in C langauge which get the data from the lm35 and converts the data into digit and display on the LCD (16X2)
i would appreciate it if u can sd me as a reference
thx

send to me if possible.....tomdotwoo@hotmail.com
 

thermometer using atmega8

8051 - ADC0804 Connection diagram:
83_1164389017.gif


This code is written for Keil C51:
Code:
#include <reg52.h>
void outLCD(char c);

pdata unsigned char ADC0804;

unsigned char ReadADC0804(void){
     ADC0804 = 0;   // invoke ADC0804 to start conversion
     while (P3^2) ; // waiting end of conversion
     return ADC0804;
}

void nain(void){
unsigned char v;
     v = ReadADC0804();
     outLCD((v/100)+0x30); v = v % 100;
     outLCD((v/10 )+0x30); v = v % 10;
     outLCD((v    )+0x30); 
}
 

    V

    Points: 2
    Helpful Answer Positive Rating
atmel thermometer

thx your reply...
your information is very useful!!!
thx.....

Added after 12 minutes:

another question......
am i correct to connect the lcd at 80c51 which from p1.0 to 1.4
and how to wirite and run the program in C to get the output on LCD display...
thx a lot.......
 

code adc0804 8051 keil

[quote hello waseem i need code for digital thermometer will u send this as u send anker][/quote]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top