Delivery throughout Europe

Ordered before 16:00 = Shipped today

Fast delivery with DHL

XNUMX days return *


  • Level - Medium 45% 45%
  • Duration - 30/45 Min 45% 45%
  • Costs - € 41,84 euros complete 35% 35%

 This project gives you the opportunity to collect and visualize temperature and humidity data using the Arduino IoT Cloud. You will also learn to connect a DHT22 temperature and humidity sensor and collect data from it. What makes this project extra special is that you are not tied to having your laptop nearby. Your Arduino continues to function autonomously, collecting data and sending it to the cloud, even without a direct connection to a computer. This allows you to place it anywhere you are interested in monitoring environmental conditions, without the need for constant physical presence.

Step 1: Requirements

Step 2: Configuration of Arduino Create

Start configuring your board in Arduino Create. Follow these steps:

  1. Go to the Arduino Create website at
  2. In the main menu you will see the option “IoT Cloud”. Click on this.
  3. If you are already logged in, you will go to the “Your Things” page. If you are not already logged in, please log in or create a new account. Arduino Create has both a free version and a paid version, depending on your needs.
  4. You may see a prompt to install Arduino Create. Follow the instructions as indicated.

After logging in and opening the IoT Cloud page, you will see a box with “Create”. Select this and you will be taken to a new screen. Here you can name your project and choose the right Arduino board. For this project we select the Arduino R4 WiFi. Follow the further instructions to configure your network.

Create Aduino IOT Cloud

Step 3: Add variables

You will see variables on the screen. Add variables for temperature and humidity measurement:

  1. Click on “Add Variable”.
  2. Create two variables: one for temperature and one for humidity.
  3. Select “Temperature” as the variable type for temperature and “Float” for humidity and set how often you want to take measurements. For example every 60 seconds.

Step 4: Creating a Dashboard

At the top of the page you will see “Dashboard" to stand. Click on this:

  1. Press “Create” to create your own dashboard create it and give it a name.
  2. In the top left corner you will see “Add”. This allows you to add elements to your dashboard add. Click “Add” and go to “Things”.
  3. Select the project you created earlier. Now you can easily add the variables to your project by pressing “Create Widgets”.

Optional: Add Charts

To view historical temperature and humidity data, you can add graphs:

  1. Add a chart element to your dashboard. You do this by pressing add and looking for chart widgets.
  2. Choose which variables you want to display in the graph.

Dashboard create

Step 5: Connecting

For the connection you need:

  • DHT22 sensor
  • 4.7K ohm resistor (or a resistor close)
  • Breadboard
  • Arduino R4 WiFi
  • 4 jumper wires

Connect your DHT22 sensor to your Arduino in this way:

Step 6: Add code

In the “sketch” you see the code generated by Arduino for cloud connections. However, there is a lack of code for measuring temperature and humidity. Replace the automatic code from the sketch with the code below:

arduinoCopy code
#include "thingProperties.h"#include
#define DHTPIN 8
#define DHTTYPE DHT22


void setup () {
Serial.begin (9600);
delay (1500);

initProperties ();

ArduinoCloud.begin (ArduinoIoTPreferredConnection);
setDebugMessageLevel (2);
ArduinoCloud.printDebugInfo ();
dht.begin ();

void loop () {
ArduinoCloud.update ();

float h = dht.readHumidity ();
float t = dht.readTemperature ();

if (!isnan(h) && !isnan(t)) {
humidity = h;
temperature = t;

Step 7: Running Code

Now you're ready to upload the code to your Arduino:

  1. Click on the “Verify and Upload” button.
  2. This will upload the code to your Arduino so it can measure temperature and humidity and send this data to your dashboard can send. This works even when the Arduino is no longer connected to your computer. This allows you to place your Arduino in a different location and receive persistent information on your dashboard. This can be done by powering the Arduino.

Arduino IoT Cloud Dashboard
The rating of at WebwinkelKeur Reviews is 9.3/10 based on 4338 reviews.