ESP8266 + Arduino + database - Control Anything from Anywhere

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 585

  • @ELECTRONOOBS
    @ELECTRONOOBS  5 лет назад +19

    Follow me on FACEBOOK for more: facebook.com/Electronoobs
    help me on Patreon: www.patreon.com/ELECTRONOOBS

    • @user-bi5yj7hs9t
      @user-bi5yj7hs9t 5 лет назад +1

      Te olvidas de el canal hispano :")

    • @skyevanderheijden5382
      @skyevanderheijden5382 4 года назад +4

      i have connected everything correctly but it does not work. when i open my serial monitor it keeps spitting out: 17:22:58.002 -> `f⸮⸮f⸮f~⸮⸮⸮⸮⸮f⸮f⸮⸮⸮f⸮⸮timeout 1 17:23:07.026 -> ESP CHECK FAILED 17:23:12.084 -> timeout 1 17:23:12.084 -> ESP RESET FAILED 17:23:17.122 -> timeout 1 17:23:17.122 -> ESP CWMODE SET FAILED 17:23:27.236 -> timeout 1 17:23:27.236 -> ESP SSID SET FAILED 17:23:27.275 -> CHECKING FOR AN IP ADDRESS 17:23:37.353 -> timeout 1 17:23:37.353 -> IP ADDRESS FAILtimeout 1 17:23:42.396 -> ESP CIPMUX SET FAILED 17:23:42.429 -> CONNECTING 17:23:47.517 -> timeout 1 17:23:47.517 -> FAILED TO CONNECT 17:23:52.560 -> timeout 1
      i don't know how to fix this
      please help.

    • @khalidzaid123
      @khalidzaid123 4 года назад +1

      @@skyevanderheijden5382 me too the same my error

    • @arunjallipalli8118
      @arunjallipalli8118 4 года назад +1

      I also had same error please help me to fix it

    • @thijsschrooten9843
      @thijsschrooten9843 4 года назад +1

      @@skyevanderheijden5382 Have you fixed this issue? I have the same issue but i think you need to make some changes in the code or something. I think you need to put some text in the serial monitor but I havent figured it out yet.

  • @Gmtail
    @Gmtail 4 года назад +26

    Thank you for properly explaining things from start to end.. Most RUclipsrs assume people already know about PHP or making a web site, but I do not as I am sure others. So again, thank you for taking the time and doing it properly.

  • @fernandoarellano7126
    @fernandoarellano7126 4 года назад +15

    If I had some money I will support you in Patreon man!

  • @theN10CITYproject
    @theN10CITYproject Год назад +1

    this is the needle in the heystack i been searching for! perfect vid!!

  • @jonmms9193
    @jonmms9193 3 года назад +7

    Now I don't know if anyone has spotted this. There is a ***MISTAKE*** in the schematic at 8:11 in the video. The voltage divider is wrongly connected to the Rx pin of the 8266 and pin 11 of the Arduino MEGA. One must disconnect: 1) upper terminal of the 1k resistor from pin 4 of the 8266 and 2) cyan wire from pin 11 of the MEGA and switch them over i.e. the cyan wire goes to the 8266 pin 4 and the upper terminal of the 1k resistor goes to pin 11 of the MEGA. If you leave it as is, no voltage dividing is accomplished and the full 5V level is applied to the Rx pin of the 8266; this can stress the ic to unknown results. Having said that, CONGRATS for one more great video and project!

  • @richardbagin9260
    @richardbagin9260 5 лет назад +7

    "Full version" of code will also work on arduino UNO or NANO (ATmega328P) if you store all string in program memory (flash) via "F( )" macro.
    e.g.: Serial.println(F("READY TO SEND")); ( or lcd.print(F(...)); )
    Like this I reduce the used RAM to 70% (595 bytes left).
    Obviously I didn´t test it yet (because I don´t have an ESP Wi-Fi module).
    And if it will still cause stability problems you can store other variables (because 45% of program memory are still unused) (e.g.: const char SSID_ESP[] = "..."; const char SSID_KEY[] = "..."; ...) via PROGMEM macro.
    e.g.: PROGMEM const char SSID_ESP[] = "...";
    but you will need to write a little bit of code e.g.: for(i=0; i

    • @Mystical-TEDDY_
      @Mystical-TEDDY_ 2 года назад

      YO THANK you bro i been looking for something like this. Ima try it out. But would I have to make these changes by looking through EVERY LINE of code? or is there a faster to make these changes

    • @robinulrichsen8034
      @robinulrichsen8034 6 месяцев назад

      huge help!

  • @chinmoytahbildar3278
    @chinmoytahbildar3278 5 лет назад +2

    Seriously your videos really amazed me and I always waiting for your videos...God bless YOU...love from India

  • @18770299
    @18770299 2 года назад +3

    hi, sorry im using sp01 but still not working "ESP CHECK FAILED
    " I cant set up the ESP01 trought the arduino mega.i have the USB programer for the sp01.

  • @chriswouse7713
    @chriswouse7713 5 лет назад +65

    “Easy but difficult project”
    Me: (wipes spat coffee off screen)

  • @fouzaialaa7962
    @fouzaialaa7962 5 лет назад +8

    Im an embedded systems engineer and i know how much work goes into something like this ......... It would take weeks to do .......thank you for your work

  • @jeffhousen8968
    @jeffhousen8968 5 лет назад +38

    Hello my friends,
    we need to discuss basic website security
    please remember that allowing anyone that can see the website access to change it can result in....unexpected consequences
    this becomes even more important when you are controlling mechanical items through the website
    a basic password will stop the curious, for the determined, more drastic measures are needed
    do not rely on obscurity, that is useless for security
    that is all.

    • @S0K0N0MI
      @S0K0N0MI 4 года назад +1

      I'm a little conflicted; I can host the site locally and just go in via VPN tunnel for best security,
      BUT at that point ill have a server in the house already, so why not skip the arduino and use a raspberry Pi.
      I wonder if there is a way of making this self contained on the arduino.
      It can throw up a basic no frills HTML page and read data directly from its own EEPROM, so it might be possible?

    • @ktaragorn
      @ktaragorn 4 года назад +1

      Agree, so much easier and more secure to use an authenticated MQTT broker like cloudMQTT, instead of a public http page.

    • @S0K0N0MI
      @S0K0N0MI 4 года назад

      @@ktaragorn Thats exactly the route I ended up taking. ;)

    • @TheRainHarvester
      @TheRainHarvester 4 года назад

      Can you just create 2 websites :
      1) for just the user controls, and
      2) another for responding to the user controls? And this is pw protected and responds to user commands?
      This way, the user only gets access to #1. Not the meat of the innards which controls safety etc?
      (I'm a noob at internet. Just trying to learn....)

    • @oskar1504
      @oskar1504 4 года назад

      @Ghislaine Maxwellthanks insane workaround. But u could change your ip and "crack" this method .

  • @ebrahimprice2154
    @ebrahimprice2154 5 лет назад +2

    Informative video. Definitely helpful with an IoT project. Time to brush up on AMP in the LAMP.

  • @lelandclayton5462
    @lelandclayton5462 5 лет назад +5

    I like this very much however this is how I would do it.
    Arduino, ESP8266 and a Omega2 or Raspberry Pi as the host. Install LAMP on the Pi or LNMP on the Omega2 since it will be the host. Sign up with a DynamicDNS and setup vLan on the router with some port forwarding and you'll have your own IoT server.
    Wonder if anyone has made a Arduino to Python Crosscompiler / emulator yet. This way you can just use the Pi or Omega2. Toss in a ZWave Controller and then you could really do some awesome Home Automation with it.

    • @rdssdr939
      @rdssdr939 5 лет назад

      Hello Leland, I have done a project with the method you recommend. The advantage is that response time is much less. However somehow router stopped forwarding to assigned ports. To avoid router problems, one of the outputs is recycling router daily. So currently with DDNS service set on camera dvr, I get the ip address daily. But as port forwarding doesn’t work, I cannot access ardunio. Well, currently I’m 1000 km a way from router and cannot set back the port forwarding. So only way to fix this problem is replacing router with a remote control feature or to have a pc running teamviewer or logmein on it. Both options are costly. So as a result, I will have to update my ardunio that will run over a server database on internet. So if you are able to be near the router, your method is fine as you could fix issue on the place. But if you are a way and have a chance to set router settings once a year, Best to have a control over server database.

  • @Kevindarrah
    @Kevindarrah 3 года назад +1

    thanks for the shout out!

  • @sigmata0
    @sigmata0 4 года назад +2

    I hope others have mentioned this, but you've implemented no security of communication between the webserver and controller nor the between the webserver and the browser client. On the face of it I would expect anyone to be able to control whatever your website controls. This means if you set it to issue alarms or set equipment on or off, anyone on the planet could do so. You show an example of opening your door latch remotely, and in this setup anyone could do so if they found your free website.
    Some of this would be ameliorated if you'd implemented SSL between the controller and the website, and between the client of the website and the browser. On top of this I'd be adding an authorization page to access your control page (as a minimum).
    The 000website service does not provide SSL protection unless you pay for it. In fact it doesn't even supply SSH services. It's unclear if you could implement SSL yourself, using a self signed certificate or one of the free services (letsencrypt.org/ for instance).
    Really, I'd be more inclined to buy a small SoC device like a Raspberry Ri and setup the web server on it, which means you have complete control over how and what is implemented. This would enable you to have SSL and SSH services, and even a VPN server (like OpenVPN) if you desire. I'd then create a port forward setup on your home router to allow connections to that host from the Internet. All the communications between that host and your Arduino would be inside your local network and not over the Internet (and you could add encryption to that traffic as well if you so desired).
    If you wanted a specific domain address to resolve where your home public IP address is, you could use one of the Dynamic DNS services that are available for no cost. No-IP, or FreeDNS come to mind but there are a range of others who provide this service.
    If you use a VPN, then you connect via VPN to your host first, then either login or simply control things via the website as you've demonstrated. You could get a similar effect by using an SSH channel to connect to your host from the outside, if you didn't want to setup up VPN.
    Security is one of the concerns best implemented from the beginning and not just tacked on later in the process.

  • @TheSilvax
    @TheSilvax 3 года назад +2

    bro, your schematic is wrong, on the Rx on the Esp you will deliver 5 v to the Rx, the voltage devider is wrongly connected.

  • @virtual_ninja810
    @virtual_ninja810 5 лет назад +37

    What if the website goes down for some reason or the company shuts or website is hacked that's why I prefer local server over IOT

    • @NiHaoMike64
      @NiHaoMike64 5 лет назад +5

      There's PiVPN for an easy to set up VPN server.

    • @makersgeneration3739
      @makersgeneration3739 5 лет назад +2

      True true. That's a way to see. It depends also of the importance of what you are doing

    • @UpcycleElectronics
      @UpcycleElectronics 5 лет назад +5

      Yup. For something like a mailbox "you've got mail" notification, who cares if others see this. They could just watch the mailman for the same information. It's already public data. That's what I would do with this.
      In my experience, something like a privately hosted option is far more likely to fail than one hosted by a company online, but I'm no IT guy. The entire business model with these "free" web host sites is based on a long game. They are counting on a small percentage of people to build up enough presence on the site so that they use more than the free bandwidth limit. They need this bandwidth threshold to be high enough that moving to another platform is more of an expense than (over) paying for the site's services. They are trying to get people to invert the path of least resistance so that paying more is easier than not. This kind of thing takes time to develop. The only way for them to succeed is to play the long game, so exploiting the service like this is a pretty stable option IMO.

    • @kal9001
      @kal9001 5 лет назад +3

      1, Pay for your own host - It's super cheap £5 a month gets you a basic web host with PHP. Or host it yourself, using a static IP or a DDNS service.
      A paid host is more likely to remain up all the time, and is more likely to have more secure apache settings than a typical home grown site.
      Either way you're still exposing the service to the internet so...
      2, Security and encryption. These both work great for all sorts of things. Having your devices authenticate over an encrypted connection is all well and good, however this does add latency, security can be 'hacked' and encryption can be broken.
      3, "Security" through obscurity. One should not send explicit data... send a load of random crap with your important data at known positions along the junk. don't send plain text data, just send binary and reconstruct the stuff after...etc...
      Also as good as this project seems I have a worry it could be bloated - I've not looked at it, and I know Kevin Darrah's work, but I suspect something is sandbagged here as I've been able to very easily get an ESP8266 to decode JSON strings with VAST amounts of text and numeric data, and pass that along to a 'duino for parsing. Having these 3 boolean limits, and an uno can't contain all the code, seems very odd.

    • @B1tm4n
      @B1tm4n 5 лет назад +1

      Let's just hope you're security is better then an industrial hosting service.. but ofc, if you have the infrastructure why not?

  • @TheDrewker
    @TheDrewker 4 года назад +6

    Subscribed because finally somebody provided a banana for scale

  • @paramvuesolutions1519
    @paramvuesolutions1519 4 года назад +2

    Hello Sir
    your video is very super .. my skill is developed by your channel Thankyou for sharing your knowledge .
    I need you help sir .. How develop an app for Set SSID & Password for ESP8266 using mobile
    Thanks in advance

  • @MarceloCutin
    @MarceloCutin 5 лет назад +16

    Thanks for sharing! This project really opens a wide range of possibilities.

    • @trashk1483
      @trashk1483 3 года назад

      Hai.. do u have the sample code for this project.???? Can u help me please???

    • @vasuyadav2931
      @vasuyadav2931 3 года назад

      @@trashk1483 The link to the tutorial is in the description. The tutorial webpage has a zip file which contains all the .ino files mentioned in the video.

  • @gregjohnson5194
    @gregjohnson5194 4 года назад

    Excellent, works like a charm now I’ll code it for nodemcu and just a couple sensors and home automations is in the bag! Thanks

  • @electronic7979
    @electronic7979 5 лет назад +1

    Very good project 👍

  • @hamzaqasem9031
    @hamzaqasem9031 4 года назад +2

    in tx.php i get the error (Undefined variable: update_number in /storage/ssd3/262/13007262/public_html/TX.php on line 70)
    can any body help me!!!

  • @gowrob_2777
    @gowrob_2777 3 года назад +1

    why it dont work? I did all the things. but it shows me a page and this "You see this page because your website doesn't have "index.php" or "index.html" file in public_html folder."
    what should i do now

  • @vishalparkar
    @vishalparkar 2 года назад

    Thanks a ton !
    I don't find enough words to thank you. Your's is the first video Ihave ever seen on this topic that is all - descriptive enough yet in simple but precise language ! Keep up the work.
    Do you have any similar tutorial for Arduino Uno as well ? What will be the differences, at list ?

  • @ochienoeliud5723
    @ochienoeliud5723 3 года назад +5

    Great work. Very precise and informative tutorial guides. Lots of thanks

  • @AnilArya51
    @AnilArya51 4 года назад +1

    Can we now use ethernet port instead ..

  • @ohh9979
    @ohh9979 4 года назад +1

    wow, that was really helpful. Thank You.

  • @GabDrakee
    @GabDrakee Год назад +1

    Hello, sorry for the basic question, but how can i uplooad multiple files to the arduino ? I will try to alter your project a bit , to use a server i rent over the internet, from linux, which im configuring, do you think that i will have much complication ? I will try to make the arduino insert the info on my db , and control it on another webpage that i made. This is because i have a college project to make im trying to guide myself by your project in order to do something similar .

  • @marnolotz461
    @marnolotz461 4 года назад +3

    Great viddeo, thanks you. Quick question thouhg: I have an Arduino UNO, is there a way I can make it run more effectively on the UNO (eg. code I can snip) as I don't have an Arduino MEGA?

    • @TheKingDnz
      @TheKingDnz 3 года назад

      I can't find uno codes too.

  • @kabeatzz2186
    @kabeatzz2186 4 года назад +1

    I want to send bme280 and gp2y1010au0f sensor data. Do i need to create variables for these values to send it ?

  • @mrrcomp
    @mrrcomp 4 года назад +3

    Great Video .. Since the NodeMCU gives both the Connection to the Wifi and has I/O would be nice if you could possibly show how to convert your current project onto NodeMCU.. Just a suggestion :)

  • @yugalsharma13
    @yugalsharma13 2 года назад +2

    Have you tried socket programming (using IPv6)? I presume that would be much faster than using a web app for this task. There's a lot of overhead involved in the management of web requests, right!

  • @kanapkazpasztetem
    @kanapkazpasztetem 5 лет назад +2

    I may have missed something but...
    1) why do you use esp8266 + arduino mega instead of the esp alone? pin cout? - if yes then just add i2c pin expanders and it still will be a cheaper solution with the same functionality ihmo
    2) while the given PHP code may work and get things done it is also not secured, it is unlikely for anyone to find such endpoint and know what to send there but some authentication would be nice
    3) as above, it may work but calling "example.com/esp/update_values.php" is meh imho, URLs like "example.com/esp_apiv1//update" "example.com/esp_apiv1//read" looks much better and are self-explanatory, you can use existing frameworks like Lumen do code that or you can even add it to your WordPress website since it has also a built-in rest API (I have done similar thing)
    all in all good video to just get started but what was missing (or what I missed) is that it can be done better if you spent more time on it :(

    • @aliismail2962
      @aliismail2962 5 лет назад

      I think this esp8266 is just a WiFi module and not a full microcontroller

    • @kanapkazpasztetem
      @kanapkazpasztetem 5 лет назад

      ​@@aliismail2962 ESP8266 has microcontroller capability, just google "esp8266 boards comparison" and you will get many of them. They are quite cheap so if you need to connect a small device to the internet (like in this vid) it is a very interesting and cost-effective option

  • @chigypt
    @chigypt 4 года назад +2

    Hello Electronoobs, Great Video and Content as usual, this was very helpfull. But where is the code for Arduino UNO??

    • @ingcentellas8704
      @ingcentellas8704 3 года назад

      I was thingking about it too... it is impossible to use it on arduino UNO? Is it because of the memory size? IDK TmT

  • @vijaysmrt9876
    @vijaysmrt9876 3 года назад +1

    I have connected everything correctly but it does not work. when i open my serial monitor it keeps spitting out:
    timeout 1 17:23:07.026 -> ESP CHECK FAILED 17:23:12.084 -> timeout 1 17:23:12.084 -> ESP RESET FAILED 17:23:17.122 -> timeout 1 17:23:17.122 -> ESP CWMODE SET FAILED 17:23:27.236 -> timeout 1 17:23:27.236 -> ESP SSID SET FAILED 17:23:27.275 -> CHECKING FOR AN IP ADDRESS 17:23:37.353 -> timeout 1 17:23:37.353 -> IP ADDRESS FAILtimeout 1 17:23:42.396 -> ESP CIPMUX SET FAILED 17:23:42.429 -> CONNECTING 17:23:47.517 -> timeout 1 17:23:47.517 -> FAILED TO CONNECT 17:23:52.560 -> timeout 1

    • @18770299
      @18770299 2 года назад

      same to me.. did you fixed it?

  • @TheNewKill1212
    @TheNewKill1212 5 лет назад +3

    Do not use arduino with ESP, just use ESP only :)
    This is about ten times more faster chip!

  • @katsuoofficial8465
    @katsuoofficial8465 3 года назад +1

    Sir can i use only the Text input and send ID number to database for may IOT attendance syem using only Nodemcu Esp8266 and a router

  • @johntello8904
    @johntello8904 3 года назад

    this is so cool, thank you for the explanation

  • @allinone555666
    @allinone555666 5 лет назад +1

    Please make another video using arduino uno with code

  • @MrMaxbrax
    @MrMaxbrax 3 года назад +2

    Hi, beautiful project, congratulations, I want to implement it with ESP32, in the next days I will try it.
    I would just like to know if in the project you have implemented a form of control to know if the device is on line or offline.

  • @shehabxcode
    @shehabxcode 3 года назад +2

    i don't have Arduino mega i have Arduino uno so is it possible to give me simple example about how to turn 4 leds on and off also get the leds status if its on or off.i tried your example on arduino uno but i got error message "Not enough memory"

  • @PiyushNikam
    @PiyushNikam 3 года назад +3

    Hey, really nice work man.
    Can you tell me how we can upload multiple Arduino code to a single Arduino?
    Will the previous uploaded code get deleted?

  • @tcape72
    @tcape72 4 года назад +3

    great video, was able to create the website and uploaded and edited the files and had it working in about a half hour. Your instructions were perfect, thanks. Now I have to do the Arduino stuff.

  • @unofficialcut
    @unofficialcut 5 лет назад +1

    Please make more videos like this or I will dislike

  • @f1-coldlaps460
    @f1-coldlaps460 2 года назад +1

    If I only want the boolean variables, can I use an arduino uno?

  • @ahmedboudi1808
    @ahmedboudi1808 4 года назад +2

    Thank you for your excellent tutorial and all your videos ... but the diagram at 8:11 has some comments from me ... 1- PIN GPIO0 grounded when upload code, float otherwise 2- divider resistor is inverted ,The medium point must connected to RX(ESP).

    • @omarel-azab5223
      @omarel-azab5223 4 года назад +2

      i did that and yet the esp doesnt connect to the wifii network, any idea why?

  • @HighTrap
    @HighTrap 5 лет назад

    i got fail everything
    timeout 1
    ESP SSID SET FAILED
    CHECKING FOR AN IP ADDRESS
    timeout 1
    IP ADDRESS FAILtimeout 1
    ESP CIPMUX SET FAILED
    CONNECTING
    timeout 1
    FAILED TO CONNECT
    timeout 1
    ESP CHECK FAILED
    timeout 1
    ESP RESET FAILED
    timeout 1
    ESP CWMODE SET FAILED

  • @mertcapkin7263
    @mertcapkin7263 5 лет назад +4

    Why not ESP32? :(

  • @muhammadihsan10001
    @muhammadihsan10001 4 года назад +2

    Thank you for your knowledge.
    It provided a solution to my problem

  • @paul_vantieghem
    @paul_vantieghem 5 лет назад +1

    Cayenne IoT on a Raspberry Pi is very powerful and very easy for beginners. No coding resuired. You can add sensors, motors, screens, ... and confiqure them with a wizard. It's crazy

  • @garrettbaudioandvideo
    @garrettbaudioandvideo Год назад

    I'm looking to make this for a radio and series of pistons, so that I can remote control my radio when I'm not at home.

  • @Damjes
    @Damjes 5 лет назад

    This PHP code is so damn wrong... Wrong indentation and very strange usage of arrays. You don't use foreach to acquire values, just use $_REQUEST['id'] (if you are not confident with existence, check it with isset) . Your app is vulnerable of unauthorized changes of values (you should check some key on PHP side) and also SQL injection. You should put warning, that it is very unsafe, but I suggest redo of episode due to low quality. If you wanna get only one row from DB, you should receive only one row using WHERE statement, not getting whole table and ifing to find this only one. Don't make two connections to same database - you can send as many queries as you like with only one connection. Don't violate DRY rule. Also, it is recommended to close DB connection and not to close (sic!) PHP script. Git hosting would also be nice :( If you wanna redo this code, I can help you, feel free to PM me.

  • @nand2624
    @nand2624 5 лет назад +27

    Nodemcu 8266 or 32 and blynk would be a lot cheaper and easy for iot projects..

    • @suloman5845
      @suloman5845 5 лет назад +1

      using adafruit mqtt server is cheaper.

    • @fouzaialaa7962
      @fouzaialaa7962 5 лет назад

      the flexibility of using an arduino (much more easier) trumps everything !!

    • @fouzaialaa7962
      @fouzaialaa7962 5 лет назад +2

      @@suloman5845 mqtt on arduino is a bitch !!!!! trust me i know !!!!

    • @ChrisPrefect
      @ChrisPrefect 5 лет назад +1

      @@fouzaialaa7962 A NodeMCU can do the same as an Arduino and you can even use the same code and the arduino ide. So there is really no need for a separate arduino.

    • @fouzaialaa7962
      @fouzaialaa7962 5 лет назад

      @@ChrisPrefect yes but sometimes you find a library that arduino uses that is not available for Node and then what ?? ...... it happend to me before so i always try to research everything before ....... every thing depends on the project ....but better be safe than sorry !!!!

  • @mmdnaderi7183
    @mmdnaderi7183 5 лет назад +3

    Hi, Thanks for sharing, the video has great quality both information and visuals, GREAT

  • @D4no00
    @D4no00 5 лет назад +3

    nice try to introduce beginners into programming world however things that should be taken in consideration are the following:
    - Everytime use https (you don't want your traffic to be sniffed, intercepted or changed)
    - A authentication process is mandatory (everybody will have access to that page otherwise)
    - Http is not the most friendly protocol for embedded. (In serious IOT projects nobody uses http, instead use a mqtt or other lightweight protocol proxy)
    - Don't use cheap hosts for such proposes (A lot of such companies have no privacy terms and the resources you are getting are very low, instead host it on your own computer or buy a raspberry pi and use it as a server)
    Overall this is a pretty good idea, however I would recommend you to use frameworks already done for such proposes (for example node-red) since they already have implemented things such as security that will be difficult to implement, especially for someone with no background in programming.

  • @adelashour3253
    @adelashour3253 5 лет назад +2

    Thank you, great job, but why webpage, we are in time of mobile apps, what about nodemcu it has a wi fi adapter

  • @ahmedmohamedhassan9205
    @ahmedmohamedhassan9205 3 года назад

    You are awsome thanks for the whole process

  • @arsenars1
    @arsenars1 2 года назад

    Hi. Thanks very much. Its working. Just it was problem with my ESP module and also one mistake in your conection diagram

  • @dieselgeezer18
    @dieselgeezer18 4 года назад +1

    can i do this with a NodeMCU EPS8266?

  • @SAHNI-um1jh
    @SAHNI-um1jh 5 лет назад +4

    Make more videos on this topic

  • @thijsschrooten9843
    @thijsschrooten9843 4 года назад +1

    for me it doesnt work. can someone help me i get this messages from the serial monitor: CONNECTING
    timeout 1
    FAILED TO CONNECT
    timeout 1
    ESP CHECK FAILED
    timeout 1
    ESP RESET FAILED
    timeout 1
    ESP CWMODE SET FAILED
    timeout 1
    ESP SSID SET FAILED
    CHECKING FOR AN IP ADDRESS
    timeout 1
    IP ADDRESS FAILtimeout 1
    ESP CIPMUX SET FAILED
    PLEASE HELP ME!!!

  • @thegamerzzz548
    @thegamerzzz548 7 месяцев назад

    The Link is not working. i want the project Zip file. who can help me and send the project ZIP file... Thanks in Advance

  • @cursoderobotica
    @cursoderobotica 5 лет назад

    awesome proyect!!! I think you could make the script using Python! that is way too easy compare with Php ☺️- a lot of libraries for this job! hello from 🇦🇺👋🏼

  • @imdaea
    @imdaea 4 года назад

    please help me
    wifi can't connected
    show information
    timeout 1
    ESP CHECK FAILED
    timeout 1
    ESP RESET FAILED
    timeout 1
    ESP CWMODE SET FAILED
    timeout 1
    ESP SSID SET FAILED
    CHECKING FOR AN IP ADDRESS
    timeout 1
    IP ADDRESS FAILtimeout 1
    ESP CIPMUX SET FAILED
    CONNECTING
    timeout 1
    FAILED TO CONNECT
    how to finishing project?

  • @virtual_ninja810
    @virtual_ninja810 5 лет назад +4

    But how safe is it?

  • @andrejcupac7359
    @andrejcupac7359 5 лет назад +1

    Hi...awesome video it was very helpful and interesting...but could you make a tutorial on how to control an esp8266 from anywhere around the world with another esp38266 instead of a smartphone.

  • @josephcagiano3055
    @josephcagiano3055 2 года назад +1

    One of the best channels I’ve ever found. Very grateful for your videos. Greetings from USA.

  • @vijaysulakhe5605
    @vijaysulakhe5605 3 месяца назад

    Excellent explanation and video, many THANKS. Hope you make video about STM32 projects with Arduino IDE.

  • @DylanNeo
    @DylanNeo 3 года назад +2

    Hello Sir, I have been learning arduino lately and I've been lead in my search to this video to try next. I have experience in front and back end web dev (including PHP), so I'm excited to put that knowledge together with Arduino to make something really interesting.

  • @mariya5480
    @mariya5480 3 года назад +2

    Thank you so much! I am going to make best friends lamp for distance relationships. Your tutorial is the best one I saw on RUclips! I appreciate your work. Good luck with your channel. Subscribed

    • @fridolineckerd6135
      @fridolineckerd6135 3 года назад +1

      thats also why im here, did it work for you?

    • @mariya5480
      @mariya5480 3 года назад +1

      @@fridolineckerd6135 i decided not to do this😂

  • @zethlarsson4303
    @zethlarsson4303 2 года назад

    I can't download the zip-file. It's 0 byte when downloade. Could you please check what's wrong with the file. I would realy appreciate to have the code for your application. Thanks in advance!
    Regards. Starxen i Sweden!

  • @hamzaqasem9031
    @hamzaqasem9031 4 года назад +1

    in tx.php i get the error:
    (Undefined variable: update_number in /storage/ssd3/262/13007262/public_html/TX.php on line 70)
    can any body help me!!!

  • @nicalosmckennon822
    @nicalosmckennon822 4 года назад

    Love the effort 👍

  • @pratiksalunke3910
    @pratiksalunke3910 4 года назад +1

    Sir you are great ❤❤❤
    Sir please make arduino based attendance system with database.

  • @raybright5805
    @raybright5805 4 года назад

    Any reason why this code won't work just using ESP8266-12E - hardware a lot simpler and cheaper. Please comment

  • @giganteamidjr.3430
    @giganteamidjr.3430 2 года назад

    Good day sir. i have problem with my esp8266 i triedthis set up but i cant connect it says failed to connect. you have videos sir to set up the esp8266 for this project? Badly need it for my school project sir. Thank you sir.

  • @1_HighDuke
    @1_HighDuke 5 лет назад +2

    This is a great tutorial, especially for the php part. Thanks a lot!

  • @guywhoknows
    @guywhoknows 3 года назад +1

    After that I feel like adding a video on how to host a website on a server and how to make the server in less than ten minutes. But I'd also have to address the firewall and poet forwarding so it was world wide enabled.
    Good bit of work there!!!

  • @yudisdwi225
    @yudisdwi225 4 года назад

    How to resolve looping reset cwhmod bla bla bla.. i was connected and successfull this project but still little bug in looping reset and BLA BLA BLA error

  • @jaysunx1
    @jaysunx1 4 года назад +2

    Can you imagine doing this from scratch without looking up things on the internet

    • @spawnterror
      @spawnterror 3 года назад

      Yes. If you are a programmer then it's not hard. Your comment is actually silly. It's like saying imagine cooking a dinner without knowing how to cook. Or speaking other language if you don't know it.

    • @jaysunx1
      @jaysunx1 3 года назад

      @@spawnterror oh yeah true i didn't think about it like that

  • @MrBlacks4
    @MrBlacks4 9 месяцев назад

    Do you have a sloution with an App for android instead of a homepage? The two-way-communication is necessary for my project. I want to send commands and receive data with the app.

  • @medilies
    @medilies 4 года назад +5

    hello so the way esp(client) recieves data orders from the server is by checking the database .
    doesn't that consume a lot of network ressource since it needs to check periodicly!
    and isn't there any way to make our servers send data via http to esp ?

    • @salimshamim3851
      @salimshamim3851 4 года назад

      Yes, you can. You have to use mqtt(in place of http requests), that would work in publish subscribe model, so your esp can subscribe to a topic and will get notified when your app will publish on that topic.

  • @macmillan4487
    @macmillan4487 9 месяцев назад

    I have the same setup in my home, which includes lights fans ,water tank level monitor and control drinking water tap, all controlled through a website, now I am trying to backdoor and control some devices like fridge and washing machine which comes with wifi

  • @MCsCreations
    @MCsCreations 5 лет назад +2

    Really interesting!!! 😃
    Thanks!

  • @pojintae3262
    @pojintae3262 2 года назад

    i dont understand about uploading the file into arduino mega. do i need to upload all or just MAIN_ESP8266 ?

  • @techguys4886
    @techguys4886 2 года назад

    Bro can you please make a video regarding the blynk app connect with Arduino using ESP 01

  • @juhopeltola3993
    @juhopeltola3993 5 лет назад +3

    I placed order for one emmediatly I sow this. Thank you.

  • @JR-sq2js
    @JR-sq2js 2 года назад

    Hi, have an error in the Main Arduino file where it says the library is not found. Does anyone have an idea how to fix this? Thank you

  • @techjanlo
    @techjanlo Год назад

    sir can you provide source code and circuit diagram?again

  • @NeuraVlogdolfim
    @NeuraVlogdolfim 3 месяца назад

    Sorry bro, but I needed to know if I can use the Arduino for remote access, outside the house to sell to someone, so that in the app I create I can just use the network name and password so that person can control the device?

  • @computacionbariloche
    @computacionbariloche 3 месяца назад

    buenísimo, gracias !

  • @kelumjayasoma6043
    @kelumjayasoma6043 2 года назад

    Interesting. Can you help me on this please. Arduino code to open the boom gate and after a few seconds to close the gate on successfull authentication from mysql database.

  • @tusharrathore7906
    @tusharrathore7906 2 года назад

    Can anyonw tell, from where I can get 'avr/power.h' library if anyone got it .
    Please help me !!!

  • @范范-b4q
    @范范-b4q 2 года назад

    thanks for sharing , i m try to upload everything accordingly but still can`t access to control the LED and when the error show that arduino can`t access to php

  • @kimchilee7273
    @kimchilee7273 5 месяцев назад

    why do the 000webhost requires certain format for password but when opened in php it doest read special characters

  • @ski1526
    @ski1526 7 месяцев назад

    I'm having an issue where none of the input fields on the website exist, what could be wrong?

  • @Mystical-TEDDY_
    @Mystical-TEDDY_ 2 года назад

    Hey is there a version of the code for teh arduino that is lighter weight? since I only have an arduino Uno / might not need all of the things on that website. I tried editing it but I keep messing it up

  • @DasFrettchenFreddy
    @DasFrettchenFreddy 3 года назад

    Hii is there another way to make a database? My hosting service doesn't offer this i think :// thank you!

  • @jdeveloper151
    @jdeveloper151 2 года назад

    Hi! Thanks for share this great project... but i cant upload all sketchs at the same. can u help me?