先頭に戻る

Simple Wireless Temperature Monitor Also Has Data-Logging Capabilities

リファレンスデザインの免責事項 参照:  重要なお知らせと免責事項  (リファレンスデザインおよびその他マキシムのリソース)

説明

You can design a simple wireless temperature-monitoring system with data-logging capabilities by using a local temperature sensor and an ASK transmitter (Figure 1) and receiver pair. A MAXQ® microcontroller processes and displays the temperature reading to the user (Figure 2). The microcontroller's onboard UARTalso allows for data-logging applications.

In Figure 1, the MAX6577 is a local temperature sensor that detects the ambient temperature at the device. The output of the MAX6577 is a square wave with a frequency proportional to temperature in units of Kelvin. The MAX1472 is the ASK transmitter and modulates the signal on to the carrier frequency of 315MHz.

In Figure 2, the MAX1470 is the ASK receiver and demodulates the signal at the corresponding carrier frequency. The output signal's frequency is measured with a frequency counter. The configured scalar multiplier is 1K/Hz when TS1 is connected to GND and TS0 connected to VDD. This scalar multiplier is configurable with pins TS1 and TS0 (Figure 1).

The MAX9075 is a comparator connected to the MAX1470's RSSI with internal peak detector pin. The external RC follows the peak power of the received signal. This is compared with a predetermined voltage level generated by a resistor voltage divider. Lab experiments show that a threshold of approximately 1.57V generates a valid output on the DATAOUT pin without receiving false readings. Adjust this threshold to the proper level for optimal performance. The comparator's output is low when a weak or invalid signal is received and high when the received signal is adequate.

Next the MAXQ2000, a MAXQ-based microcontroller, measures the signal frequency and displays the value using its integrated timer/counters and LCD driver peripherals. A counter tracks the number of rising-edge transitions on the input temperature signal, while a timer tracks the elapsed time. After the timer's 1-second period elapses, an interrupt occurs. At this moment, the counter value is read, converted to Celsius, and displayed on the LCD. Next, the counter is reset to 0 to restart the process. The timer is automatically reloaded once the timer interrupt occurs. The resulting temperature is also output by UART0. A handheld frequency counter is used to verify the temperature reading.

The microcontroller monitors the signal power through P6.0, configured as a general-purpose input pin. When the input is logic low, the LCD and UART output will be "no RF" to alert the user of possible transmitter issues when the transmitter and receiver pair is separated by too great a distance.

The LCD connection follows the design in the MAX2000 evaluation (EV) kit. To ensure that the display enables the correct segments, the internal mapping of the display's seven A-to-G segments needs to be preserved. A lookup table in the data segment of the assembly code is used for this purpose. By adding an RS-232 level converter, the UART output can send data to a data-logging device such as a computer.

The MAX-IDE assembler software is used to program the device during assembly. The MAXQJTAG board operates with the MAX-IDE to load the code onto the device. The project files associated with this article are available for download.

  • 5150fig01

    5150fig01

  • 5150fig02

    5150fig02

Icon

設計、作成、試験済み

このボードは完全実装および試験済みです。

 

詳細セクション

詳細セクション

Click here for an overview of the wireless components used in a typical radio transceiver.
Click here for an overview of the wireless components used in a typical radio transceiver.

You can design a simple wireless temperature-monitoring system with data-logging capabilities by using a local temperature sensor and an ASK transmitter (Figure 1) and receiver pair. A MAXQ® microcontroller processes and displays the temperature reading to the user (Figure 2). The microcontroller's onboard UARTalso allows for data-logging applications.

In Figure 1, the MAX6577 is a local temperature sensor that detects the ambient temperature at the device. The output of the MAX6577 is a square wave with a frequency proportional to temperature in units of Kelvin. The MAX1472 is the ASK transmitter and modulates the signal on to the carrier frequency of 315MHz.

