Too Long; Didn't Read
In this tutorial, I’ll show you how to grab room temperature from a Raspberry Pi and build an endpoint to store the data, with Go. This is another “hand-rolled” tutorial to give you a deep understanding of IoT and how it works. The temperature sensor will have three wires coming out from it and will need to be connected to the GPIO of the Raspberry Pi, as shown above. We’re going to create a Go file on the Pi to read the temperature from the sensor.