.st0{fill:#FFFFFF;}

Raspberry Pi

Raspberry Pi Full Stack: Google Sheet data-logger (sample lecture) 

 March 2, 2020

By  Peter

Join Our Mailing List

We publish fresh content each week. Read how-to's on Arduino, ESP32, KiCad, Node-RED, drones and more. Listen to interviews. Learn about new tech with our comprehensive reviews. Get discount offers for our courses and books. Interact with our community.

One email per week, no spam, unsubscribe at any time.

In this post, I share another sample from Raspberry Pi Full Stack. This one is the introductory lecture to another new section, in which I show you how to do data-logging on Google Sheet.

I have implemented this feature using a special Python module that allows the application to easily access Google Drive and interact with the Sheet API. With this feature implemented, the application logs any sensor node incoming data to both its local database, and to Google Sheet. 

Once your sensor data are on Google Sheet, you can process them with all the functionality of the Sheet spreadsheet.

Enjoy 🙂

Transcript from this sample lecture

Hi and welcome to a new section in this course.

In this section, what we’ll do is to expand our Raspberry Pi gadget with additional nodes.

We’ll have a new node that consists of an Arduino Uno, which is connected to an RF24 transceiver.

Plus, of course, a DHT22 sensor.

This new Arduino node will be able to communicate with our Raspberry Pi base module and it will be able to send it data from the sensor.

The Raspberry Pi will receive the data and record it in its database.

And that requires a few little changes as well in the front end.

And I thought, I’ll show you what the end result of the work we’re going to do in this section will be like.

And then in the next few lectures, I’ll take you through step by step the implementation process.

So by the end of this section, what you’ll have is something like this, which looks like the original user interface for our gadget, except now we’ve got a little field here which holds a sensor ID.

Up to now we’re going to working only with the Raspberry Pi and its sensor and we call that sensor ID “1”.

But we’re going to add another node to our gadget, which is going to be the Arduino, as I said earlier.

And for the purposes of this demonstration, I’ve given it the ID of “3”.

So once we have a few samples recorded, we’ll be able to go here, say I wanted to see the records for the node with ID “3”, you can submit.

And we’ll be able to retrieve data from sensor, this case, ID “3”.

And the way that we are going to build this will allow us to set up any number of remote sensors or remote nodes, because we’ll be using the network version of the RF24 library for the Arduino and for the Raspberry Pi, which allows us multiple nodes, as I’m going to show you very soon.

So this is what we are going to be working on in this section.

We’ll start with the Arduino.

In the next lecture, I’ll show you the wiring and the sketch for the Arduino and then switch over to the Raspberry Pi and conclude the project by putting all the modifications, hardware and software together to build what you seeing here.


Tags


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Learn Arduino Online: New Simulator Tutorials in Arduino Step by Step Getting Started I’m thrilled to share a major update to my course, Arduino Step by Step Getting Started. The course now includes a comprehensive

Read More
New Simulator Tutorials in Arduino Step by Step Getting Started

When compared TFT, LCD, and OLED, E-paper displays stand out for their energy efficiency, excellent readability in bright light, and a look that mimics traditional ink on paper. The Crowpanel ESP32 4.2” e-paper display, offered

Read More
Crowpanel ESP32 4.2” E-Paper Display: A Versatile and Energy-Efficient HMI Solution