Lesson 2 β Measure and plot
π§βπ» Duration: 30 minutes
π― Target audience: individuals and small groups
1. Introduction to visual programmingβ
In Playground, you program by dragging and dropping blocks, and the application reacts immediately to the connected modules.
2. Getting started with HARDWARIO Playgroundβ
Check that you have everything ready from the previous lesson:
β
Playground is running
β
The dongle is connected
β
The PIR sensor has batteries
β
In Messages, you can see the outputs of the PIR sensor
3. First programβ
Create a program that processes the outputs of the PIR Module.
This text does not replace the full Node-RED documentation.
To go deeper, we recommend the official examples.
Task: Build an overview dashboard with these elements:
- π§ Gauge for the PIR Module orientation
- π Chart of orientation over time
- π‘οΈ Chart of temperature over time
π Mind the axis labels:
- X-axis: time
- Y-axis: value
4. Example solutionβ
The function that processes data from the PIR Module

The resulting dashboard

5. Summaryβ
β You can now connect modules, watch their outputs and display them graphically.
π Also try connecting the Climate Module and watching pressure, humidity or illuminance.
In this lesson, you used the orientation and temperature of the PIR Module.
Its motion detection is less suited to quick testing, but you can try it when nothing is moving around you.