Lesson 2 - Measure and draw
π§βπ» Duration: 30 minutes
π― Target audience: individuals and small groups
1. Introduction to Visual Programmingβ
Playground allows programming by dragging and dropping blocks and responds immediately to connected modules.
2. Getting Started with HARDWARIO Playgroundβ
Make sure you have everything ready from the previous lesson:
β
Playground is running
β
Dongle is connected
β
PIR sensor has batteries
β
In Messages, you can see the outputs from the PIR sensor
3. First Programβ
Create a program to process the outputs from the PIR Module.
This text is not a complete Node-RED documentation.
For a deeper understanding, we recommend the official examples.
Task: Prepare an overview dashboard with the following elements:
- π§ Gauge for PIR Module orientation
- π Graph of orientation over time
- π‘οΈ Graph of temperature over time
π Pay attention to axis labels:
- X-axis: time
- Y-axis: value
4. Example Solutionβ
Function for processing data from the PIR Module

Resulting dashboard

5. Summaryβ
β You have learned how to connect modules, monitor their outputs, and display them graphically.
π Try also connecting the Climate Module and monitor pressure, humidity, or light.
In this lesson, the PIR Module was used for orientation and temperature.
Its motion detection is less suitable for quick testing, but you can try it if the surroundings are calm.