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

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
主站蜘蛛池模板: 虎林市| 武陟县| 蛟河市| 浦东新区| 辉南县| 麻阳| 宜兴市| 云安县| 万山特区| 庆安县| 鄢陵县| 金塔县| 克山县| 南陵县| 大余县| 衡山县| 额敏县| 吴忠市| 班玛县| 奈曼旗| 老河口市| 仙游县| 桐乡市| 离岛区| 登封市| 天峻县| 德昌县| 宜兰市| 谷城县| 马山县| 涡阳县| 衡水市| 青海省| 马公市| 福海县| 湘潭县| 苏尼特左旗| 滨州市| 南雄市| 鹿邑县| 穆棱市|