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

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
主站蜘蛛池模板: 台中县| 商丘市| 容城县| 岐山县| 汾阳市| 多伦县| 灌南县| 乾安县| 太谷县| 怀安县| 霸州市| 永登县| 陆良县| 遂溪县| 永州市| 南昌市| 张北县| 罗定市| 大港区| 自贡市| 清水河县| 平武县| 盐亭县| 贺兰县| 肥东县| 沐川县| 格尔木市| 扎赉特旗| 蓬安县| 信宜市| 江安县| 贞丰县| 四子王旗| 海门市| 竹溪县| 麻江县| 昭觉县| 三原县| 波密县| 枝江市| 河间市|