MCUXpresso SDK Documentation

temperature_measurement

temperature_measurement#

Overview#

The temperature measurement demo is used to measure the temperature, note that this case just support RW61x platform at present.

Supported Boards#

FRDM-RW612
Hardware requirements
  • Micro USB cable

  • FRDM-RW612 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J10) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the example.

Running the demo

The log below shows the output of the demo in the terminal window:

 Temperature measurement example.
 Please press any key to get the temperature.
 Current temperature is: 24.379 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
RD-RW612-BGA
Hardware requirements
  • Micro USB cable

  • RD-RW612-BGA board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the example.

Running the demo

The log below shows the output of the temperature measurement demo in the terminal window:

 Temperature measurement example.
 Please press any key to get the temperature.
 Current temperature is: 24.379 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.
 Current temperature is: 24.859 degrees Celsius.