Embedded Systems
IoT

Coursework & lab experiments

Wireless Sensor Network Using ESP32 and MQTT

I explored ESP32 sensor nodes, FreeRTOS tasks, UDP and MQTT communication, and Node-RED visualization and alarm experiments.

PROJECT / 04
Sensor nodes
UDP / MQTT
Node-RED + alarms
Concept illustration · not a build photo

Overview

This project brings together my wireless sensor network coursework and lab work. I used ESP32 sensor nodes with DHT11 and light sensors, explored FreeRTOS tasks and UDP communication, and worked with MQTT messaging and Node-RED visualization and alarm experiments. It is not a commercially deployed sensor network.

Problem & goal

I wanted to understand how sensor acquisition, task scheduling and network communication fit together in a small wireless monitoring system.

How it works

  1. 1

    Read DHT11 and light-sensor measurements on ESP32 nodes.

  2. 2

    Use FreeRTOS tasks to explore separating sensing and communication work.

  3. 3

    Experiment with UDP communication and MQTT messaging; the exact topology and relationship between experiments need the lab report.

  4. 4

    Visualize received readings and explore alarm behavior with Node-RED.

Implementation highlights

  • Embedded sensing and FreeRTOS task-based experimentation.

  • Lab experience with both UDP and MQTT, without assuming an undocumented gateway topology.

  • Node-RED visualization and alarm experiments.

Technical challenges & considerations

  • Task timing and communication handling need coordination.

  • UDP and MQTT have different delivery behavior; no packet-loss or reliability measurements are claimed.

  • Node counts, network topology and alarm thresholds still need lab documentation.

Learning outcomes

  • I practiced organizing sensor-node work with FreeRTOS.

  • I explored UDP and MQTT communication in lab settings.

  • I learned to connect networked sensor data to visualization and alarm experiments.

Documentation & next additions

This is a coursework and lab-work summary. The lab report, node topology, task code, alarm rules and real build images are still to be supplied. No commercial deployment or quantified network performance is claimed.

Real build photos / wiring / code to be added

Documentation available on request

All projects