|
|
@ -31,4 +31,49 @@ cloud-based data acquisition and visualization platform. You will be required to
|
|
|
|
to upload and visualize the data. With a free account, you can upload data once every 15 seconds.
|
|
|
|
to upload and visualize the data. With a free account, you can upload data once every 15 seconds.
|
|
|
|
|
|
|
|
|
|
|
|
## Setup a ThingSpeak account
|
|
|
|
## Setup a ThingSpeak account
|
|
|
|
ss
|
|
|
|
Because the sensor data is stored/viewed on the ThingSpeak website, you will need to setup a ThingSpeak account.
|
|
|
|
|
|
|
|
Create your ThingSpeak account by using the next link: _https://thingspeak.com/login_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Create a channel
|
|
|
|
|
|
|
|
Your data is uploaded to ThingSpeak through a ‘Channel.’ Select **New Channel**:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To finish this step, Scroll to the bottom of the page and click **Save Channel**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Get ThingSpeak API keys
|
|
|
|
|
|
|
|
After you saved your channel settings, you will be redirected to your channel page. Click on **API keys**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Be sure to save your **Channel ID** and **Write API Key** because we are going to need them in the
|
|
|
|
|
|
|
|
next steps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Arduino IDE libraries
|
|
|
|
|
|
|
|
You will have to make sure you have the correct path for the ESP32 Library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In the Arduino IDE, go to **File > Preferences**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Locate the **Additional Boards Manager URLS** text box.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make sure this URL is in the text box:
|
|
|
|
|
|
|
|
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Then, click **OK**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now, in the Arduino IDE go to **Tools > Board > Boards Manager**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In the search bar of the Boards Manager, lookup **esp32**.
|
|
|
|
|
|
|
|
Update to the most recent version if you do not already have it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|