Simple Circuit Interfaces 1-Wire Temperature Sensor To A Microcontroller

  
Inside:
Repository
Temperature-indicator and temperature-based products have generated wide interest. There are numerous applications for such devices with many possible solutions, each with its own advantages and disadvantages. This idea discusses a sensor interface that offers high accuracy while using less board real estate. The article also discusses some softwa
Simple Circuit Interfaces 1-Wire Temperature Sensor To A Microcontroller - schematic

re issues and provides code samples that users can integrate into their system and adapt to their environments. Designers can add to the features offered by the circuit as well. The simple circuit interfaces a 1-Wire temperature sensor (DS18S20) to a Cypress microcontroller (CYBC26443). But the technique can be extended to any other 1-Wire device with little modification of the hardware and code. The MCU can be any processor, but I chose a programmable system-on-a-chip (PSoC) because it offers flexibility in terms of choosing and implementing hardware blocks on the silicon. The PSoC also provide an application program interface (API) so novices can easily work on and troubleshoot their ideas. The 1-Wire products provide functions such as memory and mixed-signal capabilities via a single wire over a serial interface, with both power and communication delivered using the serial protocol. These devices are easy to interface and use where minimum interconnect complexity is required. I chose the DS18S20 digital thermometer because it is a very cost-effective 1-Wire device and has an accuracy of 0. 5 °C, although the overall design achieves 1 °C of accuracy including measurement error due to hardware limitations and test tools, etc. The DS18S20 also supports parasitic power mode, has a programmable temperature threshold, and operates from 55 °C to 125 °C. With additional hardware and software, it can operate over a distance of a...



Leave Comment

characters left:

New Circuits

.