Table of Contents

send multiple data () to cloud () () () () () () () () delay () sec

Description

The block sends multiple data to the ThingSpeak channel with a delay of the specified time seconds. The data is mapped to the 8 fields of the ThingSpeak channel.

Example

In this example, we will send the humidity and temperature sensor data to the cloud on the ThingSpeak servers.

In this example, we will send the humidity and temperature sensor data to the cloud on the ThingSpeak servers.

ThingSpeak Channel

Create a channel on ThingSpeak with 2 fields – Temperature and Humidity.

DHT Sensor Connection to Quarky

DHT sensors have 3 pins: GND, VCC, and Signal. You have to connect the following 3 pins to the Quarky Expansion Board:

  1. GND to Ground Pin of Quarky Expansion Board
  2. VCC to 3.3V or VCC Pin of Quarky Expansion Board
  3. Signal to the D3 (Digital Pin) of the Quarky Expansion Board

Script

The following script reads the temperature and humidity reading from the DHT sensor and sends them to the ThingSpeak channel.

Output

Read More
All articles loaded
No more articles to load