Back to SunFounder ESP32 Starter Kit Course

ESP32 Tutorial 49/55 - Control DC Motor Over The internet using Adafruit IoT | SunFounder's ESP32 kit

If you don't like to see ads while video is being played you can purchase YouTube premium Here

In this video we learn how to control the speed, direction and start/stop of DC motor using ESP32 over clould using MQTT protocol provided by Adafruit.

Topics in this lesson

Use Chapters from timeline or click on the time

  • 00:00 Introduction
  • 2:21 Intoduction to the project
  • 4:20 How DC Motor is controlled
  • 6:39 L293D Motor Driver
  • 11:42 What is MQTT?
  • 15:03 Adafruit IO setup
  • 19:17 Wiring Explained
  • 22:42 Code explained
  • 35:28 Project Demonstration

Watch video instruction for this code on YouTube
Resource page for this lesson and code:
Tutoril by


**** Purchase this SunFounder ESP32 Learning kit from Affiliated Stores ***
ESP32 from Amazon USA
ESP32 from Amazon Canada
ESP32 from Amazon Germany
ESP32 from Amazon UK
ESP32 from SunFounder website
ESP32 from Amazon Japan
ESP32 from eBay

The least I expect from you is to thumb up the video and subscribe to my channel. I appriciate that. .I have spent months making these lectures and writing code. You don't lose anything by subscribging to my channel. Your subscription is stamp of approval to my videos and more people can find them and in it turn it helps me. Thank you

If you found this tutorial helpful, please support me so I can continue creating content like this. support me via PayPal

**** AFFILIATE PROGRAM **** We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Right Side