<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://home.roboticlab.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://home.roboticlab.eu/feed.php">
        <title>Robotic &amp; Microcontroller Educational Knowledgepage - Network of Excellence - en:iot:examples</title>
        <description></description>
        <link>https://home.roboticlab.eu/</link>
        <image rdf:resource="https://home.roboticlab.eu/_media/wiki/logo.png" />
       <dc:date>2026-04-05T00:29:23+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/button?rev=1617094800&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/buzzer?rev=1710260390&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/current?rev=1614852000&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/dht?rev=1677664800&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/dhtoled?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/dimlight?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/encoder?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/homesecurity?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/matrix?rev=1674900000&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/nfc?rev=1718984511&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/oled?rev=1614852000&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/pir?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/quickstart?rev=1677664800&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/relay?rev=1678183200&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/rgb?rev=1614852000&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/servo?rev=1614938400&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/setup?rev=1677664800&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot/examples/smartventilator?rev=1614938400&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://home.roboticlab.eu/_media/wiki/logo.png">
        <title>Robotic & Microcontroller Educational Knowledgepage - Network of Excellence</title>
        <link>https://home.roboticlab.eu/</link>
        <url>https://home.roboticlab.eu/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/button?rev=1617094800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-30T09:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Button example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/button?rev=1617094800&amp;do=diff</link>
        <description>Button example



The code above will send message to log if button pressed

lib_deps = ITTIoT, blackketter/Switch


/*
 * IoT Button example
 *
 * This example subscribe to the &quot;button&quot; topic. When a message received, then it
 * will show the message
 *
 * Created 21 Febuary 2018 by Mallor Kingsepp
 */

// Includes global variables and librarys that the Buzzer uses
#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;
#include &lt;Switch.h&gt;

#define WIFI_NAME &quot;name&quot;
#define WIFI_PASSWORD &quot;password&quot;

const byte…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/buzzer?rev=1710260390&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-12T16:19:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Buzzer example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/buzzer?rev=1710260390&amp;do=diff</link>
        <description>Buzzer example



Needed libraries:

lib_deps = ITTIoT, gmarty2000/Buzzer@^1.0.0

The code below will alert the buzz sound when values have been submitted by the mqtt server



/*
 * IoT Buzzer example
 *
 * This example subscribe to the &quot;buzzer&quot; topic. When a message received, then it
 * will make a sound
 *
 * Created 02 Febrary 2018 by Heiko Pikner
 */

// Includes global variables and librarys that the Buzzer uses
#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;
#include &lt;Buzzer.h&gt;

#define MODULE_T…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/current?rev=1614852000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-04T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Current example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/current?rev=1614852000&amp;do=diff</link>
        <description>Current example

The current sensor device has to be connected to the sensor module. Current sensor device has a 3,5 mm plug what has to be connected to the sensor module left jacket A. The controller and sensor modules must be connected.
The current sensor has to be 30A</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/dht?rev=1677664800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-01T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Temp/Hum example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/dht?rev=1677664800&amp;do=diff</link>
        <description>Temp/Hum example

DHT module must be connected to controller module or with sensor module. 




NB! If your DHT shield has one leg removed as in the picture below, please change the #define DHTPIN D4 to D3 in the program code.



Needed libraries:

lib_deps = ITTIoT, DHT sensor library, Adafruit Unified Sensor</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/dhtoled?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DHT and OLED example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/dhtoled?rev=1614938400&amp;do=diff</link>
        <description>DHT and OLED example

This example demonstrates how DHT senor can send temperature and humidity readings to the OLED screen with the ITT IoT framework.
For this example you will need two controllers. One with the OLED shield and the other with the DHT sensor shield.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/dimlight?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dimmable LED example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/dimlight?rev=1614938400&amp;do=diff</link>
        <description>Dimmable LED example

This example demonstrates how to dim a RGB LED with the ITT IoT framework.
For this example you will need two controllers. One with the RGB LED shield and the other with the sensor shield that has the encoder attached. For the guide for attaching the encoder to the sensor shield check out the</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/encoder?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Encoder example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/encoder?rev=1614938400&amp;do=diff</link>
        <description>Encoder example

The encoder sensor device has to be connected to the sensor module. Encoder sensor device has a two 3,5 mm plugs what has to be connected to the sensor module 3,5 mm input jackets. The controller and sensor modules must be connected.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/homesecurity?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Home security example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/homesecurity?rev=1614938400&amp;do=diff</link>
        <description>Home security example

This example demonstrates how to build a home security system with the ITT IoT kit. To build this example you will need two controller modules. Attach the PIR module to one of the controllers. And OLED and buzzer modules to the other.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/matrix?rev=1674900000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-28T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LED Matrix example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/matrix?rev=1674900000&amp;do=diff</link>
        <description>LED Matrix example



Needed libraries:

lib_deps = WEMOS Matrix Adafruit GFX@1.3, Adafruit GFX Library@1.7.2, adafruit/Adafruit BusIO@^1.6.0

For learning how to use the IoT Matrix you can try out the example and tasks.


/* Switching boxes */

// Librarys that the IoT Matrix uses
#include &lt;Arduino.h&gt;
#include &lt;Adafruit_GFX.h&gt;
#include &lt;WEMOS_Matrix_GFX.h&gt;
#include &lt;SPI.h&gt;
#include &lt;Adafruit_I2CDevice.h&gt;

