senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. Phyphox CO2-Messgerät

Sensors
LED
RGB LED
LED Matrix
Display
Data transmission
WIFI
openSenseMap
LoRa
Aktivierung
Lora Message
TTN Mapper
Bluetooth
Phyphox
ESPNOW
SD
Text
Logic
Loops
Time
Time control
RTC
NTP
Math
Variables
Functions
QOOOL
Advanced
Serial
Input/Output
Motors
Watchdog
Webserver
MQTT
Ethernet
Audio
TimestampChannel1 â–¾TimestampChannel2 â–¾Create GraphTemperaturUnit x-axissUnit y-axis°CLabel x-axisZeitLabel y-axisTemperaturstyleLine â–¾x-axis valuey-axis valueCreate GraphCO2-KonzentrationUnit x-axissUnit y-axisppmLabel x-axisZeitLabel y-axisKonzentrationstyleLine â–¾x-axis valuey-axis valueCreate experimentTitleCO2 AmpelDescriptionSendet die Messwerte der CO2 AmpelWith graphs:Initialise Phyphox device with name:CO2 AmpelCO2 Sensor (Sensirion SCD30)Value:CO2 in ppm â–¾CO2 Sensor (Sensirion SCD30)Value:Temperature in Â°C â–¾send to channel:2 â–¾send to channel:1 â–¾Send valuesInterval: Interval22000msArduino run first:Arduino loop forever:
1113000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixTypeDataDataDataDateiname1011011000100000000010119701110011003010090220
{ }

Arduino Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by senseBox Blockly on Thu Dec 04 2025 07:31:51 GMT+0000 (Coordinated Universal Time)
#include <phyphoxBle.h>
#include <SparkFun_SCD30_Arduino_Library.h> // http://librarymanager/All#SparkFun_SCD30_Arduino_Library
const long intervalInterval2 = 2000;
long time_startInterval2 = 0;
long time_actualInterval2 = 0;
SCD30 airSensor;
void setup() {
  Wire.begin();
  if (airSensor.begin() == false)
<>

XML Blocks

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<xml xmlns="https://developers.google.com/blockly/xml" board="null">
  <block type="arduino_functions" id="QWW|$jB8+*EL;}|#uA" deletable="false" x="27" y="16">
    <statement name="SETUP_FUNC">
      <block type="sensebox_phyphox_init" id="gXnrf@@(Ma_*_}jl$GBt">
        <field name="devicename">CO2 Ampel</field>
        <next>
          <block type="sensebox_phyphox_experiment" id="u^NjD#rIkuzd$5Fz8w;l">
            <field name="title">CO2 Ampel</field>
            <field name="description">Sendet die Messwerte der CO2 Ampel</field>
            <statement name="view">
              <block type="sensebox_phyphox_graph" id="a4nr%_X3ZwAuqLBo56@m">
                <field name="label">CO2-Konzentration</field>
                <field name="unitx">s</field>
                <field name="unity">ppm</field>
                <field name="labelx">Zeit</field>
                <field name="labely">Konzentration</field>
                <field name="style">line</field>

Information about the Block

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