Тёмный

03 ESP32 Wi-Fi and Web Server | Web Pages to Control LEDs over Wi-Fi in Access Point & Station Modes 

Education is Life
Подписаться 12 тыс.
Просмотров 44 тыс.
50% 1

In this video, Joed Goh illustrates how to set up and configure the built-in Wi-Fi of ESP32 - Soft Access Point and Station modes. It highlights three (3) sample programs: Scan existing Wi-Fi networks within range, a web page to control blinking LED over Wi-Fi in station (STA) mode, and a web server for controlling LED sequences in soft Access Point (AP) mode.
Table of Contents:
00:00 Introduction
00:52 Materials
01:30 ESP32 Wi-Fi explanation
03:30 Wi-Fi Scanner program
07:00 Wi-Fi Scanner program (OUTPUT Demo)
08:28 Simple Wi-Fi Server in STA mode
12:30 Simple Wi-Fi Server in STA mode (OUTPUT Demo)
14:19 Web Server program in AP mode
22:25 Web Server program in AP mode (OUTPUT Demo)
25:58 Programming Challenge
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...
References:
arduino-esp8266.readthedocs.i...
www.instructables.com/ESP32-A...
lastminuteengineers.com/creat...
electropeak.com/learn/create-...
randomnerdtutorials.com/esp32...

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@mohammadkazzazi3757
@mohammadkazzazi3757 20 дней назад
Thank you for your videos, They really help me a lot.
@joedgoh
@joedgoh 20 дней назад
Wlecome and thanks!
@sennabullet
@sennabullet 3 месяца назад
Every single one of your videos is amazing. Great content, perfect presentation. Easy to understand. Thank you for sharing your knowledge.
@joedgoh
@joedgoh 3 месяца назад
Thank you! Appreciate your comment 😊
@user-ye2pj1sl6h
@user-ye2pj1sl6h 7 месяцев назад
Thanks for this video you have no idea how much you have helped me, just thanks.
@joedgoh
@joedgoh 7 месяцев назад
Glad to be of help 🙂
@ManishSharma-fi2vr
@ManishSharma-fi2vr 9 месяцев назад
Great Session!
@mungkey
@mungkey 10 месяцев назад
Salamat sir. Very clear and easy to understand. I learned a lot!
@adamschofield2960
@adamschofield2960 5 месяцев назад
Excellent. Helped me a lot. Thanks
@joedgoh
@joedgoh 5 месяцев назад
Great to hear! 😊
@wayneslaughter5512
@wayneslaughter5512 5 месяцев назад
Excellent explanation, Joed!
@joedgoh
@joedgoh 5 месяцев назад
Thanks for watching! 🙂
@Noughtta
@Noughtta Год назад
Exactly what I was looking for, Thank you!
@joedgoh
@joedgoh Год назад
Welcome
@s10jam
@s10jam 6 месяцев назад
Excellent video and demonstration
@joedgoh
@joedgoh 6 месяцев назад
Thanks!
@kevintsilvers
@kevintsilvers Год назад
Great Job
@I_am_Ashok
@I_am_Ashok 5 месяцев назад
You are just genius bro. God bless you and always stay happy and healthy.
@joedgoh
@joedgoh 5 месяцев назад
Thank you. I appreciate your comment 🙂
@nosferatusvii
@nosferatusvii 3 месяца назад
Iba ka talaga sir Goh! Nakakamiss maging studyante nyo. Marami akong natutunan sa inyo 😁
@joedgoh
@joedgoh 3 месяца назад
Maraming Salamat! 😁
@arunc.a2821
@arunc.a2821 Год назад
You never disappoint me
@joedgoh
@joedgoh Год назад
Thank you!
@gokhanturan7879
@gokhanturan7879 Год назад
Hi there, loved your educational series. I have a question for you. What is the best solution for communicating with 60 different identities Esp32 via Wi-Fi ?
@partouelectric2353
@partouelectric2353 Год назад
hi Joed. thanks for the great video. How can I get a copy of your codes? Thanks
@user-iu1yk8kg8s
@user-iu1yk8kg8s Год назад
Totally new to ESP32 how easy would this be to use toggle buttons instead of standard button?
@izoenzo9644
@izoenzo9644 Год назад
Hello can you do a tutorial about integrating DF Robot Gravity Analog pH Level sensor and DF Robot Gravity analog EC meter into ESP32-WROOM-32 IoT Development Board to Arduino IoT Cloud?
@BlondieSL
@BlondieSL Год назад
I've just started to learn ESP32. I've been building projects with Arduino for year, but it was time to move up to something more powerful. I'd like to confirm something that I've noticed and been able to confirm what's causing it. I watched the video and what I'm seeing here on 2 different ESP32 boards (one is 32 pin, the other a 38 pin) is different. I edited my orig comment to make it shorter. Long story short, what I see with my 2 boards, is the moment that *WiFi.mode( WIFI_MODE_STA )* is executed in setup, the Blue onboard LED is on constantly. Actually, it flickers super fast and even though no more code is executed, the light stays on (like super fast data transfer). I also confirmed that it's NOT related to Serial as I disabled all of that. In my test sketch, to confirm what I'm seeing, I started sta, waited 10 seconds then *WiFi.mode( WIFI_MODE_NULL )* to stop WiFi. *The LED goes out and functions normally.* I figured that since everything seems to run ok, this must be an indicator that WiFi mode is set. And yes, any of the mode functions have the same effect, except, Null, of course. *But in seeing the video*, I see that *WiFi.mode( WIFI_MODE_STA )* is executed in setup, but the Blue onboard LED does NOT light up and go nuts. So now I wonder, do I have a problem here? Is this a library problem or could it be a firmware issue on the 2 different ESP32 boards?? As I'm new to ESP32, I'm not where to find the right firmware files to update them or even how to see which firmware version they currently have. So can anyone confirm if this is a problem or if it's just how some ESP32 boards work? I should say that one of them has the word, WROOM on it and supposedly it's: *ESP-WROOM-32 Chip CP2102* (38 pins) The other one says, *ESP32-D0WDQ6 Chip for IOT.* (30 pins) So as far as I can tell, they are different, yet with the WiFi mode set, they both have the Blue LED steady on. Does anyone know?? Thanks in advance.
@dienau6313
@dienau6313 Год назад
E (218950) gpio: gpio_set_level(226): GPIO output gpio_num error, what does that mean sir?
@alaingoyette7103
@alaingoyette7103 6 месяцев назад
Hi Joed, thx for the great video. Question, do you know what is the range when using WebServer SAP? Thx!
@joedgoh
@joedgoh 6 месяцев назад
Thanks. It depends on the model and antenna, and other factors like walls or open area. Typically 50 meters up to 200m
@alaingoyette7103
@alaingoyette7103 6 месяцев назад
@@joedgohWhat about as an Access Point? 6 to 10 meters? It's possible I get the terminology wrong 😅
@korokrunch3364
@korokrunch3364 10 месяцев назад
hello, can i please get the code for the challenge? I just want to do some modifications of my own :)
@d4te_muhammadzadidilmizadi970
this ip can be static ip
@AstroJaeger
@AstroJaeger 8 месяцев назад
Hello, when you give the web page more style, there's a line of code that cuts out, could you provide the rest of that code please?
@joedgoh
@joedgoh 8 месяцев назад
Ok. Email me pls. joedgoh@gmail.com
@upendrashendye7986
@upendrashendye7986 16 дней назад
WiFiClient client = server.available() returns 0 and the code does not enter the following if(client) function. Pl help
@evelioexcellenta7652
@evelioexcellenta7652 6 месяцев назад
Hello im new to this, i see that you are not using AsyncWebServer and SPIFFS, may i ask what's the difference and which one should i use (your video or these 2)? because my teacher told me to use AsyncWebServer and SPIFFS. but from your video i can't seem to see the difference in function of using your method and my teacher's method, it seems to have the same output
@muratalsu238
@muratalsu238 Месяц назад
Android connects to wifi network with "Keep connection". But iPhone does not connect?
@yassinebengaga5933
@yassinebengaga5933 Год назад
hi sir i did nothing wrong but its giving me that the handle_ONConnect' was not declared in this scope the error is in the beginning
@joedgoh
@joedgoh Год назад
Pls check for case sensitive declaration of your function or possibly wrong spelling.
@growingscoville
@growingscoville Год назад
Hi sir, ask ko lang kung meron ka po bang uploaded video na timer switch for light.
@joedgoh
@joedgoh Год назад
Wala pa po. Can you give the expected behavior nung "timer switch for light" na hinahanap mo?
@growingscoville
@growingscoville Год назад
@@joedgoh i mean switch timer po sya for arduino
@killergriller87
@killergriller87 Год назад
Wow this is really damn well explained, thank you very much. This is perfect for my model building. I have a question can you also store a picture, because as far as I know the esp32 can not do that, but maybe I'm wrong.
@joedgoh
@joedgoh Год назад
Yes you can store images to the flash file system. You can search on SPIFFS and AsyncWebServer. Thanks!
@user-ei4em3ez1f
@user-ei4em3ez1f 6 месяцев назад
Hi, is it possible if in 1 wifi network I want control or remote 3 Unit ESP32 using web server?
@saurabhjoglekar
@saurabhjoglekar 5 месяцев назад
Yes, they all will have different IP addresses and you can each device's webpage by inputting that IP address. One issue you will encounter is that you will not know which IP addess is which device. You solve it by having your WiFi router to "Bind" each device to a separate IP address. That way each device will get same IP whenever they connect to the wifi.
@jasonchua3956
@jasonchua3956 Год назад
Hi there, could you share your code, thanks
@sachintharavindu3356
@sachintharavindu3356 8 дней назад
I need some help. The server can be accessed by clients on the local area network, but how can I deploy it to be accessed by my devices anywhere on earth through the internet? is there restrictions on the ESP to achieve this?
@joedgoh
@joedgoh 8 дней назад
the remaining lessons will answer your question.
@partouelectric2353
@partouelectric2353 Год назад
Hi. Joed, Do you have a website where I can get a copy of your video codes
@joedgoh
@joedgoh Год назад
Hi, pls send me an email request for the source code that you want. joedgoh@gmail.com Thanks
@gnarloy7034
@gnarloy7034 Год назад
@@joedgoh Hello, can i also ask for all the source codes from the Internet of Things playlist you have? I've sent you an email.
@0124akash
@0124akash Год назад
This project internet based or local area network based sir ?
@joedgoh
@joedgoh Год назад
Local
@ayaansharma2007
@ayaansharma2007 11 месяцев назад
@@joedgoh how to make internet based with just esp8266 01, not esp32 or nodemcu?
@user-vp3sn7yl9i
@user-vp3sn7yl9i Год назад
Sir how to get this video code please tell me sir.
@joedgoh
@joedgoh Год назад
Pls email me. Thanks
@muhammadahtsham5260
@muhammadahtsham5260 Год назад
hi sir please upload video on microphone max4466
@joedgoh
@joedgoh Год назад
Thanks for the suggestion
@deenotableeg4804
@deenotableeg4804 2 месяца назад
Where the code link. Its bad expernce
@RIR66
@RIR66 3 месяца назад
Share you code
@carlosmolina3850
@carlosmolina3850 3 месяца назад
Wait. I will get you a spoon
Далее
I Built 3 SECRET Rooms In School!
33:34
Просмотров 15 млн
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
Это iPhone 16
00:52
Просмотров 1,1 млн
ESP32 Access Point and Router connection explained
8:51
ESP32 WebSocket Server
10:25
Просмотров 54 тыс.
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 561 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
JPEG is Dying - And that's a bad thing
8:09
Просмотров 91 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
ESP32 Web page creating and updating
32:11
Просмотров 150 тыс.
I Built 3 SECRET Rooms In School!
33:34
Просмотров 15 млн