Control Anything With IOT Easy Internet of Things with ESP32 and Arduino

2024 ж. 4 Мам.
102 564 Рет қаралды

High quality PCB prototypes: www.pcbway.com
3D & CNC service: www.pcbway.com/rapid-prototyp...
🔥Create an online database, create a simple php code, make a connection with the ESP32 to the database and get or send data to the cloud. Control anything with WIFI connection
🔀LINKS
-------------------------------------
Tutorial Website: electronoobs.com/eng_arduino_...
Arduino Code: electronoobs.com/eng_arduino_...
My tools: electronoobs.com/eng_afiliate...
False/True T-Shirt: teespring.com/it-s-funny-beca...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Donate on PayPal: www.paypal.com/donate?hosted_...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / @electronoobsenespanol
00:00 Intro
02:29 Steps of the video
03:30 ESP32 + Arduino IDE
05:42 Bare Minimum ESP32
07:41 Website + Database
10:50 Toggle Button
12:20 ESP32 receive data
15:41 ESP32 Send data
17:31 Thank you!
Like share and subscribe to motivate me. Thank you
#ESP32
#WiFI
#IOT

Пікірлер
  • Get an ESP32: s.click.aliexpress.com/e/_AKsuGp My Tools: bit.ly/3uv8bc3 Help me on Patreon: www.patreon.com/ELECTRONOOBS

    @ELECTRONOOBS@ELECTRONOOBS2 жыл бұрын
  • This is the content we want... please include esp32 cam in your series...I don't know much about microcontrollers... whatever I did in past is in the field of raspberry Pi...

    @BharatMohanty@BharatMohanty2 жыл бұрын
  • This is lovely, just what is needed for a custom IOT Cloud. Thank you

    @hicmikrolab@hicmikrolab2 жыл бұрын
  • Your content is great! Real value for noobs, amateurs and even the early professionals. Please continu your work. Many thanks.

    @anthonyvandenhondel865@anthonyvandenhondel865 Жыл бұрын
  • Thanks for doing what you do! Plan to follow alongside your videos on release

    @declanrambert5946@declanrambert59462 жыл бұрын
  • 5:34 When the EN pin on the ESP32 dev board is already decoupled by capacitor to the gnd, there is no need to push the boot button while uploading your sketch. It's done automatically by the auto program circuit in the dev board (consist of two pair transistor).

    @vincenrailfanssolo@vincenrailfanssolo2 жыл бұрын
  • Omg thank you! Im working on a friendship lamp for over two years now. I suck at coding and have no idea what im doing so i never got it working. But now you are showing me all my mistakes and how to do it easier

    @DarkDragonEgg@DarkDragonEgg2 жыл бұрын
  • Scott, very much enjoy your videos. So much information conveyed, in an easy to learn format. Keep up the great work!

    @emailuser3869@emailuser38692 жыл бұрын
    • Thank you scott

      @ELECTRONOOBS@ELECTRONOOBS2 жыл бұрын
  • This one is wonderful. I was searching the similar video. Thank you for this one.

    @AmateurInventor@AmateurInventor2 жыл бұрын
  • Great video series! Looking forward to watching more! :)

    @JLCPCB@JLCPCB2 жыл бұрын
  • i really needed this 9 months ago :', but now i know how to do this things for future projects with IoT and php

    @kiosama159ify@kiosama159ify2 жыл бұрын
  • Your videos are clear with detailed explanations. Very helpful for newbies.Thanks so much with my respect!

    @fashabeechannel6824@fashabeechannel682411 ай бұрын
  • Great high quality contents as usual my friend. looks like you will use esp module in custom pcb in the next project . Will eagerly wait for the next project.

    @sarwarmehedi@sarwarmehedi2 жыл бұрын
  • Awesome! I had problems following the other iot tutorial.

    @webslinger2011@webslinger20112 жыл бұрын
  • This is such a useful video, it's all greatly explained !

    @hugobonnell@hugobonnell Жыл бұрын
  • The best video on the topic, i found the solution after 2 days of research with your video.

    @emreceylan9979@emreceylan99794 ай бұрын
  • Andrei, I've been playing around with ESP32 Node MCU's for a little while now having started out with the DroneBot Workshop Introductino to ESP32 video. I have even created an ESP32 to ESP32 6-axis robot where the remote control is ESP32 that controls the servo driving board (also ESP32) communicating over WiFi with no internet needed. But one thing I haven't learned to do yet was over the internet control. So you can imagine I am very happy to see this wonderful video from you. This video was very well put together and as you said easier to understand than the video you did before that you mentioned. I do have two questions: 1) I see the free site you used for website creation lets you do one free website. So if a person wants to do more than one IoT project they would have to use a different site (or keep using different emails). Is there another site that you recommend? 2) Have you considered doing a video where you show how to scale this project? By that I mean a video that shows how to add more inputs to this project (another pushbutton and maybe two potentiometers) and more outputs? It's probably something that can be figured out from the code you provided. But even a short video or section to the tutorial that explains this is the sections of code that would need to be modified for scaling would be helpful. Thank you for the wonderful educational content you've provided over the years. Jonathan

    @JonathanDeWitt1988@JonathanDeWitt19882 жыл бұрын
  • Thank You so much! Im on a mission to go through all Your videos, great teaching methods!

    @jojowasabi2646@jojowasabi2646 Жыл бұрын
  • u deserve a huge donation thank you so much

    @Ayman-ezzaki@Ayman-ezzaki7 ай бұрын
  • You Content is Awesome as always.

    @prashantdawar@prashantdawar2 жыл бұрын
  • Good job 👍 keep it up Please also include cloudless method of iot for security and rapid response using a local server with raspberry pi or any other hardware

    @kashif8704@kashif87042 жыл бұрын
  • Kind of information we need. Thank you

    @muffinengineer1438@muffinengineer14382 жыл бұрын
  • Very cool 👍 Many thanks for posting this.

    @superpuppy7854@superpuppy7854 Жыл бұрын
  • Time travel stuff box in the background made me laugh. You're the reason I'll be watching Rick and Morty today. Lol

    @OpenLogicEFI@OpenLogicEFI2 жыл бұрын
  • Nice video shot, thank you for sharing, keep it up :)

    @Bianchi77@Bianchi7710 ай бұрын
  • First comment hehe. Cool video brother.

    @jstro-hobbytech@jstro-hobbytech2 жыл бұрын
  • Subscribed. (Going to have to try this)

    @timfoster5043@timfoster5043 Жыл бұрын
  • I love this project 💥🙌

    @anonuser2640@anonuser2640 Жыл бұрын
  • Great vídeo, Congratulation!!! Thank you so much

    @rafaelma154@rafaelma154 Жыл бұрын
  • HI, Super Project. Thank You.

    @ravirao5798@ravirao5798 Жыл бұрын
  • Nice one mate!

    @wrongtown@wrongtown2 жыл бұрын
  • ..excellent and very clear for a difficult subject, you are a natural teacher, well done and thank you!

    @cdunne1620@cdunne16202 жыл бұрын
  • You can use Firebase for more easy process, it also have a Realtime database, I've created 1 project of Energy meter using it and it was too easy. After it's easy to integrate it to android app as it already have android libraries.

    @Andy-mm2qz@Andy-mm2qz2 жыл бұрын
  • 🙏🙏🙏 - Most appreciated - Worked 100%

    @markmeintjes3056@markmeintjes3056 Жыл бұрын
  • Nice project!!! I like it!! 😁👍

    @cursoderobotica@cursoderobotica2 жыл бұрын
  • I noticed I wasn't getting notifications. Or I would have watched more. I will go back and watch more videos. I hope.that helps

    @TBL_stevennelson@TBL_stevennelson2 жыл бұрын
  • Good video. But a better way to do is using the MQTT protocol, which is specifically designed for IoT.

    @snehanshuphukon728@snehanshuphukon728Ай бұрын
  • Great project! In the next project add a slider and change the brightness of led over internet using slider

    @manavt2000@manavt20002 жыл бұрын
    • excellent idea

      @erboy5546@erboy55462 жыл бұрын
  • Excellent Project.

    @snipersquad100@snipersquad1002 жыл бұрын
  • thats really stepping up the game.

    @rverm1000@rverm10002 жыл бұрын
  • Thanks for the video

    @amitp05@amitp052 жыл бұрын
  • Finally!!! ThankYou

    @satyampandeyII@satyampandeyII2 жыл бұрын
  • Excellent project.

    @siddharthmali5841@siddharthmali58412 жыл бұрын
  • Thanks!

    @mohamedsamy5841@mohamedsamy58418 ай бұрын
  • This is excellent stuff, thank you. I have a problem in that my browser drops back to its original state after each press of the button. It initially shows the new on or off state, but then drops back to the original display about 1/2 a second after. Any ideas? Does the same with Chrome, Edge and my mobile phone.

    @paulpkae@paulpkae Жыл бұрын
  • SUPER HELPFUL THX :)

    @quadrant2005@quadrant20052 жыл бұрын
  • Can you do read as well from the A0 pins?

    @robertmarkham6558@robertmarkham65582 ай бұрын
  • Good video. Thank you Sir.

    @abobobo943@abobobo943 Жыл бұрын
  • can the same concept be applied for a gps tracker(example: esp32+sim7000G) that gets toggled via internet connection to start sending cordinates to my database ? while using a data plan instead of wifi. thanks for the vid.

    @xyz_chain4199@xyz_chain419911 күн бұрын
  • Hi, thanks for the good tutorial, your connection diagram for FTDI to the ESP32 module is incomplete. I don't know where to connect CTS to

    @partouelectric2353@partouelectric23533 ай бұрын
  • I have the same Esp32 DevKit board and you don't need to press the boot button. I think in the past it was needed but not anymore.

    @viniciusnoyoutube@viniciusnoyoutube2 жыл бұрын
  • Hi there thanks for the great video. Please tell me where to connect CTS from FTDI to the ESP 32 Module please. Thanks

    @partouelectric2353@partouelectric23533 ай бұрын
  • Thank you very much I have been learning so much from your videos, now I want to know what should I add on the php side if I want to control more than one Esp32 chip, lets say I have two house in two different location and I want to control lights via the internet?? Ur help will be appriaciated so much, Thanks in advance.

    @jacksonmgani4411@jacksonmgani44112 жыл бұрын
  • Can I do same thing on my personal created web site such as made on google sites base? Will appreciate you replay sir

    @qazaq6893@qazaq689310 ай бұрын
  • 3:57 cp2102 is not FTDI chip - it's Silicon Labs. FTDI (it's company name) produce ft232rl chip, for example. Correct word here will be "USB-UART converter chip"

    @limtbk@limtbk2 жыл бұрын
  • very good content as always thank you , i think you dont have many views because of your videos title,it should be more attractive 😅

    @ameristanbouli5063@ameristanbouli50632 жыл бұрын
    • What else could I put instead of ESP32 IOT? hahahahaha

      @ELECTRONOOBS@ELECTRONOOBS2 жыл бұрын
  • Great vídeo. But keep in mind that GET is to read and POST is for save. It's not related with security. You have good step by step videos. Your vídeos also teach to think about the way to resolve problems.

    @amandioreal2293@amandioreal22932 жыл бұрын
    • This. It's okay to not know everything, just don't make claims you're not sure about. Specially when talking about security.

      @areks4397@areks43972 жыл бұрын
    • @@areks4397 I think this answer/comment is for the owner of the vídeo. It's not related with my comment.

      @amandioreal2293@amandioreal22932 жыл бұрын
    • @@amandioreal2293 indeed! I was seconding your comment.

      @areks4397@areks43972 жыл бұрын
  • The world's best teacher

    @kabandajamir9844@kabandajamir98442 жыл бұрын
  • ESP32 Long range Wifi repeater can you make a series of that too?

    @kadyo2op64@kadyo2op642 жыл бұрын
  • Can you explain how to create iot web once again Your explanation is nice

    @karthickm9367@karthickm93672 жыл бұрын
  • Our HMI displays can work with STM32, ESP32 and Arduino by UART communication. Could you please make some Sponsored videos for our HMI LCD?

    @rainnyfromdwin4352@rainnyfromdwin4352 Жыл бұрын
  • Please In this project, will my esp32 be connected to a WiFi separately

    @holupeter9738@holupeter97385 ай бұрын
  • ¿Es posible realizar este mismo proyecto usando en lugar de un webserver, usar wordpress? entiendo que utilizando la bases de datos del hosting y haciendo una especie de lectura / post en wordpress.. ¿alguna idea? gracias!!

    @MiguelGarcia-by3nn@MiguelGarcia-by3nn Жыл бұрын
  • I would appreciate it if you could help me with what we can do so that when the LED turns on when we press the toogle button, the lamp in the visual light turns on at the same time.

    @barssoylu1299@barssoylu12994 ай бұрын
  • Can you made video about lora ebyte E22/E32 or SX12XX series with ESP32 or ESP8266?Thanks!

    @keeper1855@keeper1855 Жыл бұрын
  • Thank you so much, my friend. I am going to use ESP32 in my product. I am hoping to have more than 100 products on the market. I would not mind paying for a good IoT cloud platform. What would you recommend Sir?. Presently I am using Particle Photon in my product

    @kazemzahedi1047@kazemzahedi1047 Жыл бұрын
  • Waw, how cool is this video, defenately one of the best and one of my favourites ! Very well explained and very usefull to me. If I may make a suggestion... and Alexa and/or Google Home or something familiar !

    @PhG1961@PhG19612 жыл бұрын
  • Is a good video, great explanation, but you need assure that your proyects is maked with best practices, all logic and HTML View must not be in to same page.

    @josecastellanos4836@josecastellanos48362 жыл бұрын
  • i can't find the "index.hph" file. Can somebody help me?

    @user-ue1ht9wi2m@user-ue1ht9wi2m8 ай бұрын
  • I bought a cheap Chinese ES32 board, up until now I'm still struggling to set it up. A little help on how I could set it would be useful

    @ikehsamuelifeanyi4925@ikehsamuelifeanyi4925 Жыл бұрын
  • I wanna control speed of ceiling fan - linearly changed - can you do it?

    @browaruspierogus2182@browaruspierogus21822 жыл бұрын
  • Can I upload and download video stream via that method with making little change to code?

    @emrecan9271@emrecan92712 жыл бұрын
  • how to contact you i want a wireless button which connect to pc and programmed for specific shortcut key, can u help me

    @knowsmart3340@knowsmart33406 ай бұрын
  • I got problem Http code 400. Do have have any solution for this

    @ucle8443@ucle844311 ай бұрын
  • where is the address of website?

    @dontaystip3305@dontaystip33059 ай бұрын
  • Thank you sir for this video, but I have one problem during make something like this , I made my website and changed the name in esp32 code to my website link but the server response is 400 how can i solve this problem

    @anasrissa65@anasrissa65 Жыл бұрын
  • excellent

    @saisushanth2459@saisushanth24592 жыл бұрын
  • thanks for this cool video, anyway could it be possible to make APK apps connected to the database instead of using the web? thanks in advance sorry for my noob question..

    @NEWBI3GAM1NG@NEWBI3GAM1NG Жыл бұрын
  • very interesting !

    @ranganatennakoon@ranganatennakoon Жыл бұрын
  • great job,how about sending an email when the led goes on. Thnking of a motion sensor that can be armed remotely and get an email or notification if its triggered.

    @TheUnofficialMaker@TheUnofficialMaker2 жыл бұрын
    • yes

      @AlessandroFernandesdePinho@AlessandroFernandesdePinho Жыл бұрын
    • kzhead.info/sun/q86RdMyva3WLl6s/bejne.html

      @AlessandroFernandesdePinho@AlessandroFernandesdePinho Жыл бұрын
  • Great video again. But instead of using a database, it would be much easier to use Blynk or Arduino IOT cloud for the people who find the php file difficult to understand. Anyways, continue posting quality content!

    @thebrector3823@thebrector3823 Жыл бұрын
  • Isn't passing post requests direct to a database query asking to be hacked?

    @threeMetreJim@threeMetreJim2 жыл бұрын
  • Hi I noticed some dalay how can it be solved?

    @mr.simpatia8109@mr.simpatia8109 Жыл бұрын
  • I have done complete same with esp8266 and i want to add ajax to php file so that i no need refresh the same page every time

    @rahulb23@rahulb232 жыл бұрын
  • i dont know if u still read these, but does it work if we use mobile data, because we are giving the wifi name and password in the arduino code. can u please tell me...

    @Appz_@Appz_6 күн бұрын
  • So nice

    @kabandajamir9844@kabandajamir98442 жыл бұрын
  • Where can I download the index.php file ? I went to the tutorials blog page and there are some downloads like Arduino, Wifi and HttpClient , but I don't see the index.php . Appreciate if you could reply.

    @kiranshashiny@kiranshashiny2 жыл бұрын
    • Got it - Thanks.

      @kiranshashiny@kiranshashiny Жыл бұрын
  • anyone tried to add more outputs? can explane how?

    @MMotokey@MMotokey11 ай бұрын
  • Can you show us how to use esphome

    @birdpump@birdpump2 жыл бұрын
  • Please can you update your esc with 328 chip and ir2110 at 48v thanks

    @scienceandtech7164@scienceandtech7164 Жыл бұрын
  • How to make rc drone with esp32??. Or could we even do that?

    @technocrat9984@technocrat99842 жыл бұрын
  • Nice video.. how can this work with esp8266-01?

    @musdalifap@musdalifap Жыл бұрын
  • I cant open file manager. I tried to reset FTP or changing password and didnt help.

    @Nicannder@Nicannder Жыл бұрын
  • What was the site?

    @Seu_Lunga@Seu_Lunga2 жыл бұрын
  • are the resistors for RTS and DTR really necessary? What are they used for?

    @userou-ig1ze@userou-ig1ze2 жыл бұрын
    • To keep those pins with a pullup

      @ELECTRONOOBS@ELECTRONOOBS2 жыл бұрын
    • @@ELECTRONOOBS I don't fully understand, I'm working with a ftdi breakout (the ch340e, annoyingly no 3.3v switch and no rts breakout...) and it says simply connect it, no resistors mentioned

      @userou-ig1ze@userou-ig1ze2 жыл бұрын
    • @@userou-ig1ze Basically RTS and DTR are the same, Writings are different. The pullup resistors are there so that the microcontroller doesn't reset it self. But maybe your ftdi chip already have pullups on the breakout board, SO you don't have to connect external pullups. Hope this helps..... :)

      @teklisbenzi@teklisbenzi2 жыл бұрын
    • @@teklisbenzi thanks! did I get it right, you can attach dtr to rts and it just works?! thanks for your great vids man!!!

      @userou-ig1ze@userou-ig1ze2 жыл бұрын
  • nice glasses :)

    @timmyfingaz100@timmyfingaz100 Жыл бұрын
  • Good day from Philippines, i follow your code but it says error code -1

    @Archimedesdecode@ArchimedesdecodeАй бұрын
  • I must have done something wrong. The website won't open. If I give you my login details can you check what I did wrong?

    @Richie_@Richie_ Жыл бұрын
  • Esperaremos a la versión Hispana.

    @miguelmoreno6865@miguelmoreno68652 жыл бұрын
  • where is the Php.index file? I can't see the link for this

    @guilhermeconte8858@guilhermeconte88582 жыл бұрын
    • Im looking for the same !

      @kiranshashiny@kiranshashiny2 жыл бұрын
    • It is index.php, and not Php.index.

      @kiranshashiny@kiranshashiny2 жыл бұрын
KZhead