How to Create a Web Server (with WebSockets) Using an ESP32 in Arduino

preview_player
Показать описание

Note that we use the ESP32 as an access point (AP) here to simplify the process. You can do away with the access point, if you wish to have the web server on your local network.

WebSockets provide a persistent connection between a client and server so that either party can send data at any time. They are very useful in things like networked video games, but they can also be applied to IoT devices, if we need fast control of hardware over a network.

Рекомендации по теме
Комментарии
Автор

So I searched google and YouTube for weeks looking for a detailed yet to the point tutorial about this very topic, and the ones I found are either too complicated or expecting me to be a web developer. Then only today, YouTube simply suggest this video to me like I never searched for such a thing!!
It's exactly what I'm looking for as if it was made specifically for me!! why YouTube!! why!! 😩

This video should be the top result whenever someone search for "ESP32 webserver"

Thank you so much for this video as I find it perfect!

katkothaza
Автор

I just got an ESP32-C3-mini-1 and I had already set up the boards and device to ESP32-C3. Following your presentation, the code worked fine on it. On to the second part! :) Thank you - whoops, this is the second part. I"ll post this back on the first.

lenreinhart
Автор

Best explanation I have ever seen. Thank you.

makifbuz
Автор

Good work Shawn! Done as you had explained and it works perfectly!

peervincent
Автор

Wow nice timing! Exactly what I need for my next project. ❤️

Автор

Shawn - Great video! It really helps me out with a project. Hope you are doing well and staying safe.

barrybuelow
Автор

Clear (if a bit fast) description of how to do everything. Do you have an updated version for Arduino 2.0 IDE? The installation of tools doesn't seem to work the same.

KCUNL
Автор

„A few months ago“ - man, feels more like ages. But as always, great work, clean code. Minor improvement could be made trough the use of a captive portal, which opens directly after connecting to the access point. thumbs up

colanuss
Автор

Well done, and thanks for not dragging it out.

Andre_Beth
Автор

Incredible, I had no idea this was possible

BlueyMcPhluey
Автор

Very nice guide and at the speed it must be :D

evilmode
Автор

hey, my esp32 is connected to weight scale(weight scale like we see at market) okay and i want to said this weight data to a server . how to do this plzzzz help

devendrarathod
Автор

Could I use this to send pwm signals to a dimmable led driver and make a slider on the page? Sorry I'm new to esp 32 and not sure how much it's capable of.

SparQz
Автор

Thanks, great video and you code is amazing clear, reusable.

cani
Автор

I want to run a nodemcu with a servo. Is it possible to to have it connected to my wifi, and connect to it using my cell network?

woolfy
Автор

You have great content!!! May I ask Why you take so long time to upload?? Keep this channel live. This is a really good channel!!

fvgoya
Автор

Respected *Shawn Hymel* sir,
I am a student, and literally the way you have teached electricity and electromagnetism is infinite wonderful!❤️ You have given us knowledge in the best way which nobody has ever given to us!
In india, teachers don't teach us correctly, they just make. Us gulp the text written in the book.
I request you teacher Shawn hymel that please try to teach us more physics like that you did in past(electricity, electromagnetism)
I know making more such videos will take a lot of effort! But please try to help,
Hope you will reply sir🙏🙏🙏👍❤️😁

psd
Автор

wow it looks like easy i will try it thanks for your time ! :)

MrCamdere
Автор

short note for everybody doing this right now, you need an older version of arduino (1. smth) because in newer versions it doesnt show the arduino instalation folder

yrrlicht
Автор

Great tutorial! I'm getting a "Error mounting SPIFFS" in the Serial Monitor window. Any advice on what I may be doing wrong? (sketch compiles and uploads to the ESP32 just fine--all libraries installed)

inc