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

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
主站蜘蛛池模板: 青海省| 武汉市| 龙山县| 阿巴嘎旗| 库伦旗| 延川县| 思茅市| 固始县| 漳平市| 乌海市| 紫阳县| 白银市| 海伦市| 张掖市| 泽州县| 九龙县| 镇沅| 新邵县| 娄烦县| 石棉县| 娄烦县| 鞍山市| 田阳县| 大荔县| 望都县| 长沙市| 墨脱县| 光泽县| 鹰潭市| 诏安县| 咸丰县| 宁南县| 翁源县| 东乡族自治县| 德安县| 桐乡市| 曲阜市| 荣昌县| 白玉县| 武平县| 克什克腾旗|