Case 3 - Detect the temperature

Part 1  Objective

After you compile the program, the stage displays the temperature detected by the temperature sensor in real time.

Part 2  Preparation

  • Auriga x 1
  • USB cable x 1
  • Computer with network access x 1

Connect Auriga to the computer by using the USB cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Live mode.

mr11.gif
mr12.gif
Update the firmware of Auriga.

mr13.gif

Part 3  Programming

In Live mode, after you select the check box on the left of the temperature sensor onboard value °C block, the stage displays the temperature detected by the temperature sensor in real time.mr14.gif

Part 4  Practice

Change the temperature output value of mBot Ranger by changing the ambient temperature.

 

Was this article helpful?
3 out of 6 found this helpful

Comments

0 comments

Please sign in to leave a comment.