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

  Рет қаралды 67,822

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...

Пікірлер: 115
@thiagolopesfonsecadasilva5828
@thiagolopesfonsecadasilva5828 6 ай бұрын
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 6 ай бұрын
Thank you! 🙂
@venkatakrishnansrinivasan6928
@venkatakrishnansrinivasan6928 9 ай бұрын
Very clear and Extra ordinary tutorial ! Thank you !
@joedgoh
@joedgoh 9 ай бұрын
Thank you
@maheshmustapure7668
@maheshmustapure7668 Жыл бұрын
Hii sir Thanks a lot for such a beautiful lesson Education is life.......
@user-vl7vc9ji5y
@user-vl7vc9ji5y 6 ай бұрын
Your tutorial is very clear!
@joedgoh
@joedgoh 6 ай бұрын
Thank you!
@iamravimeena
@iamravimeena 5 ай бұрын
Thanks for such a detailed tutorial.
@joedgoh
@joedgoh 5 ай бұрын
Thanks and Welcome!
@4K_Elect-uc6is
@4K_Elect-uc6is 4 ай бұрын
The best tutoriel i've ever seen!
@joedgoh
@joedgoh 4 ай бұрын
Thank you!
@deepak3409
@deepak3409 5 ай бұрын
Very nice explanation. Thank you.
@joedgoh
@joedgoh 4 ай бұрын
Glad it was helpful! Thank you
@fjdelahoz
@fjdelahoz 9 ай бұрын
Well Done. I enjoyed your video very much. Everything is nicely explained. Congratulations !!
@joedgoh
@joedgoh 9 ай бұрын
Thank you!!
@liminha01
@liminha01 5 ай бұрын
Great vídeo. Thank you for that.
@joedgoh
@joedgoh 5 ай бұрын
Thank you!
@partouelectric2353
@partouelectric2353 5 ай бұрын
Thanks for the great video
@joedgoh
@joedgoh 5 ай бұрын
You're welcome. Thanks!
@TECHMONY
@TECHMONY 2 ай бұрын
great teching sir..resfect thank very much
@joedgoh
@joedgoh 2 ай бұрын
Thank you!
@sampesore
@sampesore 9 ай бұрын
amazing work, its very helpful for me , thank you very much !
@bibekmahara1012
@bibekmahara1012 9 ай бұрын
thank you very much buddy
@joedgoh
@joedgoh 9 ай бұрын
Welcome!
@captainandre9307
@captainandre9307 9 ай бұрын
Great video thank you. I can’t get the arduino connect to see my ESP32. Any idea?
@hashinifernando2756
@hashinifernando2756 8 ай бұрын
Thank you
@pintar1819
@pintar1819 Жыл бұрын
tanks for video
@joedgoh
@joedgoh Жыл бұрын
Thanks!
@acefuzzball7969
@acefuzzball7969 Жыл бұрын
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
@batticha462
@batticha462 4 ай бұрын
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 ?
@ajinkyaudamale5800
@ajinkyaudamale5800 Жыл бұрын
Can you please make video on Arduino cloud iot and x9c104 digital potentiometer
@azzuhairizahir6322
@azzuhairizahir6322 Жыл бұрын
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
@marygamal9095
@marygamal9095 Жыл бұрын
can i use Arduino UNO and ESP8266 instead of ESP32 ?
@wonderwang1585
@wonderwang1585 10 ай бұрын
I love this channel! It is clear and the purpose is true, education is life
@joedgoh
@joedgoh 10 ай бұрын
Thank you for the support 😃
@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...
@labexpert316
@labexpert316 Ай бұрын
Nice
@beeso5208
@beeso5208 Жыл бұрын
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😢
@nurniza4907
@nurniza4907 6 ай бұрын
in this project what about data ...everytime we turn it ON or OFF ...is there any place the data save
@user-yr5bk9bi8l
@user-yr5bk9bi8l 6 ай бұрын
@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
@jasonchua3956
@jasonchua3956 10 ай бұрын
Hi, the instruction and sketch is clear on your channel. Could you provide the code for dimmer light, thanks
@joedgoh
@joedgoh 10 ай бұрын
Pls email me. joedgoh@gmail.com
@user-iu6kf3zb9s
@user-iu6kf3zb9s 11 ай бұрын
What is the range for connecting esp32 via wifi ?
@alanmccabe8009
@alanmccabe8009 11 ай бұрын
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
@jaimeabug9090
@jaimeabug9090 6 ай бұрын
can you make a Iot cloud with esp32, capacitive soil moisture, dht22
@amishshehan2325
@amishshehan2325 Жыл бұрын
" Executing command: exit status 2 Upload started " Why this error is showing?
@Fahimhossain81
@Fahimhossain81 10 ай бұрын
Plz make Ac fan and Ac light dimming feature😢
@jaikrish50
@jaikrish50 22 күн бұрын
Sir i need one help how to modify and write code with DHT sensor and relay. Whenever the temperature is reaches above 35° then the relay will On state,and whenever below 35° relay will Off state. Also monitor in Arduino iot cloud platform using esp32. Please help me sir...
@attic1537
@attic1537 5 ай бұрын
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 4 ай бұрын
Yes, there is a widget for that. However, for the free account, only 1 day data retention. You need to upgrade for historical data.
@neerajgupta1251
@neerajgupta1251 Жыл бұрын
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 Жыл бұрын
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.
@jaikrish50
@jaikrish50 22 күн бұрын
5 volt dc is safe for esp32?
@virendrapawar4562
@virendrapawar4562 3 ай бұрын
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 3 ай бұрын
Controlled by 3.3V but powered by 5V DC adaptor. Thanks
@virendrapawar4562
@virendrapawar4562 3 ай бұрын
Thanks @@joedgoh
@joedgoh
@joedgoh 3 ай бұрын
Welcome
@fahimahmadosmani3618
@fahimahmadosmani3618 Ай бұрын
full editor option is not showing ...
@alghamdiyusuf
@alghamdiyusuf 9 ай бұрын
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 9 ай бұрын
Of course, you can. Thanks!
@alghamdiyusuf
@alghamdiyusuf 7 ай бұрын
Hello Sir, can you please provide circuit diagram for this project please? @@joedgoh
@izwankhairuddin9816
@izwankhairuddin9816 Ай бұрын
Is the software need to purchase first before upload into esp32?
@joedgoh
@joedgoh Ай бұрын
No. You can use it for free (limited to 2 things only).
@nurniza4907
@nurniza4907 6 ай бұрын
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 ...
@imranhanis
@imranhanis 7 ай бұрын
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 7 ай бұрын
Set the default value as 0 or low
@stranger6707
@stranger6707 8 ай бұрын
Sir can you please provide the code for the same, i did email you.
@charlesozoagu6983
@charlesozoagu6983 Жыл бұрын
Hello sir, Thank you for the lessons, I tried the same code but mine is not working, what do i do sir....
@stranger6707
@stranger6707 9 ай бұрын
Can u please share the code
@joedgoh
@joedgoh 9 ай бұрын
Pls email me. Thanks!
@stranger6707
@stranger6707 9 ай бұрын
@@joedgoh I did email sir
@jesus_songs3005
@jesus_songs3005 11 ай бұрын
can I use esp8266 instead esp32 cam?
@joedgoh
@joedgoh 11 ай бұрын
It depends on what purpose. ESP2 cam has a specialized purpose highlighting the integrated camera while esp 8266 doesn't have.
@jackandersonmelgar
@jackandersonmelgar 4 ай бұрын
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.
@dionysus8216
@dionysus8216 11 ай бұрын
can I use esp8622 instead of esp32?
@joedgoh
@joedgoh 11 ай бұрын
You can use esp8266
@fbrecovery9496
@fbrecovery9496 Жыл бұрын
No Associated Device Found. Can you please help me sir?
@Mohammad-kf1tg
@Mohammad-kf1tg 9 ай бұрын
I have same problem
@gnarloy7034
@gnarloy7034 Жыл бұрын
How do i do this with a 12v pump?
@joedgoh
@joedgoh Жыл бұрын
The same principle I used in my example. Instead of external 5v, use an external 12v supply
@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
@dannymarino5874
@dannymarino5874 10 ай бұрын
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 10 ай бұрын
Please watch this previous lesson to learn about ESP32 Wi-Fi. Thanks! kzbin.info/www/bejne/qKjCYnhjZ6mqqNU
@dannymarino5874
@dannymarino5874 9 ай бұрын
I could fix it thank you!
@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 Жыл бұрын
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 5 ай бұрын
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 5 ай бұрын
Did you select the same board I am using in my video? esp32 dev module?
@jhunardchristianasayas7134
@jhunardchristianasayas7134 5 ай бұрын
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 5 ай бұрын
That's great. Good to know! 🙂
@jhunardchristianasayas7134
@jhunardchristianasayas7134 5 ай бұрын
@@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 5 ай бұрын
Of course, a simple if condition in your Arduino code can do that.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 41 МЛН
Её Старший Брат Настоящий Джентельмен ❤️
00:18
Глеб Рандалайнен
Рет қаралды 8 МЛН
Arduino IoT Cloud Fundamentals | 2024 Step-by-Step Guide
49:23
DroneBot Workshop
Рет қаралды 42 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 541 М.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 338 М.
ChatGPT with Arduino and ESP32 | C++ and MicroPython coding
40:49
DroneBot Workshop
Рет қаралды 319 М.
I built my own graphics card
15:34
jdh
Рет қаралды 1,4 МЛН