Friday, October 3, 2008

Thermometer using DS1621 and Nokia 3310 LCD interfaced with ATmega8

Hi friends,
in my last post I had discussed Nokia 3310 LCD interfacing with AVR ATmega8. It's really fun to work with this LCD.
Now, here I'm presenting one application with the same LCD: Designing a thermometer using DS1621 temperature sensor IC. DS1621 is 8-pin sensor from Maxim, with temp range of -55 to +125 degree C, which can be interfaced with microcontroller over two-wire serial i2c bus. It has operating voltage range from 2.7 to 5.5v. I'm operating it here at 3.3v, same as the one driving the LCD and ATmega8. DS1621 doesn't require any external components to measure temperature. It has got continuous or one-shot temperature reading capability to save power.
Check out the schematic:
I'm using here LM317 for getting 3.3v supply, any 3.3v rgulator can be used to replace it. The LED is only for checking the health of the circuit incase nothing comes up on display. The circuit is programmed to update temperature appx. every second.

I've taken help of LFG application for generating different sizes of fonts for the LCD, thanks o the author M.Ebrahimy. The application can be downloaded from here:
LCD Font Generator

I've created library functions for DS1621 interface with AVR using ICCAVR compiler. This functions can be used with i2c base routines discussed in my earlier posts. If anyone wants this libraries, just put it up in the comments!!

Download HEX file
Download Nokia 3310 LCD routines library (link to AVRfreaks post, where I've put it up. Write a comment or mail me if you have any problem in downloading this library, I'll send it by mail)

(Do you wanna use this HEX file but don't want my name on the display?? Well, just learn how to play with hex file from intel HEX-file tutorial, find ascii characters of my name in the hex file and replace them with yours!! It's little bit of a mind-game!!)

Download Datasheets:
1. DS1621
2. ATmega8

Thanks!!
---------
Contact: ccd@dharmanitech.com

25 comments:

CC Dharmani said...

Hi Milijan Celic,
I received your mail and I've sent you the Nokia 3310 routines library.
I'm writing here as in-case if you've not received or any other problem is there, please put up your comments here!
Thank you!

Anonymous said...

plz mail me the DS1621 libraries at racerslane@gmail.com

CC Dharmani said...

Hi,

I've sent you the DS1621 & i2c libraries along with header files as i2c library has been used in DS1621 library.
Write to me if not received.

Thanks!

satpambobo said...

that's cool and hot termometer digital.! i love how your graphical design at that display

putro said...

can u mail me the ds1621 library to putro_ok@yahoo.com
thx

CC Dharmani said...

Hi putro,
I've sent you the ds1621 library and the i2c routines library to be used with ds1621 routines.

Regards.

putro said...

thanx man

Aaron said...

Great work! Could you please also send me the i2c base library and the DS1621 libraries?

ajaymills@gmail.com

CC Dharmani said...

Hi Aaron,
I've sent the requested libraries to your mail id.
Check it out!

J said...

Please send me the DS1621 and i2c libraries at jbishop17@mail.mccneb.edu. Thanks.

CC Dharmani said...

Hi J, i've sent the files to your mail!

velson said...

Hi, could you please mail me the DS1621 libraries at velson@eunet.rs?

Great work btw. Regards

CC Dharmani said...

thanks velson, I've sent you the libraries!
Regards.

Karolis said...

Could you send me a LCD library and main.c program in which can only be written a letter or number on a screen or maybe this project. I am trying to make project in AVR studio. I used your library, but result is zero. Everything after small changes compiles beutifull, but screen shows no sign. Strange thing that only yours .hex file which properly shows on screen. Other files that i found on internet shows bursted picture. Big thanks. Karolis.aga@gmail.com

Anonymous said...

I'd also be interested in the DS1621 & i2c libraries along with the header files.

Thanks!
snander @ gmail.com

CC Dharmani said...

Hi Karolis,
I've sent you the libraries with hex code and main function.
Hope it serves the purpose!

Regards.

CC Dharmani said...

to snander:
check your mail for the libraries!!

Regards.

Anonymous said...

HI
PLEASE SEND ME MAIN PROG OF TEMPERATUR AT ZEESHAN2029@YAHOO.COM

bboy bayron said...

hi CC Dharmani, send me el main bayron_frv@hotmail.com.

very good project.
congratulations

CC Dharmani said...

Thanks, man!!
I've sent you the files.

VĂ­ctor Hugo said...

Hi.

Please send me the DS1621 libraries to vicbeng@gmail.com

Thanks in advance, your codes had been of great help understanding my class.

Abhi said...

please mail me the ds1621 library files

Anonymous said...

please mail me of your complete "Thermometer using DS1621 and Nokia 3310 LCD interfaced with ATmega8" project...

please...i'm just a newbie for avr

many thanx..
dian(indonesia)
mia_imuuuuut@yahoo.com

Anonymous said...

dear sir
i want to interface pc keyboard to atmega32
please me

email: zeeshan2029@yahoo.com

Anonymous said...

can you please send me DS1621 LIBRARY at a.r4700@gmail.com