Connect ESP32 to WiFi (ESP32 + Arduino series)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • Learn how to connect your ESP32 to your WiFi network. This is the biggest advantage of the ESP32: built-in WiFi.
    Once you have a WiFi connection, you can use it to send data to internet services such as ThingSpeak, AWS IoT, ...
    ⚡️Other videos in this series:
    • ESP32 + Arduino
    (Everything you need to know about programming the ESP32 by using the Arduino Framework)
    🌍 Social
    Twitter: / savjee
    Facebook: / savjee
    Blog: savjee.be
    Become a Simply Explained member: / @simplyexplained
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thanks for saving everyone's time in giving such a precise explanation.
    And helping everyone by not giving the script and making them learn.

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

    Perfect, well explained. Now looking forward to the next step. Passing information back and forth. Thanks

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

    Clear and concise. Thank you!

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

    I liked the way you presented the Code. I recommend you to post more of such videos. For example for ESP 32 RFID | GSM | GPS etc.

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

    Great and super clear tutorial. Thank you for sharing!

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

    You’ve chosen the perfect name for your channel, even I understood it.

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

    Thank you for this EXCELLENT introduction to ESP32 wifi. Your explanation is super clear and easy to follow. Thank you for sharing your knowledge.

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

    Very well explained. I wish the standard BSD sockets could've been designed and implemented as cleanly.

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

    I love your tutorials.

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

    Thanks very well explained !

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

    Schitterende video, erg goed uitgelegd. Dan nog wel van België!!! Congratz!

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

    Excellent explanation! Thanks.

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

    i just watched another one of these vids tho from a diff fella. this is explained better

  • @imextradeco.6689
    @imextradeco.6689 3 ปีที่แล้ว +1

    Thank you for the video. Is it possible to send digital data from an ESP32 with this sketch written to an ESP32 set up in APmode? For example, if I want to send a pulse or number every second.

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

    So enjoyable

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

    thank you just what i want..

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

    Thanks for the video =)

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

    good stuff!

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

    Do you have a video or good resource for using Access Point mode to setup/change wifi credentials?
    Ideally I would be able to put my esp32 into a configuration mode and connect to it with my phone or pc to configure the wifi settings somehow. (preferably something really easy so anyone can do it.) then when I reset the esp32 it tried to use the credentials it was given.
    Thanks!

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

    you are awesome keep going

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

    Good day, please what C plus plus extension created the folder directory like that? With the lib, test and src folders

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

    I have a quick question. On your serial monitor before displaying 'Connecting to WiFi.......' a bunch of random characters are displayed. Why does this happen? The same thing happened when I tried your code from my side and when I changed the baud rate to 115200 nothing but random characters were displayed. The board did manage to connect to my wifi network regardless of the baud rate. Can you explain why these random characters are displayed and if there is some way to stop them from showing up?

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

    Can you change the channel in the wifi with the arduino IDE?

  • @DJosh-cs5vx
    @DJosh-cs5vx 2 ปีที่แล้ว

    Thanks.

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

    What could you do if you wanted to connect an AVR ATmega328p (Arduino UNO) to WiFi ?

  • @left-.-4793
    @left-.-4793 11 หลายเดือนก่อน

    You sir earned urself a subscriber.

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

      Welcome to the family! 😀

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

    which library are you using?

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

    can i connect wireless display or smart tv to esp32 via wifi?

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

    I cannot get my ESP32 to connect using these among many other instructions/code. What settings does the wifi router need to be on? My conclusion is it must be the router that's causing the ESP32 to not connect.

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

    Easy as pie!!! Thanks alot.

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

    where do we get Wifi.h header? please help. final project

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

    Can this function be used with Arduino Uno and esp8266

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

    Hello sir, how can i run code with esp32 if i disconnect cable from pc. My esp32 only gave Vin and 3.3v pin

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

    How to access/use the wifi ip address on mobile or laptop. What we can with this ip

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

    This have big problem: if lose wifi connection it not reconnection. But with esp8266 with library ESP8266WiFi.h it working very well and auto reconnecting to wifi.

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

    so what can you do with this if I write this code in arduino?

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

    When connecting more than one ESP32 to the network, the first one connected hangs when the second ESP32 connects to the network. Why?.... WIFI DHCP network. Cannot change the network name of the ESP32.

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

    Very good presentation. What IDE are you using?

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

    Do you have this code somewhere?

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

    what is the text editor you are using?

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

    Were you programming in Cpp or Arduino_IDE?

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

      that's VSCode with an extension called Platformio

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

    i want to control servo and LED from one esp32 to other esp32 two way with out router do you have any video and code please share happy to subscribe your channel

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

    Does this work for espduino32

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

    Very nice video. Thanks. I am new to Arduino and ESP32 programming. Kindly allow me a question as follows. Where is the variable "WL_CONNECTED" coming from or where ist it defined?
    Thanks for your reponse in advance.

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

      most probably it is defined in wifi.h library

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

    Good video.
    "Password: Nice Try" 😂

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

    we need librrarys duuuuuuuuuuuuuuuude

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

    Error: "Wifi was not declared in this scope." Where do you get "Wifi.h" file from? You're asking to include that file but don't tell us where to get it.....

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

    Where is the scetch?

  • @rodrigo-tj1gf
    @rodrigo-tj1gf 2 ปีที่แล้ว

    ok, but now, how do i do anything with that?

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

    Which software are you using in this video
    Please reply faster

  • @0124akash
    @0124akash 2 ปีที่แล้ว

    This code is not working !!
    Serial monitor is blank.
    Wifi scan code is properly working.

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

    hi i keep getting src\main.cpp:10:13: error: 'WIFI_STA' was not declared in this scope
    WiFi.mode(WIFI_STA);
    please help

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

      I did too, check the spelling of "Wifi" In the code it was "WiFi" as the header if I remember. Just go thru the code and fix where needed.

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

    where did he define WL_CONNECTED ??

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

      I think it's a built in constant. it doesn't need to be defined.

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

    shouldve copy pasted the code dude

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

    "Nicetry" LOL