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

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2024
  • 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...

ความคิดเห็น • 110

  • @thiagolopesfonsecadasilva5828
    @thiagolopesfonsecadasilva5828 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +1

      Thank you! 🙂

  • @maheshmustapure7668
    @maheshmustapure7668 ปีที่แล้ว +1

    Hii sir
    Thanks a lot for such a beautiful lesson
    Education is life.......

  • @venkatakrishnansrinivasan6928
    @venkatakrishnansrinivasan6928 8 หลายเดือนก่อน +1

    Very clear and Extra ordinary tutorial ! Thank you !

    • @joedgoh
      @joedgoh  8 หลายเดือนก่อน

      Thank you

  • @sampesore
    @sampesore 7 หลายเดือนก่อน +1

    amazing work, its very helpful for me , thank you very much !

  • @4K_Elect-uc6is
    @4K_Elect-uc6is 3 หลายเดือนก่อน +1

    The best tutoriel i've ever seen!

    • @joedgoh
      @joedgoh  3 หลายเดือนก่อน

      Thank you!

  • @user-vl7vc9ji5y
    @user-vl7vc9ji5y 5 หลายเดือนก่อน +1

    Your tutorial is very clear!

    • @joedgoh
      @joedgoh  5 หลายเดือนก่อน

      Thank you!

  • @iamravimeena
    @iamravimeena 3 หลายเดือนก่อน +1

    Thanks for such a detailed tutorial.

    • @joedgoh
      @joedgoh  3 หลายเดือนก่อน

      Thanks and Welcome!

  • @fjdelahoz
    @fjdelahoz 7 หลายเดือนก่อน +2

    Well Done. I enjoyed your video very much. Everything is nicely explained. Congratulations !!

    • @joedgoh
      @joedgoh  7 หลายเดือนก่อน

      Thank you!!

  • @captainandre9307
    @captainandre9307 7 หลายเดือนก่อน +1

    Great video thank you. I can’t get the arduino connect to see my ESP32. Any idea?

  • @deepak3409
    @deepak3409 4 หลายเดือนก่อน +1

    Very nice explanation. Thank you.

    • @joedgoh
      @joedgoh  2 หลายเดือนก่อน

      Glad it was helpful! Thank you

  • @liminha01
    @liminha01 4 หลายเดือนก่อน +1

    Great vídeo. Thank you for that.

    • @joedgoh
      @joedgoh  4 หลายเดือนก่อน

      Thank you!

  • @partouelectric2353
    @partouelectric2353 4 หลายเดือนก่อน +1

    Thanks for the great video

    • @joedgoh
      @joedgoh  4 หลายเดือนก่อน

      You're welcome. Thanks!

  • @hashinifernando2756
    @hashinifernando2756 7 หลายเดือนก่อน +1

    Thank you

  • @TECHMONY
    @TECHMONY หลายเดือนก่อน +1

    great teching sir..resfect thank very much

    • @joedgoh
      @joedgoh  หลายเดือนก่อน

      Thank you!

  • @beeso5208
    @beeso5208 10 หลายเดือนก่อน +1

    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😢

  • @labexpert316
    @labexpert316 วันที่ผ่านมา

    Nice

  • @acefuzzball7969
    @acefuzzball7969 11 หลายเดือนก่อน +2

    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

  • @wonderwang1585
    @wonderwang1585 8 หลายเดือนก่อน +1

    I love this channel! It is clear and the purpose is true, education is life

    • @joedgoh
      @joedgoh  8 หลายเดือนก่อน

      Thank you for the support 😃

  • @bibekmahara1012
    @bibekmahara1012 8 หลายเดือนก่อน +1

    thank you very much buddy

    • @joedgoh
      @joedgoh  8 หลายเดือนก่อน

      Welcome!

  • @pintar1819
    @pintar1819 ปีที่แล้ว +1

    tanks for video

    • @joedgoh
      @joedgoh  ปีที่แล้ว

      Thanks!

  • @ajinkyaudamale5800
    @ajinkyaudamale5800 11 หลายเดือนก่อน +1

    Can you please make video on Arduino cloud iot and x9c104 digital potentiometer

  • @batticha462
    @batticha462 3 หลายเดือนก่อน +1

    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 ?

  • @maheshmustapure7668
    @maheshmustapure7668 ปีที่แล้ว +1

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

  • @azzuhairizahir6322
    @azzuhairizahir6322 11 หลายเดือนก่อน +1

    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

  • @jasonchua3956
    @jasonchua3956 8 หลายเดือนก่อน +1

    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

  • @marygamal9095
    @marygamal9095 ปีที่แล้ว +2

    can i use Arduino UNO and ESP8266 instead of ESP32 ?

  • @user-yr5bk9bi8l
    @user-yr5bk9bi8l 5 หลายเดือนก่อน +1

    @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

  • @nurniza4907
    @nurniza4907 4 หลายเดือนก่อน +1

    in this project what about data ...everytime we turn it ON or OFF ...is there any place the data save

  • @user-iu6kf3zb9s
    @user-iu6kf3zb9s 10 หลายเดือนก่อน +1

    What is the range for connecting esp32 via wifi ?

  • @neerajgupta1251
    @neerajgupta1251 11 หลายเดือนก่อน +1

    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.

  • @jaimeabug9090
    @jaimeabug9090 4 หลายเดือนก่อน +1

    can you make a Iot cloud with esp32, capacitive soil moisture, dht22

  • @Fahimhossain81
    @Fahimhossain81 9 หลายเดือนก่อน +1

    Plz make Ac fan and Ac light dimming feature😢

  • @amishshehan2325
    @amishshehan2325 ปีที่แล้ว +1

    " Executing command: exit status 2
    Upload started "
    Why this error is showing?

  • @alanmccabe8009
    @alanmccabe8009 10 หลายเดือนก่อน +1

    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

  • @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 หลายเดือนก่อน +1

      Of course, you can. Thanks!

    • @alghamdiyusuf
      @alghamdiyusuf 5 หลายเดือนก่อน

      Hello Sir, can you please provide circuit diagram for this project please? @@joedgoh

  • @virendrapawar4562
    @virendrapawar4562 หลายเดือนก่อน +1

    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

  • @attic1537
    @attic1537 3 หลายเดือนก่อน +1

    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  3 หลายเดือนก่อน

      Yes, there is a widget for that. However, for the free account, only 1 day data retention. You need to upgrade for historical data.

  • @stranger6707
    @stranger6707 7 หลายเดือนก่อน

    Sir can you please provide the code for the same, i did email you.

  • @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!
      th-cam.com/video/rw_1E-2Dwrs/w-d-xo.html

    • @dannymarino5874
      @dannymarino5874 8 หลายเดือนก่อน

      I could fix it thank you!

  • @charlesozoagu6983
    @charlesozoagu6983 10 หลายเดือนก่อน +1

    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

  • @imranhanis
    @imranhanis 6 หลายเดือนก่อน

    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 6 หลายเดือนก่อน

      Set the default value as 0 or low

  • @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  ปีที่แล้ว +1

      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.

  • @jackandersonmelgar
    @jackandersonmelgar 3 หลายเดือนก่อน +1

    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

  • @nurniza4907
    @nurniza4907 5 หลายเดือนก่อน

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

  • @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?

  • @dionysus8216
    @dionysus8216 10 หลายเดือนก่อน

    can I use esp8622 instead of esp32?

    • @joedgoh
      @joedgoh  10 หลายเดือนก่อน +1

      You can use esp8266

  • @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

  • @fbrecovery9496
    @fbrecovery9496 ปีที่แล้ว

    No Associated Device Found. Can you please help me sir?

    • @Mohammad-kf1tg
      @Mohammad-kf1tg 7 หลายเดือนก่อน

      I have same problem

  • @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 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 4 หลายเดือนก่อน

      @@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  4 หลายเดือนก่อน

      Of course, a simple if condition in your Arduino code can do that.