Uploaded February 2024 | Updated November 2026, 10 hours ago
In this video we learn how to control the speed, direction and start/stop of DC motor using ESP32 over could using MQTT protocol provided by Adafruit.
This video is part of series of Tutorials for SunFounder ESP32 IoT Learning Kit which can be viewed here : bit.ly/sf-esp32-video
πβ¬οΈ Download and resource page robojax.com/RJT673
Related videos:
Introduction to learning kit and installing software youtu.be/fsLxbRaqsaE
How to use a breadboard: youtu.be/jTJ-JL2gEuQ
**** Purchase ESP32 from Affiliated Stores ***
Amazon USA: amzn.to/3N79EPL
Amazon Canada: amzn.to/3Rm6VEs
Amazon UK: amzn.to/46ArnWL
Amazon Deutschland amzn.to/4aCcGFW
Amazon Japan: amazon.co.jp//dp/B0CLDJ2DL7
eBay:
AliExpress: https://s.click.aliexpress.com/e/_DFlLFnh
Use Chapters from timeline or click on the time
00:00 Start
2:21 Introduction 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
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Or buy me a coffee ko-fi.com/robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
#robojax #SunFounder #RobojaxESP32
----------- Robojax.com -----------
Website: robojax.com
All tutorials: robojax.com/tutorial_categories.php?lang=en
Downloads files: robojax.com/files.php?lang=en
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal):
π₯paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
**** 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 Amazon.com and affiliated sites.
In this video we learn how to control the speed, direction and start/stop of DC motor using ESP32 over could using MQTT protocol provided by Adafruit.
This video is part of series of Tutorials for SunFounder ESP32 IoT Learning Kit which can be viewed here : bit.ly/sf-esp32-video
πβ¬οΈ Download and resource page robojax.com/RJT673
Related videos:
Introduction to learning kit and installing software youtu.be/fsLxbRaqsaE
How to use a breadboard: youtu.be/jTJ-JL2gEuQ
**** Purchase ESP32 from Affiliated Stores ***
Amazon USA: amzn.to/3N79EPL
Amazon Canada: amzn.to/3Rm6VEs
Amazon UK: amzn.to/46ArnWL
Amazon Deutschland amzn.to/4aCcGFW
Amazon Japan: amazon.co.jp//dp/B0CLDJ2DL7
eBay:
AliExpress: https://s.click.aliexpress.com/e/_DFlLFnh
Use Chapters from timeline or click on the time
00:00 Start
2:21 Introduction 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
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Or buy me a coffee ko-fi.com/robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
#robojax #SunFounder #RobojaxESP32
----------- Robojax.com -----------
Website: robojax.com
All tutorials: robojax.com/tutorial_categories.php?lang=en
Downloads files: robojax.com/files.php?lang=en
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal):
π₯paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
**** 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 Amazon.com and affiliated sites.


![Lesson 89: Using Continuous or 360 Servo motor| Arduino Step By Step Course
In this lesson we learn 360 or continuous servo motor and how to control them with 3 push buttons. this is just for demonstration purpose. Cant be used in real application. Full wiring diagram and demonstration is provided as well as the code explanation.
πβ¬οΈ Download and resource page https://robojax.com/RJT765
*** Purchase 360 Servo from affiliated stores ***
Amazon USA: https://amzn.to/3znVmSA
Amazon Canada: https://amzn.to/3Hyauju
All other Amazon: https://amzn.to/3sQ1FNP
Amazon: https://amzn.to/2TXaVgu
AliExpress: https://s.click.aliexpress.com/e/_9iCNKh
Banggood: https://www.banggood.com/custlink/m3GdNPcK1M
eBay: https://ebay.us/fUBeDL
*** Purchase Arduino Start Kit ***
Amazon USA: https://amzn.to/3z88F9G or just UNO board https://amzn.to/3aY7KOL
Amazon Canada: https://amzn.to/31an88J or just UNO board https://amzn.to/3pYxSNN
Amazon Europe (all Europe): https://amzn.to/3pMCHge or Just UNO board https://amzn.to/2PgGItD
AliExpress: https://s.click.aliexpress.com/e/_9uc7Xe
Banggood: https://www.banggood.com/custlink/3GDdsC1slt or UNO board https://www.banggood.com/custlink/vKmdbc7blp
eBay: https://ebay.us/B1JWLi
****** Purchase Authentic Arduino Uno from ****
Amazon USA: https://amzn.to/2KApAwK
Amazon Canada: https://amzn.to/37LZ8sW
All Europe Amazon: https://amzn.to/36YDSzn
Use Chapters from timeline or click on the time
[00:05] Introduction to the Continuous Servo Motor
[02:02] Hardware Overview of the Servo
[02:40] Wiring Diagram and Connections
[05:07] Code Explanation: Variables and Setup
[08:03] Code Explanation: Main Loop Logic
[09:56] The servoCommand() Function
[10:54] Live Demonstration and Serial Monitor Output
[12:23] Calibrating Servo Speed and Stop Values
Tutorial by Ahmad Shamshiri form Canada
****************************
Worth $200 Arduino Step by Step Course (over 100 lectures) Starts here https://youtu.be/-6qSrDUA5a8
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link https://paypal.me/robojaxTV
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
Follow me on Facebook http://fb.me/robojaxTV
Follow me on Twitter: https://twitter.com/robojaxTV
Follow me on Instagram: https://instagram.com/robojax/
Follow me on TikTok : https://tickTok.com/@robojaxtv
Tutorial by Robojax.com
Get other projects code and learn Arduino
http://robojax.com/learn/arduino
#robojax #robojaxArduinoCourse #robojaxServo
**** 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 Amazon.com and affiliated sites. Lesson 89: Using Continuous or 360 Servo motor| Arduino Step By Step Course](https://i.ytimg.com/vi/OtOcuJwtPdQ/mqdefault.jpg)







