ESP32 Access Point and Router connection explained

preview_player
Показать описание
This video will explain how to setup an ESP32 as an Access Point or alternatively how to connect it to a router. The ESP32 used is the ESP32-WROOM-32D.

Code for the simple connection available at:

Code for JSON example available at:

Check out my other ESP32 videos as well:

Thanks for watching :-)
Рекомендации по теме
Комментарии
Автор

That was great.
You explain things extremely well.
Thanks very much.

johnvine
Автор

Thanks very much for these videos. I have always wondered what all the code did in these applications. It is quite complicated but you have explained it well and although I couldnt write it from scratch I think that I could probably hack your code now to make something that I want. Cheers!

davidkempton
Автор

I have been working through your videos using an ESP32-C3 using an on-chip 4Meg flash. Even though the C3 is Risk-V, I suspected that company would use the same code, just a different compiler. So far all is working fine. Thank you for this, it has saved me much head scratching. Your explanations are very clear and your code is very well organized. When I tried the Bluetooth videos, no joy, the compiler threw a fit with the ESP32C3 selected, many functions not found. I had hoped they would do like the WiFi, looking in google I see a post saying it only supports BLE, but the API docs show Classic and others. I tried to compile the BLEclient and BLEserver examples and they compiled, so I guess my best bet is to convert over to BLE (I wonder if my phone supports that). Thanks for the WiFi though, it was great.

lenreinhart
Автор

Great video man! Where did you learn all of this stuff? Do you have a book?

engodhjertetdtu-studerende
Автор

Thanks for this. I had it in my head that to be a server it had to be an access point and as client had to be in sta mode. So it can be a server no matter what mode it is in. But to access the esp32 from outside your lan it would have to be in sta mode. Also, as an access point, the esp32 has to create it own radio signal (wifi) ? I would think that that signal does not go too far so other devices connecting to it would have to be close by ?

noweare
Автор

Thank you so much for this excellent explanation.. it's very helpful.. I was able to use your explanation to convert the default ESP32 Cam Arduino example code onto Access point mode... And it works well on my PC, but once I try connecting with my android phone it keeps connection and disconnecting.. please have you experienced such behaviour.. and what could be the solution.. thanks

mayoortechinnovations
Автор

hello
Is it possible to connect a cell phone with an App Inventor application and send simultaneous data to two ESP32 modules to control different LEDs on each card?
without occupying a router

patonaranjo
Автор

Sir, how to make LAN to WiFi convert using ESP32 and enc28j60?

akash
Автор

I have a question. Will the fixed ip and ssid and password change after uploading some other code in the esp32?

paridcati
Автор

can you make a video for a solution of esp32 cam wifi connecting issue .please help me .
in serial monitor the dought printing continues but not connecting .and some times triggered please make video

irshadirshu
Автор

would be possible to do something like this with a LAN Cable? i mean internet coming from a wall socket, then via LAN adapter to usb and then to the board in order to make a WIFI Access point from an internet cable access. Thanks

pepedecoatza
Автор

Thaks for the video, very clear but for me it does not work! The esp loads and prints Ready etc. I have been using the router connection while writing my code. I followed the video and am getting ERR_ADDRESS_UNREACHABLE. I tried changing the IP and gateway still no change. Any ideas?

aleksandarzivkovic
Автор

Hi, I have followed the instructions and the code complied fine and uploaded but I am not able to see the wifi SID on the laptop or the phone. On ESP32, I am able to see red and a blue light constantly on. Am i missing something? thanks in advance.

panxpatel
Автор

I wanted to thank you for the video but I was wondering if it is possible to communicate with only 1 cliënt instead of a webSocket.broadcastTXT?
I want to thank you in advance :)

pukivkv
Автор

I am working on a project where i want to capture an image in ESP32 cam and send it to the server
I am providing my local desktop ip address and when I am running that it is showing that the connection failed
Can you tell me what is the issue? I don't have any router in my home i use my mobile hotspot for ssid and password

ahanapal
Автор

This is a connection in an internal network created by esp32 and has nothing to do with the Internet or Wifi. So I wonder if you can make a video instructing how to use esp32 to create a DNS domain name so that people do not need to near the esp32 and connected to its internal network. Instead, anywhere as long as there is internet, can you access the Web interface created by the esp32? Thanks.

ThanhNguyen-ubee
Автор

Cna you explain why someone would choose one option instead of the other?

PyubX
Автор

I want to make a mobile app which connect to esp32. How I can connect my app to esp32.

shahbaztech
Автор

When does a new season of Scooby Doo come out?

rleogNano