官术网_书友最值得收藏!

Chapter 3. Monitoring the Board Temperature

As you saw in the previous chapter, Arduino Galileo IDE is very simple to use and by now, you should already know how to compile and upload your sketches to the board.

One interesting feature of this IDE is that it allows you to execute command-line operations in the Galileo's Linux shell. This way, it is possible to print useful information in the Galileo serial connection through the Linux shell, such as the board IP address, and in this particular use case, your CPU temperature.

In this chapter, we will create a bootable SD card, connect our board to the Internet using an Ethernet cable or Wi-Fi, read the Galileo CPU internal temperature sensor, and plot the collected data to an online chart.

Note

Instructions for both wired and wireless connections will be provided.

In this chapter, we will cover the following topics:

  • Burning a Linux bootable image to an SD card
  • Booting Galileo from a microSD card
  • Connecting to the Internet using a wired or wireless connection
  • Using Galileo as a Web Client
  • Running Linux shell command-line operations using the Arduino IDE
  • Discovering Galileo IP address
  • Reading from the internal CPU temperature sensor
  • Using the Arduino SD library to read from the SD card
  • Plotting the gathered temperature data to an online chart
主站蜘蛛池模板: 石林| 双流县| 遂宁市| 大石桥市| 曲靖市| 西和县| 军事| 义乌市| 山阳县| 香港| 定襄县| 华坪县| 额济纳旗| 乐安县| 新田县| 花莲县| 泰宁县| 松阳县| 平远县| 盐源县| 盐源县| 手游| 梧州市| 龙岩市| 建湖县| 遂川县| 汶上县| 嵊泗县| 正定县| 安新县| 四会市| 夏津县| 临汾市| 湖北省| 宜春市| 聂荣县| 宜君县| 社会| 黔江区| 新建县| 乐昌市|