MLED matrix(7); //set intensity=7 (maximum)

void setup() {
  Serial.begin(9600);
  Serial…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/nfc?rev=1718984511&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-21T15:41:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFC example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/nfc?rev=1718984511&amp;do=diff</link>
        <description>NFC example





SCK  -&gt; 4 

MISO -&gt; 5 

MOSI -&gt; 6 

SS   -&gt; 13 

VCC  -&gt; 8 

GND  -&gt; 15 


Needed libraries:

lib_deps = ITTIoT, Adafruit PN532

The code below will upload card ID to mqtt server, when a card is present.



/*
 * IoT NFC example
 *
 * This example will publish to &quot;NFC&quot; topic
 *
 * Created 19 Nov 2019
 * Modified by Lars Briedis 17 June 2024
 */

#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;
#include &lt;Adafruit_PN532.h&gt;
 
#define WIFI_NAME &quot;name&quot;
#define WIFI_PASSWORD &quot;password&quot;
 
//De…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/oled?rev=1614852000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-04T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oled display example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/oled?rev=1614852000&amp;do=diff</link>
        <description>Oled display example

Oled module must be connected to controller module or with sensor module. 




Needed libraries:

lib_deps = ITTIoT, Adafruit GFX Library, Adafruit SSD1306 Wemos Mini OLED, adafruit/Adafruit BusIO

 The example code above shows counter value on screen</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/pir?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>PIR example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/pir?rev=1614938400&amp;do=diff</link>
        <description>PIR example



Needed libraries:

lib_deps = ITTIoT

The code below will show if PIR detector detect any movement.


/*
 * IoT PIR example
 *
 * This example subscribe to the &quot;pir&quot; topic. When a message received, then it
 * will switch the pir module &quot;ON&quot; and &quot;OFF&quot;
 *
 * Created 21 Febuary 2018 by Heiko Pikner and Mallor Kingsepp
 */

// Includes global variables and librarys that the PIR shield uses
#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;

#define MODULE_TOPIC &quot;ESP30/pir&quot;
#define WIFI_NAME &quot;na…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/quickstart?rev=1677664800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-01T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Quickstart guide</title>
        <link>https://home.roboticlab.eu/en/iot/examples/quickstart?rev=1677664800&amp;do=diff</link>
        <description>Quickstart guide

Configuring the development environment

Download and install VS Code from here

Install Python on Windows

Download Python from here

Before installing check the Add Python to PATH



Install Python on Linux

Open terminal and check if you have Python 3 installed.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/relay?rev=1678183200&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-07T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Relay example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/relay?rev=1678183200&amp;do=diff</link>
        <description>Relay example

Relay module must be connected to controller module or with sensor module. 




Relay has 3 input holes.



Needed libraries:

lib_deps = ITTIoT

The example code below shows if something is connected to the relay module


// Includes global variables and librarys that the relay shield uses
#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;

#define MODULE_TOPIC &quot;ESP30/relay&quot;
#define WIFI_NAME &quot;name&quot;
#define WIFI_PASSWORD &quot;password&quot;

#define RELAY_PIN 5 // The relay has been connected to pi…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/rgb?rev=1614852000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-04T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>RGB LED example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/rgb?rev=1614852000&amp;do=diff</link>
        <description>RGB LED example

LED RGB module must be connected to controller module or with sensor module.




Needed libraries:

lib_deps = ITTIoT, Adafruit NeoPixel

The example code above lights the RGB LED


#include &lt;Arduino.h&gt;
#include &lt;ittiot.h&gt;
#include &lt;Adafruit_NeoPixel.h&gt;

#define MODULE_TOPIC &quot;ESP30/rgb&quot;
#define WIFI_NAME &quot;name&quot;
#define WIFI_PASSWORD &quot;password&quot;

//Stating, to which PIN the RGB LED has been connected
#define PIN            D2

// When we setup the NeoPixel library, we tell it how …</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/servo?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Servo example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/servo?rev=1614938400&amp;do=diff</link>
        <description>Servo example

Servo motor has to be connected to the sensor module. Motor cable pins has to be connected to left side of the sensor pins, and also the brown cable(GRND) has to be connected to the left side of the pin.





Needed libraries:

lib_deps = ITTIoT</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/setup?rev=1677664800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-01T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Setup</title>
        <link>https://home.roboticlab.eu/en/iot/examples/setup?rev=1677664800&amp;do=diff</link>
        <description>Setup

Here you can find information about how to set up your IoT Homelab kits. Once the setup is complete, you can use MQTTbox (or any other MQTT software) to check if everything works correctly.

IDE for programming

In order to program the IoT modules, a PC with IDE. There are two options where Visual Studio Code text editor with PlatformIO plugin is recommended.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot/examples/smartventilator?rev=1614938400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-05T10:00:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Smart ventilator example</title>
        <link>https://home.roboticlab.eu/en/iot/examples/smartventilator?rev=1614938400&amp;do=diff</link>
        <description>Smart ventilator example

This example shows how to make a temperature sensor controlled ventilator. You will need 2 controller modules. One
with DHT shield attached and the other with relay shield.

[IoT controllers with DHT and relay shields]

Once the code has been uploaded, the DHT controller will publish the temperature and humidity values to</description>
    </item>
</rdf:RDF>
