senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. IAQ-Station

IAQ-Station

Sensors
WIFI
ESPNOW
Ethernet
SD
LED
LED Matrix
Display
openSenseMap
LoRa
Aktivierung
Lora Message
TTN Mapper
Cayenne LPP
Bluetooth
Phyphox
QOOOL
Webserver
MQTT
Logic
Loops
Text
Time
Time control
RTC
NTP
Math
Audio
Variables
Functions
Advanced
Serial
Input/Output
Motors
Watchdog
0Initialize DisplayConnect to WifiNetworknameSSIDPasswordPasswordsetintstatus ▾tointstatus ▾1Temperatur:Environmental sensor (BME680)Value:Temperature in °C ▾Luftfeuchtigkeit:Environmental sensor (BME680)Value:humidity in % ▾Show Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates48ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates38ValueShow Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates10ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValuePrint on display Show Text/...Luftdruck:Environmental sensor (BME680)Value:Airpressure in Pa ▾IAQEnvironmental sensor (BME680)Value:Indoor Air Quality (IAQ) ▾Show Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates48ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates38ValueShow Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates10ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValuePrint on display2CO2:Environmental sensor (BME680)Value:CO2 Equivalent ▾VOCEnvironmental sensor (BME680)Value:Breathe VOC Equivalent ▾Show Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates48ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates38ValueShow Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates10ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValuePrint on display3KalibrierungswertEnvironmental sensor (BME680)Value:Calibration Value ▾Show Text/NumberFont colorWhite ▾Fontsize2x-Coordinates10y-Coordinates10ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValuePrint on display4Environmental sensor (BME680)Value:Temperature in °C ▾Send measurement to openSenseMapPhänomen619e207a38aa6f001be9799cConnect to openSenseMapSSL✓Restart device if disconnected?✓TypeStationary ▾senseBox ID619e207a38aa6f001be9799bAPI Key30e2321766b263dcc9b53a9a4e47b48a0682d9d9f4a25f16…SensorsInterval: Interval10000ms1intstatus ▾5= ▾0setintstatus ▾toifdoincrease ▾status ▾byInterval: Interval10000msClear DisplayVariableCase (Variable) : DoCase (Variable) : DoCase (Variable) : DoCase (Variable) : DoArduino run first:Arduino loop forever:
1113000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixType 10110110001000000000101197011100110022010090
{ }
Arduino Source Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by senseBox Blockly on Wed Jul 16 2025 15:50:46 GMT+0000 (Coordinated Universal Time)
#include <WiFi101.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h> // http://librarymanager/All#Adafruit_GFX_Library
#include <Adafruit_SSD1306.h> // http://librarymanager/All#Adafruit_SSD1306
#include <bsec.h> // http://librarymanager/All#BSEC_Software_Library
#include <ArduinoBearSSL.h>
#include <ArduinoECCX08.h>
int status;
char ssid[] = "SSID";
char pass[] = "Password";
int status = WL_IDLE_STATUS;
float bmeTemperatur;
float bmeHumidity;
double bmePressure;
float bmeIAQ;
float bmeIAQAccuracy;
int bmeCO2;
float bmeBreathVocEquivalent;
const long intervalInterval = 10000;
long time_startInterval = 0;
long time_actualInterval = 0;
<>
XML Blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<xml xmlns="https://developers.google.com/blockly/xml" board="null">
  <variables>
    <variable type="int" id="Ae3xcmuJAAt3en%KmQJ]">status</variable>
  </variables>
  <block type="arduino_functions" id="QWW|$jB8+*EL;}|#uA" deletable="false" x="43" y="54">
    <statement name="SETUP_FUNC">
      <block type="variables_set_dynamic" id="]fN+t-o9E(0r3B45Xrk1">
        <field name="VAR" id="Ae3xcmuJAAt3en%KmQJ]" variabletype="int">status</field>
        <value name="VALUE">
          <block type="math_number" id="O(`wRojLSj|yDcPoEy/]">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="sensebox_wifi" id="zCz%Xs;tq@km^@;5;NnN">
            <field name="SSID">SSID</field>
            <field name="Password">Password</field>
            <next>
              <block type="sensebox_display_beginDisplay" id="ge(L]Q/|[J}L^f5^sI{X"></block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="switch_case" id="m_d-|e,1Sq{%T*WbF~hb">
        <mutation xmlns="http://www.w3.org/1999/xhtml" case="3"></mutation>
        <value name="CONDITION">
          <block type="variables_get_dynamic" id="/=QeH,bZ!tScZk]]*/HJ">
            <field name="VAR" id="Ae3xcmuJAAt3en%KmQJ]" variabletype="int">status</field>
          </block>

Information about the Block

Select a Block to show the hint

This website uses cookies to enhance the user experience.
Impressum

|

Privacy

|

News

|

sensebox.de
Menu
    Blockly
    Tutorials
    Gallery
    Code Editor

    Login
    FAQ
    Settings

Which board are you using?

senseBox MCU

senseBox MCU-S2

senseBox MCU:mini

Here you can access the old blockly Version for the Arduino UNO or the senseBox MCU