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

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
主站蜘蛛池模板: 黎城县| 凭祥市| 依兰县| 彭阳县| 新乐市| 虎林市| 南靖县| 定安县| 六枝特区| 桐梓县| 华宁县| 甘谷县| 通海县| 济源市| 安远县| 华安县| 宽甸| 福贡县| 咸阳市| 宜州市| 科技| 峨眉山市| 漯河市| 绍兴市| 司法| 镇远县| 禹州市| 台州市| 青河县| 新昌县| 湖北省| 乐至县| 壶关县| 浦江县| 湘阴县| 安福县| 邹城市| 东光县| 湖北省| 双流县| 澜沧|