senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. resolute-kolibri

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 â–¾Create GraphBodenfeuchteUnit x-axisStd.Unit y-axis%Label x-axisZeit seit BeginnLabel y-axisBodenfeuchtestyleLine â–¾x-axis valuey-axis valueCreate experimentTitleBodensensorDescriptionAnalyse der Bodenfeuchte und BodentemperaturWith graphs:Initialise Phyphox device with name:Terrascanner 3001Soil Moisture and Temperature (SMT50)Port:A â–¾Value:Soil Moisture â–¾send to channel:1 â–¾Send valuesInterval: Interval2000msArduino 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 Wed Nov 12 2025 10:31:53 GMT+0000 (Coordinated Universal Time)
#include <phyphoxBle.h>
const long intervalInterval = 2000;
long time_startInterval = 0;
long time_actualInterval = 0;
float getSMT50Moisture(int analogPin){
  int sensorValue = analogRead(analogPin);
  float voltage = sensorValue * (3.3 / 1024.0);
  return (voltage * 50) / 3;
}
void setup() {
<>

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="148" y="-539">
    <statement name="SETUP_FUNC">
      <block type="sensebox_phyphox_init" id="9i5.YG^5^DUSdE+h,GAy">
        <field name="devicename">Terrascanner 3001</field>
        <next>
          <block type="sensebox_phyphox_experiment" id="s:xPdw{a_4hd.-DEj@:|">
            <field name="title">Bodensensor</field>
            <field name="description">Analyse der Bodenfeuchte und Bodentemperatur</field>
            <statement name="view">
              <block type="sensebox_phyphox_graph" id="GH@IqKP=%h@*@(5Pi^Gx">
                <field name="label">Bodenfeuchte</field>
                <field name="unitx">Std.</field>
                <field name="unity">%</field>
                <field name="labelx">Zeit seit Beginn</field>
                <field name="labely">Bodenfeuchte</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