ESP32 WebSocket Server

  Рет қаралды 57,503

Anas Kuzechie

Anas Kuzechie

Күн бұрын

Пікірлер: 65
@larsniklassonhede3798
@larsniklassonhede3798 12 күн бұрын
aha websocket is a protocol! The most explanatory thing I've seen in a long time.
@SerialWombat
@SerialWombat Жыл бұрын
Thanks so much for this sequence of videos. I started out looking for Ajax, but then came on your series and started watching them and ended up doing a websockets implementation on ESP8266 instead. You do a great job of stripping the lesson down to fundamentals for the technology under discussion. Your quick demo of debugging html and javascript together in VSCode was worth the watching all by itself.
@AnasKuzechie
@AnasKuzechie Жыл бұрын
Thanks for your feedback
@SamuelYount-n8l
@SamuelYount-n8l Жыл бұрын
I've got to say this might be the single most helpful video I've seen on this. Thank you for your help, sir!
@AnasKuzechie
@AnasKuzechie Жыл бұрын
Thank you
@wmoeller1000
@wmoeller1000 2 жыл бұрын
Thank you for sharing your technical videos! I have just started with the ESP32 device and need a far amount of guidance on using a web interface. The style of cleanly documenting your code and the well presented videos are superb! I look forward to the learning!
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks for your feedback
@mibrahim4245
@mibrahim4245 Жыл бұрын
EXTREMELY HELPFUL!! THANK YOU !
@AnasKuzechie
@AnasKuzechie Жыл бұрын
Thanks for your feedback
@reginaputz9326
@reginaputz9326 2 жыл бұрын
Very well explained! Thank you very much!
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks for your feedback
@Rob-id3zf
@Rob-id3zf 3 ай бұрын
excellent video! Thanks
@JJNaranjo
@JJNaranjo 2 жыл бұрын
Muchas gracias por este video. Hice el ejercicio completo, con los archivos existentes en los enlaces y todo me funcionó a la perfección. Thanks a lot.
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Gracias por sus comentarios
@aliens1192
@aliens1192 3 жыл бұрын
It was a really nice video! Hope to see more from you! Thanks! :)
@AnasKuzechie
@AnasKuzechie 3 жыл бұрын
Thanks for your feedback
@luisarzuaga1269
@luisarzuaga1269 5 ай бұрын
Tu eres una maquina
@JabastinS
@JabastinS 3 жыл бұрын
Great, the way you have explained.
@AnasKuzechie
@AnasKuzechie 3 жыл бұрын
Thanks for your feedback
@centrodoreforco-aulasderef7743
@centrodoreforco-aulasderef7743 2 жыл бұрын
AMAZING EXPLANATION!
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@davidmaillot2253
@davidmaillot2253 2 жыл бұрын
Woooo. Very good video. Thx.
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@rubialugattimoreira1978
@rubialugattimoreira1978 2 жыл бұрын
The best explanation ever
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thank you
@rubialugattimoreira1978
@rubialugattimoreira1978 2 жыл бұрын
@@AnasKuzechie excellent job! You an inspiration for makers. Would it be possible for you to do facial recognition code analysis on esp32-cam?
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
@@rubialugattimoreira1978 Thanks again for your kind comment. Well that's a big project, but hopefully find the time and material to implement it.
@bassjunias439
@bassjunias439 2 жыл бұрын
Thank you for this tutorial. I have a question what's your opinion is the best way to take information from server , it to use Ajax or WebSocket librairy?
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Hi. If latency is not an issue, I would suggest AJAX. Thanks for your feedback.
@HakkiOgrt
@HakkiOgrt 5 ай бұрын
thank you
@AnasKuzechie
@AnasKuzechie 5 ай бұрын
You’re welcome
@TheTomcys
@TheTomcys 7 ай бұрын
Hello, Can you provide an example of how to make that when one client clicks a button to turn on the LED status is sent to all connected clients
@kazialvi101
@kazialvi101 2 жыл бұрын
Very Helpful video
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thank you
@PhG1961
@PhG1961 2 жыл бұрын
Awesome !
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@tutorialoke3562
@tutorialoke3562 10 ай бұрын
Do you have a schematic drawing of the device installation diagram? , Thank you in advance
@tutorialoke3562
@tutorialoke3562 Жыл бұрын
tools used only, esp32 and led? do you have a picture schematic diagram? this project
@pauloisrael9425
@pauloisrael9425 3 жыл бұрын
Many thanks, it is very useful for me.
@thomasengelhardt7940
@thomasengelhardt7940 3 жыл бұрын
Very helpful video, thank you very much. Also very well presented. When I tried to compile, I got an error message that within WebSocketsClient.cpp:234:30, the class WiFiClientSecure has no member named 'setInsecure'. It turned out that the WebSockets 2.3.5 library required a newer esp32 core than I was using. It was compiling fine with esp32 core 1.0.6 (I used 1.0.4 before).
@joeyeargain9825
@joeyeargain9825 Жыл бұрын
This works great, can you show us how to edit this to use a static wi-fi IP?
@mihkuno
@mihkuno 2 жыл бұрын
I've been looking for a way to work with both websocket and the webserver... turns out I juz need to switch the ports :'
@RayneeshHaribhajan
@RayneeshHaribhajan 2 жыл бұрын
Ty
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@vitalyvistovsky8661
@vitalyvistovsky8661 Жыл бұрын
How to connect from command line using websocat?
@nomanashfaq9363
@nomanashfaq9363 3 жыл бұрын
i tried this code it only work when usb cable is connected when i remove it the web server do not work
@nomanashfaq9363
@nomanashfaq9363 3 жыл бұрын
sr i have to read readings from mpu9250 what alternations i have to made ?
@jaffarsadiqali1633
@jaffarsadiqali1633 9 ай бұрын
Awesome explanation line by line make any beginner enthusiastic to subscribe to learn more
@AnasKuzechie
@AnasKuzechie 9 ай бұрын
Thank you
@franklinnevesfilho
@franklinnevesfilho 3 жыл бұрын
I love the video, I'm having a bit of trouble getting the libraries used. can you share the link?
@AnasKuzechie
@AnasKuzechie 3 жыл бұрын
Thanks for your feedback. Links to libraries in the description.
@josecrisostomofuentes1691
@josecrisostomofuentes1691 2 жыл бұрын
Hello, really great video. I implemented your code and got a working a real time graph on my webpage. When I tried to expose my local network using Ngrok I found that I could only expose the webpage (on port 80), but the data to be plotted was not being received due to the fact that the whole websocket server is set on port 81. Is there a way get my webpage and the websocket protocol joined into a single port (80)? Or a way to expose both ports 80 & 81 to be able to receive the incoming data? Thanks a lot, your videos have taught me a lot.
@mibrahim4245
@mibrahim4245 Жыл бұрын
make sure that ngrok is running with the correct arguments; for example ngrok http 81 .. and more importantly, make sure that the firewall is not blocking traffic on port 81
@mohammedtaiyab9877
@mohammedtaiyab9877 3 жыл бұрын
Great explination. can we use this same for Acess point function
@drakkorvladimir4012
@drakkorvladimir4012 3 жыл бұрын
I want to do this over the internet but I am having trouble with a certificate....CA.
@sg8nj
@sg8nj 2 жыл бұрын
Great sir. Can we use this esp32 ip an outside network
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks for your feedback. No, the code is for local IP.
@alexrossouw7702
@alexrossouw7702 2 жыл бұрын
Zoom further into code please. I have a tiny screen.
@feihuang7007
@feihuang7007 2 жыл бұрын
GOOD
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@marcosgiovanni9682
@marcosgiovanni9682 2 жыл бұрын
Anas how do I adapt this code to the ethernet shield of arduino?
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Hi Marcos. I haven't applied websocket on the Arduino yet, I need to do some research first. However, I did manage to implement AJAX using the ethernet shield. You can watch my video: kzbin.info/www/bejne/hpauY5p3mdadl9U
@nomanashfaq9363
@nomanashfaq9363 3 жыл бұрын
kindly guide me
@SciHeartJourney
@SciHeartJourney Жыл бұрын
I'm so sick of seeing these examples that ALL use "WebServer.h" and "WiFi.h". We're wasting our time with these examples. Those libraries DO NOT EXIST anywhere! So frustrating. 😖 Nothing would make me happier than to be proven wrong with a simple link to them.
@AnasKuzechie
@AnasKuzechie Жыл бұрын
Thanks for your feedback. I normally write my own libraries. May be I’ll make one in the near future.
ESP32 Web Server using AJAX
8:03
Anas Kuzechie
Рет қаралды 21 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 4,6 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 33 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 21 МЛН
ESP32: Webserver, Websockets and JSON (WiFi Part 2) - Arduino
35:17
WEBSOCKETS WITH ESP32 - REAL TIME CONTROL
13:19
Jadsa Tech
Рет қаралды 27 М.
ESP32 Web page creating and updating
32:11
Kris Kasprzak
Рет қаралды 166 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 341 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,1 МЛН
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 210 М.
REST API (HTTP) vs Websockets - Concept Overview With Example
7:07
Be A Better Dev
Рет қаралды 263 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 4,6 МЛН