SH1_Temp2

This is a project made with the Shift1-LCD kit using PIC 12F675.
It is a complete temperature controller that just needs a
LM335 temperature sensor and 3 buttons.

It is based on SH1_Temp.c but adds a new feature, a 999 hour
timer; 000:00:00

Project has source code for MikroC compiler. It also has the
autogenerated .ASM file and .HEX file.

For more info, see;
www.RomanBlack.com/shift1/sh1_projects.htm


/******************************************************************************
  SH1_Temp2.c   Temperature controller using LM335 temp sensor
  Open-source  -  5th Nov 2009  -  Roman Black
    www.RomanBlack.com/shift1/sh1_projects.htm

  This is a complete temperature controller. The temperature
  control "Setpoint" can be set anywhere from -40'C to +100'C.
  (This is the operating range of the LM335 temp sensor)
  It can be used for incubators, room heaters, freezers etc.
  This was based on SH1_Temp.c but has been improved with a
  1000 hour timer added, and timer reset button.

  Two buttons control the setpoint temperature; UP and DOWN
  Hold these to adjust the setpoint.
  
  The 16x2 LCD shows;
  (top line) the 000:00:00 timer, and HEAT / COOL indicator
  (bottom line) -xxx.x'C (actual temp) -xxx.x'C (setpoint temp)
  
  PIC pins;
    GP0 = ADC in, connects to Vout pin of LM335 temperature sensor
    GP1 = button (lo = pressed) adjust Setpoint UP
    GP2 = digital output to Shift1-LCD
    GP3 = button (lo = pressed) adjust Setpoint DOWN (needs 10k pullup resistor!)
    GP4 = HEAT control output; HI when temp < setpoint
    GP5 = button - timer reset button

******************************************************************************/
