Temperature Monitoring and Control using SBC45EC Embedded Webserver Demo

This demo project is based on the SBC45EC board. This has a PIC18F452 CPU with 24LC256 EEPROM for web pages. An IOR44-222 board provides two relays and two input and two open collector output.

Temperature sensor is provide by the Dallas DS18S20 1-wire device.

The software for the webserver is based on the modified Microchip TCP/IP Stack by Modtronix. The 1-wire protocol is implemented by bit-bang on PORTC.

For this demo the heater is just a simple 150R resistor. The DS18S20 is resting on this resistor. The control of the heater is provide by Relay1. This will time out and turn the heater off after about 60 seconds to prevent over heating.

 

LIVE DEMO

A live demo of the webserver can be viewed by clicking the link below. Click the Heater button to turn on the heater for 60seconds, watch the temperature go up. The webpage automatically refreshes every 4 seconds. The Fan control is not implemented at present.

Note, the demo server might not be running all the time.

VIEW LIVE DEMO NOW

Source file download.

Comments and discussion please visit forum.

 
 

 What is the difference between the  SBC44EC and theSBC45EC?

 The difference is the port used to connect to  the ethernet chip RTL8019AS (IC1) from the  PIC18F452.

IC1 RTL8019AS SBC44EC SBC45EC
SA0 RB0 RA0
SA1 RB1 RA1
SA2 RB2 RA2
SA3 RB3 RA3
SA4 RB4 RA4
  PORT A free PORT B free

 If you want a board with analog inputs  (PORTA) then use the SBC44EC.

 If you want a board with external interrupt  inputs (PORTB) then use the SBC45EC.

     
     

Parts List

Part Number Description
SBC44EC or SBC45EC Embedded Webserver
IOR44-222 2 Input, 2 Open Collector Output,
2 Relay Frontend expansion board
DS1820 Dallas 1-wire temperature sensor
10 pin terminal block 10 pin 3.81mm Terminal Block, Screw Type
ENCL01 Steel enclosure

 

Development Tools Required

To program the webserver and download the webpages, the following tools are required.

Name Description
PGM06 Programming adaptor for use with ICD2
Webpage download cable Serial cable for downloading webpages into the webserver.
ICD2 Microchip ICD2, debugger/programmer.
PICC-18 Hi-Tech C compiler

 

   
           
             

Last update : 09-Jan-2007 19:32