August 2008
Beginner to intermediate
304 pages
6h 2m
English
• Basic system
• Software design
• Implementation
In this section, the software design principles just outlined are applied to a typical application, a temperature control system. The schematic of the demo hardware is shown in Figure 5.2. The TEMP pot represents a temperature sensor that outputs a voltage of 0–5 V. If a scaling of 100 mV/°C is assumed, the range is 0–50°C, with 2.5 V representing 25°C.

The sensor is connected to AN1, the ADC channel 1. A SET pot provides the reference temperature for the system. If the measured temperature is below the set ...
Read now
Unlock full access