Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Building a Complete IoT Home Automation System with ESP32 and MQTT

via freeCodeCamp

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Follow along with this comprehensive tutorial to create a complete home automation system using ESP32 microcontrollers, LEDs, and servo motors. Master the integration of hardware components and software development while building a smart system controllable from a Raspberry Pi or laptop. Progress through hands-on demonstrations covering hardware setup, ESP32 MQTT client configuration, software package installations, and database management with PostgreSQL. Explore the implementation of Node.js server architecture, including model creation, service modules, controller setup, and routing configurations. Dive into MQTT broker integration with Socket.io for real-time communication, and conclude by developing a responsive frontend using HTML and EJS templating. Gain practical experience with industry-standard tools and practices throughout this 73-minute guided project implementation.

Syllabus

Introduction
Hardware Setup
Project Demo
Software Flowchart
ESP32 MQTT Client
Software Package Installations
PostgreSQL Setup & Node.js Server Model.js
Service, Controller & Route Modules
MQTT Broker & Socket.io
FrontEnd: HTML & EJS

Taught by

freeCodeCamp.org

Reviews

Start your review of Building a Complete IoT Home Automation System with ESP32 and MQTT

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.