In Figure 2, the MAX1470 is the ASK receiver and demodulates the signal at the corresponding carrier frequency. The output signal's frequency is measured with a frequency counter. The configured scalar multiplier is 1K/Hz when TS1 is connected to GND and TS0 connected to VDD. This scalar multiplier is configurable with pins TS1 and TS0 (Figure 1).

The MAX9075 is a comparator connected to the MAX1470's RSSI with internal peak detector pin. The external RC follows the peak power of the received signal. This is compared with a predetermined voltage level generated by a resistor voltage divider. Lab experiments show that a threshold of approximately 1.57V generates a valid output on the DATAOUT pin without receiving false readings. Adjust this threshold to the proper level for optimal performance. The comparator's output is low when a weak or invalid signal is received and high when the received signal is adequate.

Next the MAXQ2000, a MAXQ-based microcontroller, measures the signal frequency and displays the value using its integrated timer/counters and LCD driver peripherals. A counter tracks the number of rising-edge transitions on the input temperature signal, while a timer tracks the elapsed time. After the timer's 1-second period elapses, an interrupt occurs. At this moment, the counter value is read, converted to Celsius, and displayed on the LCD. Next, the counter is reset to 0 to restart the process. The timer is automatically reloaded once the timer interrupt occurs. The resulting temperature is also output by UART0. A handheld frequency counter is used to verify the temperature reading.

The microcontroller monitors the signal power through P6.0, configured as a general-purpose input pin. When the input is logic low, the LCD and UART output will be "no RF" to alert the user of possible transmitter issues when the transmitter and receiver pair is separated by too great a distance.

The LCD connection follows the design in the MAX2000 evaluation (EV) kit. To ensure that the display enables the correct segments, the internal mapping of the display's seven A-to-G segments needs to be preserved. A lookup table in the data segment of the assembly code is used for this purpose. By adding an RS-232 level converter, the UART output can send data to a data-logging device such as a computer.

The MAX-IDE assembler software is used to program the device during assembly. The MAXQJTAG board operates with the MAX-IDE to load the code onto the device. The project files associated with this article are available for download.

This design provides for 1-second temperature refresh rate in 1°C increments, which is within the accuracy of the MAX6577.

Figure 1. The MAX6577 temperature sensor and the MAX1472 315MHz ASK transmitter form a wireless temperature-monitoring system.
Figure 1. The MAX6577 temperature sensor and the MAX1472 315MHz ASK transmitter form a wireless temperature-monitoring system.

Figure 2. The MAX1470 ASK receiver with a MAXQ microcontroller processes and displays temperature data.
Figure 2. The MAX1470 ASK receiver with a MAXQ microcontroller processes and displays temperature data.

MAXQ is a registered trademark of Maxim Integrated Products, Inc.

マキシムデバイス (5)

型番 名称 製品ファミリ 注文 設計キットおよび評価モジュール
MAX9075 低コスト、超小型、3µA、単一電源コンパレータ アンプ 今すぐ購入 Not Available
MAX6577 SOT温度センサ、周期/周波数出力付 センサー 今すぐ購入 Not Available
MAXQ2000 低電力LCDマイクロコントローラ MCU - マイクロコントローラ 今すぐ購入 設計キット
MAX1472 300MHz~450MHz、低電力、水晶ベースASKトランスミッタ ワイヤレスおよびRF 今すぐ購入 設計キット
MAX1470 315MHz、低電力、+3V、スーパーヘテロダインレシーバ ワイヤレスおよびRF 今すぐ購入 設計キット

マキシムデバイス (5)

型番 製品ファミリ
アンプ
低コスト、超小型、3µA、単一電源コンパレータ
Not Available
センサー
SOT温度センサ、周期/周波数出力付
Not Available
MCU - マイクロコントローラ
低電力LCDマイクロコントローラ
ワイヤレスおよびRF
300MHz~450MHz、低電力、水晶ベースASKトランスミッタ
ワイヤレスおよびRF
315MHz、低電力、+3V、スーパーヘテロダインレシーバ

関連ビデオ

全ビデオを見る