Microcontroller - 8051, 8052, OpCodes, Analog Interface.

Saturday, September 15, 2007

1-Wire Temperature Control

This free project was designed to measure and control temperature in the range of - 55°C to +125°C with 0.1°C accuracy. It is based on the popular PIC16F628A microcontroller of Microchip.

1-Wire Temperature Control

The microcontroller uses the 1-Wire protocol ( sometimes known as a MicroLAN ) to communicate with a DS18B20 digital thermometer and a DS2405 addressable switch. The 1-Wire bus requires only one data line (and ground) for communication with a central microprocessor .

1-Wire Temperature Control

The interface application is designed to provide a friendly and flexible interface to the controller. It allows the controller settings to be read and written, and the process temperature to be monitored.

The 8-Bit CMOS microcontroller of Microchip PIC16F628A continuously reads the process temperature ( PVar ) from the DS18B20 sensor and depending on the desired temperature setpoint ( SPoint ) value of the process, manipulates the DS2405 addressable switch,using ON-OFF control algorithm