Home     Projects     Micro     Tools     Delphi     Developer     Site map
HOME  
 

MCS-51 | PIC
Interfacing Digital Thermometer and Thermostat DS1620 with PIC Microcontroller

If you want to measure temperature and prefer to work with digital to analog signal the DS1620 is a nice solution.Just interface to any CPU and some line of programming to control DS1620.

Some features of DS1620
  • Requires no external components
  • Supply voltage range covers from 2.7V to 5.5V
  • Measures temperatures from -55°C to +125°C in 0.5°C increments; Fahrenheit equivalent is -67°F to +257°F in 0.9°F increments
  • Temperature is read as a 9-bit value Converts temperature to digital word in 1 second (max)
  • Thermostatic settings are user-definable and nonvolatile
  • Data is read from/written via a 3-wire serial interface (CLK, DQ, RST )
  • Applications include thermostatic controls,industrial systems, consumer products, thermometers, or any thermally sensitive system




OPERATION-MEASURING TEMPERATURE

When operation as digital thermometer it use the onboard proprietary temperature measurement technique by counting the number of clock cycles that an oscillate by themperature.




OPERATION–THERMOSTAT CONTROLS
When operation as digital thermostat there are three thermally triggered outputs, THIGH, TLOW, and TCOM, are provided to allow the DS1620 to be used as a thermostat.The output as following picture.


For more detail see data sheet at www.dalsemi.com

Interfacing with PIC microcontroller

To interface DS1620 it use only 3-wire serial interface from microcontroller to control all fuction.
The program in this example show you how to use DS1620 as temperature sensore only and program with Hi-tech C. In main loop just read themperature then send it to hyper terminal program on PC.The buttom figure is use in this example.



Main program


 
Copyright(c) 2005-2010 sixca.com, All rights reserved.
Best view @ 800X600, IE 6.0 up    Terms of Use  Privacy Policy