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:
Here is the Proteus ISIS simulation result:
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.
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. You can download the project source code here.
Download
------------------
HEX file
Source code (including the 3310 & DS1621 Libraries)
Proteus Simulation Model
(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!!)
Download Datasheets:
1. DS1621
2. ATmega8
Thanks!!
---------
Contact: ccd@dharmanitech.com
Hi Milijan Celic,
ReplyDeleteI 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!
plz mail me the DS1621 libraries at racerslane@gmail.com
ReplyDeleteHi,
ReplyDeleteI'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!
that's cool and hot termometer digital.! i love how your graphical design at that display
ReplyDeletecan u mail me the ds1621 library to putro_ok@yahoo.com
ReplyDeletethx
Hi putro,
ReplyDeleteI've sent you the ds1621 library and the i2c routines library to be used with ds1621 routines.
Regards.
thanx man
ReplyDeleteGreat work! Could you please also send me the i2c base library and the DS1621 libraries?
ReplyDeleteajaymills@gmail.com
Hi Aaron,
ReplyDeleteI've sent the requested libraries to your mail id.
Check it out!
Please send me the DS1621 and i2c libraries at jbishop17@mail.mccneb.edu. Thanks.
ReplyDeleteHi J, i've sent the files to your mail!
ReplyDeleteHi, could you please mail me the DS1621 libraries at velson@eunet.rs?
ReplyDeleteGreat work btw. Regards
thanks velson, I've sent you the libraries!
ReplyDeleteRegards.
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
ReplyDeleteI'd also be interested in the DS1621 & i2c libraries along with the header files.
ReplyDeleteThanks!
snander @ gmail.com
Hi Karolis,
ReplyDeleteI've sent you the libraries with hex code and main function.
Hope it serves the purpose!
Regards.
to snander:
ReplyDeletecheck your mail for the libraries!!
Regards.
HI
ReplyDeletePLEASE SEND ME MAIN PROG OF TEMPERATUR AT ZEESHAN2029@YAHOO.COM
hi CC Dharmani, send me el main bayron_frv@hotmail.com.
ReplyDeletevery good project.
congratulations
Thanks, man!!
ReplyDeleteI've sent you the files.
Hi.
ReplyDeletePlease send me the DS1621 libraries to vicbeng@gmail.com
Thanks in advance, your codes had been of great help understanding my class.
please mail me the ds1621 library files
ReplyDeleteplease mail me of your complete "Thermometer using DS1621 and Nokia 3310 LCD interfaced with ATmega8" project...
ReplyDeleteplease...i'm just a newbie for avr
many thanx..
dian(indonesia)
mia_imuuuuut@yahoo.com
dear sir
ReplyDeletei want to interface pc keyboard to atmega32
please me
email: zeeshan2029@yahoo.com
can you please send me DS1621 LIBRARY at a.r4700@gmail.com
ReplyDeletesir
ReplyDeletei have built ur project of mmc card interface its working well
sir
please help me to play mp3 files saved in mmc
can you please send me DS1621 LIBRARY and HEX file for the thermometer at alex.papuc@gmail.com Thanks!
ReplyDeletecan you please send me HEX file for the thermometer at andreescuflorentin@yahoo.com Thanks!
ReplyDeletecan you please send me DS1621 LIBRARY and HEX file for the thermometer at andreescuflorentin@yahoo.com.com Thanks!
ReplyDeletehi ,
ReplyDeletei am praveen i have ds1621 temperature sensor in my project . i am unable to check it please send me all the details man , my email id is praveengitam8@gmail.com
Hy. Can you send me the project files at eugenmarianneagu@gmail.com, please?
ReplyDeleteHello. Can you send me the project files at eugenmarianneagu@gmail.com?
ReplyDeleteI want to make aa automatic dog feeder and I want to use this LCD because is the only one i have.
Thank you.
Hi Dharmani,
ReplyDeleteVery nice work with the nokia LCD display. I'm also trying to use a nokia 3310 LCD display but I'm having no luck. I'm trying to adapt your code to work with a dspic using spi communication. I would like to know which problems you had when you started interfacing with the LCD...how did you debug to get it working. So far my code is initalizing the SPI and sends data to LCD to try and initialize it. I know the right data is being sent because I'm checking with an oscilloscope, but I don't see any response from the LCD.
If you can help me in any way I'll be very grateful.
Best Regards,
Felipe
Hi, could you send me the ds1621 library? "matajumotors at inbox.lv"
ReplyDeletethanks
HI was wondering if I could see a piture of the back of the lcd. I am having a hard time soldering the pins. All my 3 nokia lcd screens don't have the connector attached to the glass. Are these harder to do. Is the pinout the same.
ReplyDeleteThanks
Can you please e-mail me your main.c source code that uses the Nokia 3310 LCD routines that you developed? I just need example of how you use the routines to get my displays running. My e-mail address is mctasneyr@gmail.com . Thanks.
ReplyDeletehi Dharmani sir...!!!
ReplyDeletethanks we are using yours program of LCD 3310 interface with atmega8..
but our problem is that the whole screen appears black....
After using your hex file, the same problem continues...
I am sending you our C code at ur email id...plz check it out...
and suggest changes if any...
That's good, at least the display is showing some life. I think the problem would be in your SPI bus connections, check them again, look for continuity also.
ReplyDeleteAlso make sure about the capacitor on pin7 (Vout)
ReplyDeleteplz mail me the ds1621 libraries used
ReplyDeletesaruntech@gmail.com
i want that LCD font generator software.could u plz send me that on my id. my id is paltu4u@gmail.com.
ReplyDeletei also want that library routine.
plz send it to my id.
Hi there!
ReplyDeleteCould you pls email me the i2c and DS1621 libraries?
lukas.nagy /at/ gmail /dot/ com
thank you
Hi,
ReplyDeleteI am looking at your LCD_clear routine, it says:
for(i=0; i<8; i++)
for(j=0; j<90; j++)
and x has to be 0..84, y 0..5!?
i am doing this project can please guide me please provide us all the information and how to proceed sir if possible send the informationto my mail id priya.5390@gmail.com
ReplyDeletehallo
ReplyDeletevery good project but it cant work in "avr" no include main file can you send to me in
sameh167@hotmail.com
thanks for help us
hi,CC Dharmani,
ReplyDeleteI work on a project of Making a mp3 player with SD card formatted in FAT32 containing the mp3's.
So,i want to interface a GLCD to show the play list.
So,plz sent me your main.c to my main id:"rabin4321@gmail.com"
Another rqst:Do u have any idea about AVR controlled FM reciver???????
if,yes send me plz
hi good work Dharmani
ReplyDeletecan u pls mail me the libraries for dsi621 on azhar.karnalkar@gmail.com
Hi CC Dharmani,
ReplyDeletenice job.
Can you please send me the ds1621 library to botadani.l@gmail.com?
Thanks a lot.
Daniel
Hi, good job man :)
ReplyDeleteIs it possible to send ot my email , the full souce C code for this very good thermometer project of yours?
Thanks,
Cheers from Athens
Ooops >> this is my email timos2302@hotmail.com <<
ReplyDeleteHehe, cheers
hi, send me please your project for write the letter to LCD. A programme in AVR studio and I have a problem with it.
ReplyDeletemy mail: zavovi@centrum.cz
Thank you
Hi,
ReplyDeleteCan you please send me the DS1621 library via email? My email: iulian.matesica@gmail.com
Thank you very much!
PS: I have a question, how can I light the display? I know that when it was on the phone, it lights in green. How can I turn that light on?
from where u bought the ds1621 ic...
ReplyDeletefrom a local electronic component shop in Ritchie Street, Chennai.
ReplyDeleteHi,
ReplyDeleteCan you please send me the source code of DS1621 & I2c librairies at :
jm.rouchy@free.fr
Thanks for this project.
can you please send me an email with code? thanks a lot( holy_andrei@yahoo.com )
ReplyDeleteDo you know how to interface a 6101 Nokia Display and camera?
ReplyDeleteplease mail me of your complete "Thermometer using DS1621 and Nokia 3310 LCD interfaced with ATmega8" project...
ReplyDeleteplease...i'm just a newbie for avr
my mail :shailesh4440@yahoo.co.in
Thanks CC Dharmani. this is very good project for us. but i am using avr studio5 and while editing the project, the program can not find and header files. What can i do in this case?
ReplyDeletee-mail address: yusuf.ky@gmail.com
i had written header file names in former my comment but they are not visible. avr studio 5 can not find macros.h and iom8v.h header file.
ReplyDeleteThe temperature resolution of DS1621 is half Centigrade.. I was wondering how your project is reading 0.1 degree..
ReplyDeletePlease reply..
Hi! Nice work.
ReplyDeletecan you please send me DS1621 and i2c libraries at lesliesahib@gmail.com. Thanks.
Hi,
ReplyDeleteI have a problem.
Temperature drops below 0C, then the value is dospleji +54 C!
Please advice
Thanks!
Hi,
ReplyDeleteIt's possible to put this working with an arduino uno? I'm trying to do that but I get a lot of errors, specially with "undeclared variables"...
Hi Pedro,
ReplyDeleteyou are getting errors as you must be using Arduino compiler, while this code was written for AVRStudion compiler.
You can use the Uno board but you need to use the AVRstudio and then burn the hex file using AVRISP instead of arduino bootloader.
how can i make shure that my LCD was good?
ReplyDeleteI mean like Normal 16x2 LCD display it does not have back light so after power on is it shows any thing on the display?
what if replaced with the sensor LM35? whether the same library or how to how to access adc?
ReplyDeletePlease can you send me step by step guide on how to construct thermostat on proteus ... Using exactly the same components you used here including the Nokia LCD
ReplyDeleteEkenekk@gmail.com
Where can I get DS1621?
ReplyDeleteIf you are in India you can buy it online from DNA Technology DS1621 Digital Thermometer
ReplyDeleteHi mr Dharma
ReplyDeleteHow i want to clear this error when i want to simulate the project with proteus
VSM Debugger
VSM model PCD_8544.DLL cannot found for LCD1
TQ
Hello please send your code library Nokia 5110, on my email
ReplyDeletesoubhanaallah100@gmail.com
and thank you
Dear sir,nice information it's really help in my project, I am also trying to do with Ardunio board. thanks for sharing
ReplyDeleteI really enjoyed reading your article. I found this as an informative and interesting post, so I think it is very useful and knowledgeable. Also, check out bronny james net worth
ReplyDeleteHello all! We are a team of passionate and determined people who are totally focused on resolving every error that can occur during QuickBooks software runtime. If you want any help regarding QuickBooks File Doctor and other tools of QuickBooks then you can visit our blog.
ReplyDeletestudymaterials.com.ng
ReplyDeletewestern delta university post utme form now on sale.
mercy college of nursing admission form now available.
anchor university post utme form
JAMB 2022 all you need to know
OAUTHC Application Form
Readmore
Using a thermometer is essential for accurate temperature measurement in various settings, from healthcare to home use. Ensure precision and safety with reliable digital or analog models. Don't forget to protect your skin with Fute sunscreen to stay safe and comfortable outdoors.
ReplyDeleteThe DS1621 and Nokia 3310 LCD paired with the ATmega8 microcontroller make a straightforward yet effective thermometer setup. The DS1621’s digital temperature readings are displayed clearly on the Nokia LCD, which the ATmega8 easily interfaces. This design is cost-effective, reliable, and compact, making it ideal for basic temperature monitoring applications.
ReplyDeleteThe combination of the DS1621 temperature sensor and the Nokia 3310 LCD with the ATmega8 microcontroller is a fantastic choice for creating a compact thermometer. The DS1621’s accuracy and simplicity in communication, paired with the classic Nokia 3310 LCD's readability, make this project both practical and nostalgic. I appreciate the clear explanation of the interfacing process, especially how the I2C protocol is utilized. Keep update! rape lawyer
ReplyDelete