Can't see the data from the dashboard

Hi guys, can you guys help why I can't see the data from the dashboard? I used bme280 and the ozone sensor


here is the code:

''''
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled"
https://create.arduino.cc/cloud/things/f3a82a66-1be7-4a85-8999-50590fd49f8a

Arduino IoT Cloud Variables description

The following variables are automatically generated and updated when changes are made to the Thing

float approxAltitude;
float humidity;
float ozone;
float pressure;
float temperature;

Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
which are called when their values are changed from the Dashboard.
These functions are generated with the Thing and added at the end of this sketch.
*/

#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include "DFRobot_OzoneSensor.h"
#include "thingProperties.h" // This file will be automatically generated by the Arduino IoT Cloud when you create the Thing.

#define SEALEVELPRESSURE_HPA (1013.25)
#define COLLECT_NUMBER 20
#define Ozone_IICAddress OZONE_ADDRESS_3

Adafruit_BME280 bme;
DFRobot_OzoneSensor Ozone;

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

if (!bme.begin(0x76)) {
Serial.println("Could not find a valid BME280 sensor, check wiring!");
while (1)
;
}

while (!Ozone.begin(Ozone_IICAddress)) {
Serial.println("I2C device number error!");
delay(1000);
}

Serial.println("I2C connect success!");

Ozone.setModes(MEASURE_MODE_PASSIVE);

// Initialize Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
setDebugMessageLevel(2); // Set debug message level to see Arduino IoT Cloud logs
}

void loop() {
ArduinoCloud.update();

float temperature = bme.readTemperature();
Serial.print("Temperature = ");
Serial.println("*C");
float pressure = bme.readPressure() / 100.0F;
Serial.print("Pressure = ");
Serial.println("hPa");
float approxAltitude = bme.readAltitude(SEALEVELPRESSURE_HPA);
Serial.print("Approx. Altitude = ");
Serial.println("m");
float humidity = bme.readHumidity();
Serial.print("Humidity = ");
Serial.println("%");
float ozone = Ozone.readOzoneData(COLLECT_NUMBER);
Serial.print("Ozone concentration is ");
Serial.println(" PPB.");
delay(1000);

}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.