In this chapter we have learnt about temperature sensors and how they can be interfaced with the BeagleBone board to obtain temperature measurements by connecting the sensor to analog input reading pins on the BeagleBone board. Then we wrote a code to make decisions based on the input obtained from the LM35 temperature sensor where the decision was to turn on a particular GPIO pin that is connected to a bicolor LED in order to change the color of the LED based on the ambient temperature around the sensor. So, in this way we have a real-time physical computing system up and running on BeagleBone Black using Python to get started. But this is just local computing where decisions are made based on the program running on the local system and all the data is in the local system itself.
Now in the next chapter, we will go ahead and build a more advanced real-time physical computing system, that is connected to the Internet, and on which the sensor data is sent to cloud server from the BeagleBone...