Freescale application note AN4456 shows how to control temperature with a thermistor and the MCF51JF128 ColdFire+ microcontroller using ADC, LPTMR, GPIO and…
This Freescale application note describes temperature control using any thermistor with the low-power feature of the MCF51JF128 ColdFire+ family of Freescale microcontrollers. The ColdFire+ embedded controller ensures an optimal flow current and temperature measurement that maximizes the thermometer's life.
The note covers the thermistor description, the thermometer block diagram, firmware and thermometer functions, macros and variables, and conclusions. It also provides a thermistor-to-temperature conversion table in Appendix A.
| Temperature measurement range | -25 °C to +40 °C |
|---|---|
| MCU core | MCF51JF128 ColdFire+ |
| MCU clock | 10 MHz internal CLK |
| Power consumption without Stop mode | 20 mA |
| Power consumption with Stop mode | 10 mA |
| Power reduction | 50% |
| ADC channel | 12 |
| Average data points | 16 |
The MCF51JF128 ColdFire+ from Freescale is used as the core system. It is configured to work in Low-Power mode.
The thermometer measures temperature from -25 °C to +40 °C in 0.1 °C steps.
Power consumption is reduced to 50%: 20 mA without Stop mode and 10 mA with Stop mode.
The application configures GPIO, ADC, MCG and LPTMR. The LPTMR is used for low power and delay for ADC conversions.