Uploading data on Google spreadsheets
We are all set with the synced time to the local time zone. We can create an application that does the same data logging as we did in the previous chapter, but this time it is different and cool. We will upload the data on Google spreadsheets, and the data can then be accessed from any corner of the world. You can monitor home temperature and humidity by sitting in your office. Either you can grab the project you did in Chapter 4, Monitoring the Atmosphere Using Sensors, and observe the temperature and humidity with the DHT11 sensor, or you can just bring the sensor station built in the previous chapter using MCP3008.
Before we get into the code, we need to prepare the things listed here. Use your personal computer's Internet browser to perform these steps:
Log in to your Gmail account or create a new one.
Open or link Google Drive by logging onto http://www.drive.google.com with your Gmail ID.
In the user interface of Google Drive, on the left-side panel...