O'Reilly logo

Arduino Networking by Marco Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Logging data in a spreadsheet

After finishing the configuration of our device on the Temboo website, we downloaded a bunch of files from Temboo. However, the Arduino file that was downloaded is for a generic sensor. In this section, we are going to adapt this file for our own needs and see the details of how the code works.

Note

You will need to insert your own TembooAccount.h file in the same folder as the Arduino file so that the code can work.

The main Arduino sketch for this section starts by including all the libraries that are required for the project to work with Temboo. Note that we will also insert the DHT library. Add the following libraries in the code:

#include <SPI.h> #include <Dhcp.h> #include <Dns.h> #include <Ethernet.h> #include <EthernetClient.h> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required