senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. Futurium: Mobile senseBox

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
Create file on SD-CardFilename.csv ▾Initialize DisplayTemperatur:  Temperature/Humidity Sensor (HDC1080)Value:Temperature in °C ▾create text withLaengengradGPS ModulValue:longitude ▾create text withBreitengradGPS ModulValue:latitude ▾create text withShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates50ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates25ValueShow Text/NumberFont colorWhite ▾Fontsize1x-Coordinates0y-Coordinates0ValueGPS ModulValue:Timestamp (RFC 3339) ▾Temperature/Humidity Sensor (HDC1080)Value:Temperature in °C ▾Save measurementSensor ID:618a51ef40ca9e001cac2342GPS ModulValue:latitude ▾GPS ModulValue:longitude ▾GPS ModulValue:altitude in m ▾Create CSV-file for openSenseMapTypeMobile ▾Timestamp (RFC 3339)measurementslatitudelongitudealtitude in mOpen a file from SD-CardFilename.csv ▾Interval: Interval2000msClear DisplayPrint on displayArduino 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 Fri Dec 12 2025 21:51:35 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 <Adafruit_HDC1000.h> // http://librarymanager/All#Adafruit_HDC1000_Library
#include <SparkFun_u-blox_GNSS_Arduino_Library.h> // http://librarymanager/All#SparkFun_u-blox_GNSS_Arduino_Library
#include <avr/dtostrf.h>
const long intervalInterval = 2000;
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
<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">csv</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

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