<?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-open:practical:hardware:rtu:esp32:scenarios</title>
        <description></description>
        <link>https://home.roboticlab.eu/</link>
        <image rdf:resource="https://home.roboticlab.eu/_media/wiki/logo.png" />
       <dc:date>2026-04-05T03:14:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/bmp280?rev=1753971504&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/dht11?rev=1753959480&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/ds18b20?rev=1753879653&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/fan?rev=1753878514&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/lcd?rev=1753879593&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/neopixel?rev=1753868218&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/rgb-led?rev=1753867795&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/servo?rev=1753954938&amp;do=diff"/>
                <rdf:li rdf:resource="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/tcs?rev=1761666453&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-open/practical/hardware/rtu/esp32/scenarios/bmp280?rev=1753971504&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-31T14:18:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 BMP280</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/bmp280?rev=1753971504&amp;do=diff</link>
        <description>ESP32 BMP280

This is an example of the BMP280 reading and displaying on screen.

Prequisits

There is no necessary prequisits, the wire library will be pulled in automatically.

Example


#include &lt;Arduino.h&gt;
#include &lt;Wire.h&gt;
#include &lt;Adafruit_LiquidCrystal.h&gt;
#include &lt;Adafruit_BMP280.h&gt;

/* BMP280 */
Adafruit_BMP280 bmp; // I2C

#define SDA_PIN 17
#define SCL_PIN 16

#define LCD_RS 48
#define LCD_ENABLE 47
#define LCD_D4 34
#define LCD_D5 33
#define LCD_D6 26
#define LCD_D7 21

static Adafr…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/dht11?rev=1753959480&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-31T10:58:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 DHT11</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/dht11?rev=1753959480&amp;do=diff</link>
        <description>ESP32 DHT11

This is an example of the dht reading and displaying on screen.

Prequisits

Platform.ini


lib_deps = adafruit/DHT sensor library@^1.4.6


Example


#include &lt;Arduino.h&gt;
#include &lt;Adafruit_LiquidCrystal.h&gt;
#include &lt;DHT.h&gt;

/* DHT11 */
#define DHTPIN 15
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);

#define LCD_RS 48
#define LCD_ENABLE 47
#define LCD_D4 34
#define LCD_D5 33
#define LCD_D6 26
#define LCD_D7 21

static Adafruit_LiquidCrystal lcd(LCD_RS, LCD_ENABLE, LCD_D4, LCD_D5, …</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/ds18b20?rev=1753879653&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-30T12:47:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 DS18B20</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/ds18b20?rev=1753879653&amp;do=diff</link>
        <description>ESP32 DS18B20

This is an example of the ds18b20 running and showcasing temperature using the 16×2 lcd.

Prequisits

Platform.ini


lib_deps = adafruit/Adafruit LiquidCrystal@^2.0.2
  milesburton/DallasTemperature@^3.11.0


Example


#include &lt;Arduino.h&gt;
#include &lt;Adafruit_LiquidCrystal.h&gt;
#include &lt;DallasTemperature.h&gt;

/* DS18B20 */
#define ONE_WIRE_BUS 14
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&amp;oneWire);

#define LCD_RS 48
#define LCD_ENABLE 47
#define LCD_D4 34
#define LCD_…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/fan?rev=1753878514&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-30T12:28:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 Fan control</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/fan?rev=1753878514&amp;do=diff</link>
        <description>ESP32 Fan control

Example of how to turn the fan on and off


#include &lt;Arduino.h&gt;
#define FAN_PIN 18

void setup() {
  pinMode(FAN_PIN, OUTPUT);
}
void loop() {
  digitalWrite(18, HIGH);
  delay(2500);
  digitalWrite(18, LOW);
  delay(5000);
}</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/lcd?rev=1753879593&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-30T12:46:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 LCD 16x2</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/lcd?rev=1753879593&amp;do=diff</link>
        <description>ESP32 LCD 16x2

