Analog Devices Digital temperature sensor AD7416
There aremany situations when you might need to measure temperatures or trigger some events due to temperature changes. It is very convenient to have these values in a digital format. Then you can transfer digital values to microcontroller to process data or jus to display on LCD screen.
AD7416 Sensor description
This is 10 bit digital temperature sensor which ca measure temperatures in range interval -40 to 125C). Temperature conversion ADC has 15 conversion times. Sensor can be supplied from 2.7 to 5.5V, so it is no problem to connect directly to ARM microcontrollers. Data is transferred through I2C serial interface.

More detailed description – datasheet can be downloaded from Analog devices page: AD7416. Here you find simple routine where Atmega8 microcontroller reads sensor data decodes temperature value and displays it on 2×16 LCD display.
Lets connect everything to simple circuit. Don’t forget to connect pull-Ups to SCl and SDA busses:

Here are few real images of prototyping:



That’s it. If you would like to try to run this sensor by your own, here is source code of CodeVision compiler. And already compiled hex in archive. Also I added Eagle libray with AD7416 part in it. AD7416
Have fun ;)
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …Programming AVR ADC module with WinAVR,Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut … |
New on WinARM Tutorial
What are differences between WinARM and WinAVR,Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …LPC2000 watchdog timer,As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount … |

December 8th, 2006 at 10:41 pm
It’s not possible to download AD7416.zip
December 9th, 2006 at 11:43 am
Try now. I have fixed the link.
Thanks for notice.
December 9th, 2006 at 12:45 pm
Thanks for the fixed link!!!
I hope this will help me in my work…
February 4th, 2007 at 5:54 am
Hi, where can I find the download link for your code?
February 4th, 2007 at 12:47 pm
The code is at the end of article.
April 10th, 2007 at 12:19 pm
this code is useless
August 7th, 2007 at 2:58 pm
Hi
my stdio.h file is not supporting “Sprintf”
its showing Undefined command
i had even included STDIO.H in the program
i am using codevision
can you fix it
August 7th, 2007 at 3:39 pm
It’s been long time I havn’t used codevision. Now I am sticked to WinAVR. This is very old code which is pretty messy so I am thinking on rewriting it for WinAVR.
September 25th, 2007 at 9:44 am
[...] Devices Digital temperature sensor AD7416 - [Link] Filed in Parts, [...]