04 Easy IoT project w/ Arduino IoT Cloud - ESP32 | DHT11 Humidity & Temperature | Relay & DC Motor

  Переглядів 64,076

Education is Life

Education is Life

День тому

In this video, Joed Goh teaches you how to build your first IoT project using Arduino IoT Cloud with ESP32 thing. You'll learn how to read and visualize temperature and humidity data from a DHT11 / DHT22 sensor and control a DC motor / AC electric fan using an SPDT Relay. You'll also learn how to conduct your own experiment on how to control the brightness of an LED using a Dimmed Light widget in the Arduino IoT cloud web and mobile dashboard.
IoT Cloud Variables - Documentation: docs.arduino.cc/arduino-cloud...
Table of Contents:
00:00 Introduction
01:03 Materials
01:36 Circuit Connection
02:04 DC Motor
04:35 SPDT Relay
08:34 DHT11 Temp & Humidity Sensor
10:16 Arduino Create Agent
11:12 Arduino Account
11:42 Creating a Thing & cloud variable
14:38 Configure ESP32 as 3rd party IoT Device
17:06 Auto-generated Sketch
19:55 Creating Dashboard
22:05 Controlling a DC motor via cloud switch
24:42 Reading Temperature and Humidity data
27:45 Arduino Web Editor (Full)
33:12 Circuit and Programming Challenge
35:15 BONUS Clip - Controlling an AC Electric Fan
Related Playlists:
Embedded Systems using Arduino Uno
• Embedded Systems using...
Android App Development in Kotlin
• Android App Developmen...
Artificial Intelligence and Machine Learning Foundations
• Artificial Intelligenc...
Designing Database Solutions with Microsoft SQL Server 2019
• Designing Database Sol...
Data Structures and Algorithms using C#
• Data Structures and Al...

