How to add WiFi Control to any project || ESP32 Beginner's Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ค. 2024
  • Support me for more videos: / greatscott
    Previous video: • HACKED!: Adding a Curr...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    LED Matrix project video: • Make your own 10x10 LE...
    More project information on Instructables: www.instructables.com/id/How-...
    You can get the ESP32 here (affiliate links):
    Amazon.com: s.click.aliexpress.com/e/_dXc...
    Amazon.de: amzn.to/2fGZBEw
    Ebay: rover.ebay.com/rover/1/711-532...
    In this video I will show you how easy/difficult it is to use an ESP32 with the Arduino IDE in order to add WiFi control to any electronics project. Along the way I will show you how to use the ESP32 to create a simple WiFi server and how to create a fitting control app for your smartphone.
    Music:
    2011 Lookalike by Bartlebeats
    Killing Time, Kevin MacLeod
    (incompetech.com)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @saqibshah5113
    @saqibshah5113 6 ปีที่แล้ว +678

    I do nothing with your information..but i enjoy watching very much..

    • @ichangedmyusername1553
      @ichangedmyusername1553 6 ปีที่แล้ว +4

      same here

    • @jameskoitsky3526
      @jameskoitsky3526 5 ปีที่แล้ว

      I agree but I have learnt heaps

    • @aakashjana6225
      @aakashjana6225 5 ปีที่แล้ว +7

      You can always learn something even if you don't have such hardware you can learn web development or python all it need is a laptop and internet

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

      Kinda

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

      Ya. I do same

  • @Nerdforge
    @Nerdforge 6 ปีที่แล้ว +94

    Didn't even know about the ESP32. Gotta order some, thanks for the guide! :)

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +13

      No problem ;-)

    • @XBlueBeam
      @XBlueBeam 3 ปีที่แล้ว

      Why has only scott replied here

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

      wow

  • @barbasbandas6665
    @barbasbandas6665 6 ปีที่แล้ว +31

    Your videos just turned my lazy sundays into productive sundays!

  • @mxcollin95
    @mxcollin95 5 ปีที่แล้ว +4

    This video is great and super helpful just like all your others! Thanks man. 🤙

  • @freeflaminginfinite917
    @freeflaminginfinite917 5 ปีที่แล้ว

    Okay got it all sorted out in a couple of hours!
    Great Scott!! What a genius!

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

    Thank you so much for this video, I can't follow many of your videos, but I love IoT and I have succesfully changed your videos idea to my project (controlling various relayswitches via an 433MHz transmitter and an NodeMCU)!

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

    I just tripped across this.
    Will try out the app as that interest me the most.
    I can make any electronics so that per for me is easy.
    If you don't want to take up your timers, you can always use an external clock and gate precise times levering the IRQ functions. That works great.
    Thanks for your work here. Really appreciate it.

  • @RazgrisFloob
    @RazgrisFloob 6 ปีที่แล้ว +6

    impulse bought one of these from banggood and i'm glad i won't regret it now

  • @JerryEricsson
    @JerryEricsson 6 ปีที่แล้ว

    Oh wow, shades of the Lost In Space Computer!! I love it, one of my favorite series when I was a boy growing up in South Dakota! Wonderful information on how to get the little ESP32 running as well. I have several of them at home in South Dakota, when we return from our winter quarters that consist of our 35 foot Class A motor Home. (There may be one in my junk bag, I will have to check now I am excited!)

  • @nautilus8789
    @nautilus8789 3 ปีที่แล้ว

    was literaly just looking for a video like this, thanks man love ur vids

  • @ricorenet9004
    @ricorenet9004 6 ปีที่แล้ว

    Very nice! Thanks for sharing this :)
    My current project will get similar functionality using a M0 bluefruit board. The ESP32 got me thinking though for future projects.
    Haven't heard about the MIT app inventor project, will definitely be checking that out!

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

    Really, really nice, man. :)
    Tons of good projects out there to that board. :)

  • @jelluh666
    @jelluh666 6 ปีที่แล้ว

    Was building this with an raspberry pi zero, which makes programming it way harder. This ESP32 is exactly what I need!

  • @JerryEricsson
    @JerryEricsson 6 ปีที่แล้ว

    I think where I went wrong when I was trying to install the ESP32 Aduino setup was to use my current Arduino setup and just change it to do the ESP not thinking it would really screw up my other boards, which it did to no end When I finished, nothing worked and I had to rip it all out by the roots and start all over, giving up on the 32 and just being happy to be able to program my old arduino hardware once again. Next time I shall simply install it in a different location on my hard drive and I think that should work! Thanks for your great videos, I always learn something from them, and as I have always maintained, learning at least one new thing every day keeps our minds young, just as a walk in the desert every morning keeps my heart beating and my lungs pumping air as well. Ah the things we do for life....

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

    Well done. A lot to unpack but a really good starting point. One caveat: don’t use really strong magnets when testing the Hall sensor, as it will kill the sensor (yup, I did)

  • @MrMattemac
    @MrMattemac 6 ปีที่แล้ว +73

    Those videos are getting looonger 👌 love it 💜

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +19

      Glad you like it

    • @mohammadr465
      @mohammadr465 6 ปีที่แล้ว

      Thanks!

    • @fede142857
      @fede142857 6 ปีที่แล้ว

      great scott! *Everyone report this fake account*

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

      @@fede142857 ???

  • @melwillseptember752
    @melwillseptember752 6 ปีที่แล้ว +17

    Amazing Project, about your error message with the app, use a POST method instead of the GET method and that should remove the error. A Get method expects a result from the Server and a POST method sends data to the server. Keep up the amazing work, you really are amazing at the electronics

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

      Alternatively you can use PUT or OPTIONS

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

    nice work
    thinking about the vast implementation it can have :D

  • @joefuentes2977
    @joefuentes2977 3 ปีที่แล้ว

    Love the ESP chips! Used it for my senior project! Cool video.

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

    Thanks! I was looking for a guide to work with my project, and your video helped a lot

  • @AR-zm5mj
    @AR-zm5mj 5 ปีที่แล้ว

    Scott, you really are the Great Scott! Thanks.

  • @phinok.m.628
    @phinok.m.628 6 ปีที่แล้ว +4

    You only need timer interrupts when you need very very precise timing... In this case you can just use millis or micros to check how much time has passed and only execute certain code in specific intervals, since it doesn't really matter if it executes a few milliseconds later.

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

    As always, excellent work and video

  • @thefademanro4874
    @thefademanro4874 2 ปีที่แล้ว

    GreatScott is always the best!!!!

  • @liberamentis4843
    @liberamentis4843 4 ปีที่แล้ว

    thank for your videos , people like you are the salt off this earth !

  • @AhmetAkifKaya
    @AhmetAkifKaya 6 ปีที่แล้ว

    Brilliant, you made me think that "why not just build an iot project with the esp"... I think I will start soon

  • @PR-cp6qe
    @PR-cp6qe 6 ปีที่แล้ว +6

    Thank, very usefull for my project. Can you create tutorial or some project using raspberry Pi 3 ?

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

    wow! that ESP32 Board sounds awesome :D

  • @TheRealBobHickman
    @TheRealBobHickman 6 ปีที่แล้ว

    I've been struggling with the ESP32 and LED driver libs. Good to know it wasn't just me :)

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

    I have done this to make internet connected 443MHz relays and homemade sensors. Works pretty well and runs stable for long time!

  • @Vido89
    @Vido89 6 ปีที่แล้ว

    ESP32 rocks! Great video Pascal

  • @leozendo3500
    @leozendo3500 6 ปีที่แล้ว

    Great Start! Thank you for useful content
    Maybe try to implant Color Chord2 onto the ESP32 for better performance? It will look gorgious.

  • @MrSandoron
    @MrSandoron 6 ปีที่แล้ว

    Your videos really help me out with my own projects. I didn't know anything about the ESP32, but now I can modify some of my past projects. Thank you!

  • @cheapkid1
    @cheapkid1 5 ปีที่แล้ว

    Great job on the video. I really liked it. Could you please do a video on ESP32 triac control? I think that would be very interesting. All I have found is high current mosfet pwm control for AC loads. What do you think? You seem to be very knowledgeable about the ESP32. Thanks

  • @spaas97tv
    @spaas97tv 6 ปีที่แล้ว

    Great project!!!
    I was wondering if you're planning to make a project that sends analog signals to the esp32 using the arduino ide and maybe processing?

  • @noahrodeghiero9640
    @noahrodeghiero9640 6 ปีที่แล้ว

    Nice project, love the design

  • @michaelalexander825
    @michaelalexander825 6 ปีที่แล้ว

    i love all the videos and find it to be allot of help with my electronics basics..request- robotic arm or LIDAR sensor

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

    Brilliant tutorial. Really inspires me to do more with electronics!

  • @Leoparh
    @Leoparh 3 ปีที่แล้ว

    Just tried it.. In 35 minutes, I set this up and instead of sending voltage to a pin, I printed it out on the built in screen of the TTGO esp 32. Thanks a lot !

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

    If you had the server return a 200 status code in a response, you could avoid that error code in the client. Great video!

  • @HS-eq3gk
    @HS-eq3gk 6 ปีที่แล้ว +1

    Love it!
    Can't wait for more Pi stuff :)

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

    Cool Video as always. It really helped me out. I created an App to control a motor that opens my curtains, using the ESP32. I couldn't have done it without your help!!!. (Well maybe I could, but it would have taken A LOT longer). Thank You!!!

  • @jannickbremm9483
    @jannickbremm9483 4 ปีที่แล้ว

    I'm working on a vastly different project but this saved my ass. Thank's! (Especially for the Android App creator tipp!)

  • @SkillfullyBlind
    @SkillfullyBlind 6 ปีที่แล้ว

    this is amazing, i think im going to build one of those some day (Y)
    I have an idea for you, have you ever thought to make a custom game controllerbased on the arduino pro micro? Would love to see you make one :)

  • @rayerdinc2441
    @rayerdinc2441 4 ปีที่แล้ว

    Excellent video, informative and easy to follow. Thank you. Subscriberd.

  • @Taran72
    @Taran72 5 ปีที่แล้ว

    Kool project! thank you very much for being an inspiration to others like me :)

  • @InFAMOUSPS4_19
    @InFAMOUSPS4_19 3 ปีที่แล้ว

    Can you do more of these? I like seeing how to develop apps that can control projects like this

  • @TheDambo1
    @TheDambo1 6 ปีที่แล้ว +7

    You can also use "plug and play" controll app like Blynk to wireless access to your projects.

    • @filipesrubio4015
      @filipesrubio4015 3 ปีที่แล้ว

      Does it work if you are not connected to that wifi?

  • @YouNoCode
    @YouNoCode 6 ปีที่แล้ว

    Dear GreatScott, Thanks a lot for your nice video. I'm teaching code and IoT to kids and I use ScratchX, AppInventor and ESP8266 and I've developed many projects with them. And you inspired me a lot of ideas to share with the kids.
    For the error notification you got on the app, just add an empty C-Shaped block from Screen object "When Screen error Occurred" : all notifications will disappear

  • @JtagSheep
    @JtagSheep 3 ปีที่แล้ว

    After watching this recently im not sure if you had your color order set wrong WS2812B is GRB AFAIK and also Fast Led has its own delay function I believe :) so if you havent checked it out recently it might be worth a try ! I use a NodeMCU with my WS2812B 240 pixel strip and it was the perfect addition !

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

    Love your videos! I'm creating a 800 pixel matrix for a ceiling install. Is it possible to setup in a way where I can use designs I made with LED Edit but also have an audio reactive input with a microphone connected to the ESP32?

  • @alex0kai
    @alex0kai 6 ปีที่แล้ว +353

    At first, I thinked, that he want to troll us with the name of his computer (2:32) but then I saw that this is the correct name on the list from his router (7:03)

  • @ChadReitsma
    @ChadReitsma 3 ปีที่แล้ว

    Nice work man! It's amazing what you can do with Arduino.

  • @ellimerlucero5257
    @ellimerlucero5257 4 ปีที่แล้ว

    Hello Greatscott! would like to ask if we would be using multiple ESP32s and make it work, would the packets sent by these, simultaneously, would collide? (given all are connected at one router)?

  • @TrungTran-hw7ws
    @TrungTran-hw7ws 6 ปีที่แล้ว

    thank you very much

  • @Jojo_repairs_stuff
    @Jojo_repairs_stuff 6 ปีที่แล้ว

    Hey, great video. Is there a way to find out, what functionalities are included in the cheap aliexpress.com pcbs? I read somewhere that most functions are optional...

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

    I like the APA102 library, which uses its own protocol running over SPI. It's pretty easy to implement a low level control yourself using that. Also works better with hardware or operating systems that aren't fully real-time.

  • @EricHallahan
    @EricHallahan 6 ปีที่แล้ว

    Was just looking into this. Thanks!

  • @marioespinosa9693
    @marioespinosa9693 3 ปีที่แล้ว

    Thanks for the review... i will buy it and see what i can do !!stay creative

  • @jassimjaved3309
    @jassimjaved3309 3 ปีที่แล้ว

    Thank you GreatScott!

  • @magixo_
    @magixo_ 6 ปีที่แล้ว

    Best video so far!!! GJ!

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

    Hey, I have got a question for an older project. I'm building a 6x6x6 RGB Led cube and now I solder the pcb and dont know how to solder the tlc5940. In your Picture, how to solder, GND is the 3rd Port up but in the Information about the tlc5940 GND is the 7th Port up. On wich Port i have to solder it ?

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

    thanks man. i was having anxiety because I promised this functionality to a client without even doing research... looks like I didn't need to after all ( except for your video, thanks n_n )

  • @BlahBlahBleh317
    @BlahBlahBleh317 6 ปีที่แล้ว

    Great video man!

  • @liudas5377
    @liudas5377 6 ปีที่แล้ว

    Very nice job. You don't give up easily.......thanks

  • @burhanuddinbhiwaniwala618
    @burhanuddinbhiwaniwala618 2 ปีที่แล้ว

    GREAT VIDEO sir.... I was thinking is it possible to use Nextion display to enter WiFi credentials without hard coding or without creating a Soft AP

  • @siltronshock5187
    @siltronshock5187 3 ปีที่แล้ว

    i love your vids man your soo cool

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

    Nice video. Can you please make a video on how to show a sensor analog reading by using this nodemcu with an arduino board inside a websites or an app.

  • @debarryl
    @debarryl 3 ปีที่แล้ว

    Would you do a video on how to do the same for a low power approach with zigbee or zwave?

  • @HarshJain-it2bg
    @HarshJain-it2bg 4 ปีที่แล้ว

    Scott,
    I am new to electronics. Cwn you suggest any reading material for begineers.

  • @Maribel80ify
    @Maribel80ify 6 ปีที่แล้ว +4

    Awsome video, but I forgot why I wanted an arduino with wifi build in. :D

  • @pronehacker9915
    @pronehacker9915 3 ปีที่แล้ว

    Love ur vids

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

    Good video. This is the way to study esp32 uC

  • @bastian9945
    @bastian9945 5 ปีที่แล้ว +3

    One possible fix for the android could be to let the esp send a 204 status on every URL you specified with a function this should get rid of the error because 204 stands for "no content".
    sending 404 on every URL would also work but will probably end in another error saying that the server couldn't find the requested data.
    i don't know what client.flush() exactly does but i think giving a proper response header with 204 is a way more elegant way of doing things.
    still nice addition to an already nice project ;D

  • @srivenkatesh3359
    @srivenkatesh3359 6 ปีที่แล้ว

    Really great scott!!!!

  • @davidhawley1132
    @davidhawley1132 5 ปีที่แล้ว

    I've been tryiong to figure out what the WiFi module does. Now I know that at least it can talk HTTP, which is a big help.

  • @jamest.5001
    @jamest.5001 6 ปีที่แล้ว

    another great from great Scott.

  • @djpaulieshark
    @djpaulieshark 6 ปีที่แล้ว

    Very good skills GS. Very nice work

  • @BigWhoopZH
    @BigWhoopZH 6 ปีที่แล้ว

    I have enhanced my electric window blends to be remote controllable by esp8266 relais modules. I had to implement a way to send a few simple commands like up / down / stop / reboot and identify also. A HTTP Server is a lot of overkill to achieve this. Instead I send simple single character TCP-Messages to the esp8266, like "u", "d", "s" and so on. I also wrote an Android App to control the blends and a Java command line program that simulates presence while I'm on vacation. The Android IDE is fairly easy to use. No barrier for an intelligent fiddler like you are ;-)

  • @Xyz-77
    @Xyz-77 6 ปีที่แล้ว +1

    You should make a tutorial about a 555 timer flyback converter or about wifi or bluetooth jammer.

  • @jovintony7120
    @jovintony7120 6 ปีที่แล้ว

    Do u have an idea of doing complete review video for this esp MC.?

  • @tomstr21
    @tomstr21 6 ปีที่แล้ว +16

    Hi Jeremy...I wondered if you could make wireless system for guitar. I've been suffering with this project for over a year.. It doesn't have to be super high range ( but about 10m is minimum ?!) and obviously It can't have delay.
    Thanks,
    Tomas

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +13

      I can put it on my to do list

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

      That'd be great... I'm sure you have plenty of projects :).

    • @budandbean1
      @budandbean1 6 ปีที่แล้ว

      I’d also be very interested in something like this. It a great idea!

    • @aherontas1943
      @aherontas1943 6 ปีที่แล้ว

      I am intrested in that too :D

    • @qps9380
      @qps9380 6 ปีที่แล้ว +4

      Who's Jeremy????

  • @colbyglivar9223
    @colbyglivar9223 5 ปีที่แล้ว

    Do you think you could post a tutorial on a timer interrupt to handle the animations?

  • @elektrokiste
    @elektrokiste 6 ปีที่แล้ว

    Hello! First, great video as always! To all who also try to work with the ESP32 and fail, when I tried with my chip the simpleWifiServer example, that did not work and the chip has constantly disconnected from my PC and reconnected when Wifibegin was running. This is because my PC has turned off the USB port because too high current flows. So if you have the same problem then connect an external power supply to the ESP32 and the problem is solved!
    LG EK

  • @androiduberalles
    @androiduberalles 6 ปีที่แล้ว

    I built a 16x16 RGB board and have been using a RPI to power it. I think it's a nice solution because I can run code that pulls from weather underground and display it along with other fun animations. Definitely not the cheapest solution though.

  • @dantouchingthesky1527
    @dantouchingthesky1527 5 ปีที่แล้ว

    I love your projekt :-* thx

  • @jonathanclark7444
    @jonathanclark7444 3 ปีที่แล้ว

    ESP 8266 are still very great chips, even if you don’t care about using it for anything in particular they are great fun to mess around with and host servers. Plus they are pretty cheap (node mcus esp8266s are around 13 dollars for 3 chips)

  • @anandhakrishnant6788
    @anandhakrishnant6788 6 ปีที่แล้ว

    Bro . As usual great video. Who is here dor 30 views. First time:))

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

    I think that you could fix the error (message) by sending out a proper response from the esp whenever it gets a new get request. The method of the server instance is called "send".

    • @bmercse5793
      @bmercse5793 5 ปีที่แล้ว

      Could you elaborate a bit please?

  • @inakiinchaurregui4848
    @inakiinchaurregui4848 5 ปีที่แล้ว

    Hi! Do you know if you can change the name of the bluetooth so that it appears as we want, when looking for it with another device?

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

    HELLO Great Scott I'm wonder if you can make a video about if the transformer from 16.4ft led strips can handle 6 or more 16.4ft led strips

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

      This is the led strip; 16.4ft 5050 RGB LED Flexible Strip Light DC 12V Kit 5M 300 LEDs 5050 SMD IP65 Waterproof Color Changing LED Rope Light Strips & 12V 5A Power Adapter & 44Key IR Remote Controller

  • @honkhonk8009
    @honkhonk8009 5 ปีที่แล้ว

    GreatScott, i was wondering if you could show us how to do something wifi related but with the rasbperry pi? Possibly make a rover with it?

  • @Torjus_
    @Torjus_ 6 ปีที่แล้ว

    Taking this, adding some speakers at the corners and making the pattern sync with the music. Would be so cool :D

  • @danielschwapp9865
    @danielschwapp9865 4 ปีที่แล้ว

    With this setup will you be able to control the led board from anywhere in the world with connection to the internet or do you have to be on the same router as the esp32?

  • @BilalKhan-sq6cs
    @BilalKhan-sq6cs 5 ปีที่แล้ว

    Hi!! I like your all projects..

  • @annemariemiguel2541
    @annemariemiguel2541 6 ปีที่แล้ว +3

    Hi great Scott could you make a synthesizer with the 555 or an other ic?

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

      Anne Marie Miguel I would be interested in this video too.

    • @Lakes57
      @Lakes57 6 ปีที่แล้ว +3

      See The Ben Heck Atari Junk Keyboard project and then 8-Bit Keys playing it.

  • @JakubKraus0
    @JakubKraus0 6 ปีที่แล้ว

    Hello, there is a newer version of MIT app inventor called Thinkable. It's still free and from MIT, but with a few more commands

  • @matth3wc
    @matth3wc 6 ปีที่แล้ว

    I did a similar project to open a garage door with my phone.
    But I used a app called http request widget. Works great and let's you put a widget right on the home screen.

  • @shivanshpuri3065
    @shivanshpuri3065 6 ปีที่แล้ว

    you rock man i was rellay helpful

  • @nickush7512
    @nickush7512 3 ปีที่แล้ว

    Another GREAT video, thanks.