4.6. PICDEM Temperature Controller

• Specification of temperature controller

• Input and output allocation

• Program outline

The PICDEM mechatronics board will now be used as the hardware platform for a temperature controller. Using a ready-made board eliminates the need for detailed hardware design and should be considered if a suitable product is available at a reasonable cost.

Specification

A temperature controller is required to control a greenhouse or similar outdoor enclosure at a temperature of 25–30°C using electric heaters and a cooling fan.

1. Overall function

• Maintain target temperature within +/−2°C, displaying it on the LCD. If the temperature is within specifications, switch on RunOK indicator; if temperature difference exceeds 5°C, ...

Get Programming 8-bit PIC Microcontrollers in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.