senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. Mini-Umweltmessstation

Mini-Umweltmessstation

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
Create file on SD-CardFilename.txt ▾Initialize DisplayTemperatur:  Environmental sensor (BME680)Value:Temperature in °C ▾create text withLuftfeuchte:  Environmental sensor (BME680)Value:humidity in % ▾create text withLuftdruck:  Environmental sensor (BME680)Value:Airpressure in Pa ▾create text withShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates40ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates20ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValueZeit;Temperatur;Luftfeuchte;Luftdruck:  create text withcurrent elapsed Time (milliseconds);Environmental sensor (BME680)Value:Temperature in °C ▾;Environmental sensor (BME680)Value:humidity in % ▾;Environmental sensor (BME680)Value:Airpressure in Pa ▾create text with Write Data to SD-Cardlinebreak✓ Write Data to SD-Cardlinebreak✓Open a file from SD-CardFilename.txt ▾Interval: Interval60000msClear DisplayPrint on displayArduino run first:Arduino loop forever:
11DataDataDataDateiname13000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixType30 10110110001000000000101197011100110022010090
{ }

Arduino Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by senseBox Blockly on Wed Sep 03 2025 10:59:40 GMT+0000 (Coordinated Universal Time)
#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 <SD.h>
#include <bsec.h> // http://librarymanager/All#BSEC_Software_Library
float bmeTemperatur;
float bmeHumidity;
double bmePressure;
float bmeIAQ;
float bmeIAQAccuracy;
int bmeCO2;
<>

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="71" y="46">
    <statement name="SETUP_FUNC">
      <block type="sensebox_display_beginDisplay" id="=g/S4:/Ks^ZL[7Ebv~?G">
        <next>
          <block type="sensebox_sd_create_file" id="{eO`3hpZ8RtrC8$,Yzsl">
            <field name="extension">txt</field>
          </block>
        </next>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="sensebox_display_show" id="+Dgra#Boer=(Ok6ZpcL~">
        <statement name="SHOW">
          <block type="sensebox_display_printDisplay" id="a][3aTKlz@1qWpko#|nx">
            <field name="COLOR">WHITE,BLACK</field>
            <field name="SIZE">1</field>

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