This is an example of the lcd running, check the reference for more things to do: &lt;https://github.com/adafruit/Adafruit_LiquidCrystal&gt;

Prequisits

Platform.ini


lib_deps = adafruit/Adafruit LiquidCrystal@^2.0.2


Example


#include &lt;Arduino.h&gt;
#include &lt;Adafruit_LiquidCrystal.h&gt;

#define LCD_RS 48
#define LCD_ENABLE 47
#define LCD_D4 34
#define LCD_D5 33
#define LCD_D6 26
#define LCD_D7 21

static Adafruit_LiquidCrystal lcd(LCD_RS, LCD_ENABLE, LCD_D4, LCD_D5, LCD_D6, LCD_D7);

…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/neopixel?rev=1753868218&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-30T09:36:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 Neopixel</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/neopixel?rev=1753868218&amp;do=diff</link>
        <description>ESP32 Neopixel

Reference: &lt;https://github.com/adafruit/Adafruit_NeoPixel&gt;


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

#define LED_PIN 12
#define LED_COUNT 8

Adafruit_NeoPixel strip(LED_COUNT, LED_PIN);

void setup() {
  Serial.begin(115200);

  strip.begin();
  strip.show();
}
void loop() {
  strip.clear();
  strip.setPixelColor(1,0,0,255);
  strip.show();
  delay(1000);
  strip.clear();
  strip.setPixelColor(6,0,0,255);
  strip.show();
  delay(1500);
}</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/rgb-led?rev=1753867795&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-30T09:29:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Use of RGB LEDs</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/rgb-led?rev=1753867795&amp;do=diff</link>
        <description>Use of RGB LEDs

This scenario presents how to handle the brightness control of the tri-coloured LEDs. Both LEDs are electrically bound and cannot be controlled independently. Those LEDs have 3 colour channels, controlled independently: R (Red), G (Green) and B (Blue). Mixing of those colours creates other ones, such as pink and violet. Each R G B channel can be controlled with a separate GPIO to switch it on or off or control brightness using a PWM signal, as presented in this tutorial.</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/servo?rev=1753954938&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-31T09:42:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 Servo</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/servo?rev=1753954938&amp;do=diff</link>
        <description>ESP32 Servo

This is an example of the servo running sweep program.

Prequisits

Platform.ini


lib_deps = deneyapkart/Deneyap Servo@^1.1.1


Example


#include &lt;Arduino.h&gt;
/*
*   ServoMotor örneği,
*   D9 pinine bağlanan servo motorun mili 60 derece dönmektedir.
*/
#include &lt;Deneyap_Servo.h&gt;      // Deneyap Servo kütüphanesi eklenmesi
 
Servo myservo;                  // Servo için class tanımlanması
int pos = 0;
void setup() {  
  myservo.attach(13);           // Servo motorun D9 pinine bağlan…</description>
    </item>
    <item rdf:about="https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/tcs?rev=1761666453&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-28T15:47:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 TCS34725</title>
        <link>https://home.roboticlab.eu/en/iot-open/practical/hardware/rtu/esp32/scenarios/tcs?rev=1761666453&amp;do=diff</link>
        <description>ESP32 TCS34725

This is an example of the TCS34725 reading rgb color code from neopixel, and displaying it on lcd

Prequisits


lib_deps = adafruit/Adafruit LiquidCrystal@^2.0.2


Example


#include &lt;Arduino.h&gt;
#include &lt;Wire.h&gt;
#include &lt;Adafruit_LiquidCrystal.h&gt;
#include &lt;Adafruit_TCS34725.h&gt;
#include &lt;Adafruit_NeoPixel.h&gt;

/* NEOPIXEL */
void colorWipe(uint32_t color, int wait);
#define LED_PIN 12
#define LED_COUNT 8
Adafruit_NeoPixel strip(LED_COUNT, LED_PIN);

#define SDA_PIN 17
#define SCL…</description>
    </item>
</rdf:RDF>
