OK, let's put all the pieces together and log some sensor data. At this point you should have:

  • Created a Google project and enabled Drive and Sheets API
  • Created a .json credentials file and saved it locally
  • Created a Google Sheet and shared it with the email address from the .json file
  • Installed the Python libraries google-api-python-client and google-auth-oauthlib
  • Installed Blinka to allow using CircuitPython libraries
  • Installed the CircuitPython library for your specific sensor

The following examples show usage for two different USB bridge options as well as for I2C and SPI.

This guide was first published on Jan 17, 2020. It was last updated on Jan 17, 2020.

This page (Sensor Logging) was last updated on Sep 09, 2021.

Text editor powered by tinymce.