КОМЕНТАРІ: 109
@thiagolopesfonsecadasilva5828
@thiagolopesfonsecadasilva5828 4 місяці тому
That was one of the best tutorial that I've seen. Well presented, without errors, nothing hide, so many details, congratulations my friend!! Please don't stop your work here!!!
@joedgoh
@joedgoh 4 місяці тому
Thank you! 🙂
@maheshmustapure7668
@maheshmustapure7668 Рік тому
Hii sir Thanks a lot for such a beautiful lesson Education is life.......
@sampesore
@sampesore 7 місяців тому
amazing work, its very helpful for me , thank you very much !
@user-vl7vc9ji5y
@user-vl7vc9ji5y 4 місяці тому
Your tutorial is very clear!
@joedgoh
@joedgoh 4 місяці тому
Thank you!
@iamravimeena
@iamravimeena 3 місяці тому
Thanks for such a detailed tutorial.
@joedgoh
@joedgoh 3 місяці тому
Thanks and Welcome!
@venkatakrishnansrinivasan6928
@venkatakrishnansrinivasan6928 8 місяців тому
Very clear and Extra ordinary tutorial ! Thank you !
@joedgoh
@joedgoh 8 місяців тому
Thank you
@captainandre9307
@captainandre9307 7 місяців тому
Great video thank you. I can’t get the arduino connect to see my ESP32. Any idea?
@4K_Elect-uc6is
@4K_Elect-uc6is 2 місяці тому
The best tutoriel i've ever seen!
@joedgoh
@joedgoh 2 місяці тому
Thank you!
@hashinifernando2756
@hashinifernando2756 7 місяців тому
Thank you
@acefuzzball7969
@acefuzzball7969 11 місяців тому
Hi Sir i have question how can i control relay manualy and using automation? for example, control relay to turn on/off fan using webserver and using TTP223 touch sensor, i tried and it doesnt work together i can only use 1 of that for control relay
@ajinkyaudamale5800
@ajinkyaudamale5800 11 місяців тому
Can you please make video on Arduino cloud iot and x9c104 digital potentiometer
@deepak3409
@deepak3409 3 місяці тому
Very nice explanation. Thank you.
@joedgoh
@joedgoh 2 місяці тому
Glad it was helpful! Thank you
@azzuhairizahir6322
@azzuhairizahir6322 11 місяців тому
If i use 12 volt battery supply how much value of resistor that i have to use and also i use 12 v dc motor and 0.3 A
@liminha01
@liminha01 3 місяці тому
Great vídeo. Thank you for that.
@joedgoh
@joedgoh 3 місяці тому
Thank you!
@beeso5208
@beeso5208 10 місяців тому
Hay man good job, I appreciate what you are doing, can you please write for us the cod for brightness led, I tried alot to do it but I fell😢
@fjdelahoz
@fjdelahoz 7 місяців тому
Well Done. I enjoyed your video very much. Everything is nicely explained. Congratulations !!
@joedgoh
@joedgoh 7 місяців тому
Thank you!!
@maheshmustapure7668
@maheshmustapure7668 Рік тому
I am trying to use MAP of arduino iot cloud But it's showing latitude 0 and longitude 0 As they are initial values What changes in code are expected for proper location ? Thank you...
@marygamal9095
@marygamal9095 Рік тому
can i use Arduino UNO and ESP8266 instead of ESP32 ?
@partouelectric2353
@partouelectric2353 3 місяці тому
Thanks for the great video
@joedgoh
@joedgoh 3 місяці тому
You're welcome. Thanks!
@TECHMONY
@TECHMONY Місяць тому
great teching sir..resfect thank very much
@joedgoh
@joedgoh Місяць тому
Thank you!
@jasonchua3956
@jasonchua3956 8 місяців тому
Hi, the instruction and sketch is clear on your channel. Could you provide the code for dimmer light, thanks
@joedgoh
@joedgoh 8 місяців тому
Pls email me. joedgoh@gmail.com
@user-yr5bk9bi8l
@user-yr5bk9bi8l 4 місяці тому
@joedgoh Its amazing video brother.. I need to know that if we wanna add soil moisture sensor along with the same project and set the specific range so the motor should start automatically. Is it possible to do? and how can we achieve this. If you add it in the same project then it will be a great help and I will really appreciate. Thank you
@user-iu6kf3zb9s
@user-iu6kf3zb9s 9 місяців тому
What is the range for connecting esp32 via wifi ?
@batticha462
@batticha462 2 місяці тому
Thanks. How to choose esp wroom 32 (30 pins) for IoT projects ? It does not exist on the board options.Which board I need to choose from the list ?
@jaimeabug9090
@jaimeabug9090 4 місяці тому
can you make a Iot cloud with esp32, capacitive soil moisture, dht22
@pintar1819
@pintar1819 Рік тому
tanks for video
@joedgoh
@joedgoh Рік тому
Thanks!
@bibekmahara1012
@bibekmahara1012 7 місяців тому
thank you very much buddy
@joedgoh
@joedgoh 7 місяців тому
Welcome!
@nurniza4907
@nurniza4907 4 місяці тому
in this project what about data ...everytime we turn it ON or OFF ...is there any place the data save
@alanmccabe8009
@alanmccabe8009 9 місяців тому
great project, well presented, I am a newbie at this and I was able to get this working first time. I have tried but failed to implement the esp deep sleep code as I want to run the project on batteries (just the temperature side) any thoughts would be great. Thanks Alan
@neerajgupta1251
@neerajgupta1251 11 місяців тому
Hi Very good video. I was not very clear why you connected the ESP32 ground to the external 5 V supply gound. Please explain the logic. can the motor work with this ground connection. Thanks
@joedgoh
@joedgoh 11 місяців тому
It is just so happen that my motor and my relay are both 5VDC, so I used the same external 5V supply. For the relay module to work, it requires 5V, but it must be of common ground to the rest of the circuit. If in case you have a motor that operates on a much higher voltage (ex. 12v, 24v, etc), use a seprate supply to it and DO NOT connect its ground to your circuit. It should be separated and only connect it to the output side of your relay.
@Fahimhossain81
@Fahimhossain81 9 місяців тому
Plz make Ac fan and Ac light dimming feature😢
@wonderwang1585
@wonderwang1585 8 місяців тому
I love this channel! It is clear and the purpose is true, education is life
@joedgoh
@joedgoh 8 місяців тому
Thank you for the support 😃
@amishshehan2325
@amishshehan2325 Рік тому
" Executing command: exit status 2 Upload started " Why this error is showing?
@alghamdiyusuf
@alghamdiyusuf 7 місяців тому
can I do the same project with Solar panel and battery instead of the power supply as a smart home energy management system?
@joedgoh
@joedgoh 7 місяців тому
Of course, you can. Thanks!
@alghamdiyusuf
@alghamdiyusuf 5 місяців тому
Hello Sir, can you please provide circuit diagram for this project please? @@joedgoh
@stranger6707
@stranger6707 7 місяців тому
Sir can you please provide the code for the same, i did email you.
@attic1537
@attic1537 3 місяці тому
Hello great video! But I am wondering, if it is possible to make real time charts showing actual values and alao historical data, also presented by charts and available online anywhere. Example project: weather station, electricity metter.
@joedgoh
@joedgoh 2 місяці тому
Yes, there is a widget for that. However, for the free account, only 1 day data retention. You need to upgrade for historical data.
@virendrapawar4562
@virendrapawar4562 Місяць тому
Hello , Nice explanation !!, A quick question . The 5V DC Relay is controlled by a ESP32 3.3 V Pin voltage. Is this oK . Thanks
@joedgoh
@joedgoh Місяць тому
Controlled by 3.3V but powered by 5V DC adaptor. Thanks
@virendrapawar4562
@virendrapawar4562 Місяць тому
Thanks @@joedgoh
@joedgoh
@joedgoh Місяць тому
Welcome
@jackandersonmelgar
@jackandersonmelgar 3 місяці тому
sir pwedi po ba ako makahingi ng tulong? pano po kaya gamitin yung float var? para po sana sa PRM monitoring na illink sa Gauge.. bale ang concept po na naiisip namin PWM signal ang essend para ma recognise at makasend data dun sa gauge. kaso di po namin alam pano gamitin ang gauge nung IOT para maka read ng PWM signal po,. badly need your help sir para sa thesis ko po sir , kinulang po ksi sa data sa thesis po ito po kulang namin. sana sir ma tulungan mo po ako
@engineersupervisor4462
@engineersupervisor4462 Рік тому
Thanks a lot teacher,good work..do you hsve an e mail to contact with you? Can we use Arduino Mega for this project instead of ESP arduino?
@joedgoh
@joedgoh Рік тому
joedgoh@gmail.com ESP32 is different from Arduino microcontrollers. You can use Arduino mega but the built-in wifi is ESP8266.
@engineersupervisor4462
@engineersupervisor4462 Рік тому
@@joedgoh thanks a lot sir, i will send you later an email about my project planning to do.
@charlesozoagu6983
@charlesozoagu6983 10 місяців тому
Hello sir, Thank you for the lessons, I tried the same code but mine is not working, what do i do sir....
@stranger6707
@stranger6707 7 місяців тому
Can u please share the code
@joedgoh
@joedgoh 7 місяців тому
Pls email me. Thanks!
@stranger6707
@stranger6707 7 місяців тому
@@joedgoh I did email sir
@dannymarino5874
@dannymarino5874 8 місяців тому
I tried to turn on the LED but I could not. How can I know that the ESP32 is actually connected to the WiFi.
@joedgoh
@joedgoh 8 місяців тому
Please watch this previous lesson to learn about ESP32 Wi-Fi. Thanks! ukposts.info/have/v-deo/qqeQZXtkaXqo06c.html
@dannymarino5874
@dannymarino5874 8 місяців тому
I could fix it thank you!
@imranhanis
@imranhanis 5 місяців тому
i tried the same method but im unable to switch on and off the led. when i connect my esp32 to wifi the relay automatically turn on the led without me toggling the on/off switch
@0danP
@0danP 5 місяців тому
Set the default value as 0 or low
@jesus_songs3005
@jesus_songs3005 10 місяців тому
can I use esp8266 instead esp32 cam?
@joedgoh
@joedgoh 10 місяців тому
It depends on what purpose. ESP2 cam has a specialized purpose highlighting the integrated camera while esp 8266 doesn't have.
@meldelinoalvarado410
@meldelinoalvarado410 Рік тому
do you have a block diagram for that?
@joedgoh
@joedgoh Рік тому
For what?
@abyshakaayashi4414
@abyshakaayashi4414 Рік тому
Thanks Sir
@Beastclipzz6
@Beastclipzz6 Рік тому
​@@joedgoh of the entire connection
@dionysus8216
@dionysus8216 10 місяців тому
can I use esp8622 instead of esp32?
@joedgoh
@joedgoh 10 місяців тому
You can use esp8266
@nurniza4907
@nurniza4907 4 місяці тому
if I want to use one dashboard that can be controlled by many let's say 5 people ...if person A turn on the LED the next day Person C turn On the same LED...how do I make it ...if I have to share a password with others but how do I know that person C turn it on ...
@fbrecovery9496
@fbrecovery9496 Рік тому
No Associated Device Found. Can you please help me sir?
@Mohammad-kf1tg
@Mohammad-kf1tg 7 місяців тому
I have same problem
@gnarloy7034
@gnarloy7034 11 місяців тому
How do i do this with a 12v pump?
@joedgoh
@joedgoh 11 місяців тому
The same principle I used in my example. Instead of external 5v, use an external 12v supply
@QasimAli-xq9yf
@QasimAli-xq9yf Рік тому
Hello sir how are you how can I contact with you please
@joedgoh
@joedgoh Рік тому
It is in my About tab. Thanks
@QasimAli-xq9yf
@QasimAli-xq9yf Рік тому
@@joedgoh I did not find a way to communicate in information about the channel
@QasimAli-xq9yf
@QasimAli-xq9yf Рік тому
@@joedgoh Hello, I want to Arduino course, can you help me
@joedgoh
@joedgoh Рік тому
joedgoh@gmail.com
@jackandersonmelgar
@jackandersonmelgar Рік тому
mine is not working, it is offline. the esp i am using is esp32-WROOM-32. what specification do I need to select sir?
@joedgoh
@joedgoh Рік тому
Make sure that the device id and security key are correct. Also, make sure that your esp32 can connect to the internet properly (correct wifi credentials) troubleshoot these areas.
@jackandersonmelgar
@jackandersonmelgar Рік тому
@@joedgoh sir okay na po, na solve ko na din po ang issue. thank you very much sa very imformative nyo pong pag tuturo
@jackandersonmelgar
@jackandersonmelgar Рік тому
@@joedgoh Sir I had sent you an email, since I would like to learn more from this topic, if you dont mind Sir.
@joedgoh
@joedgoh Рік тому
Yes.. you are always welcome
@engggrrred
@engggrrred 11 місяців тому
hello, how did you fix it? im having the same kind of problem. same model rin po ng esp32. what model did you picked in iot cloud? tried the esp32-wroom-da module & esp32 dev module same offline :
@jhunardchristianasayas7134
@jhunardchristianasayas7134 4 місяці тому
Hello sir, beginner here. I did all your steps right before uploading sketch. ufortunately, it can find any device associated with it. so it fails to upload the code. My model of esp32 is wroom-32. I selected that but it still dont work. Please help
@joedgoh
@joedgoh 4 місяці тому
Did you select the same board I am using in my video? esp32 dev module?
@jhunardchristianasayas7134
@jhunardchristianasayas7134 4 місяці тому
Yes I did sir. Thank you for replying. I already figured out why. Why computer doesn't recognize the esp32 so I have to install the drivers to it. I just love this work, troubleshooting problems until you make it work is the best feeling. Ive met many more issues but fortunately, I found way out. Like when I added an i2c lcd to it to show the values of temp and humid. I also configured few of the codeds that make it automatic to turn on the fan whenever a threshold of temp is reached. Again thank you, and hopefully, I can accomplish my project using esp32. Keep doing a great job sir!!!
@joedgoh
@joedgoh 4 місяці тому
That's great. Good to know! 🙂
@jhunardchristianasayas7134
@jhunardchristianasayas7134 3 місяці тому
@@joedgoh Hello sir, Can you actually automatically turn on the motor and LED switch if the temperature and humidity level reaches a threshold? for ex. if temp >= 32, the fan turns on, and turns off when it gets lower than that? thank you!
@joedgoh
@joedgoh 3 місяці тому
Of course, a simple if condition in your Arduino code can do that.
Arduino IoT Cloud Fundamentals | 2024 Step-by-Step Guide
49:23
DroneBot Workshop
Переглядів 35 тис.
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,4 млн
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 507 тис.
ESP8266 Temperture and Humidity Sensor Dashboard | Node-RED
8:34
Dhanush Naidu
Переглядів 10 тис.
Using Arduino IoT Cloud with ESP32 | Is it better than New Blynk 🤔
19:41
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Переглядів 566 тис.
Water Your Garden with IoT - Soil Moisture Sensors
54:46
DroneBot Workshop
Переглядів 385 тис.
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 752 тис.
IoT Based Battery Monitoring System Using ESP8266 & Arduino IoT Cloud
10:06
IoT Projects Ideas
Переглядів 52 тис.
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,4 млн