ESP32 Web Server - Async Micropython Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

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

    This is awesome... I was looking for this and here you are with a video just yesterday ;-)

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

      You're welcome! Btw I am interested in your opinion and ideas for future tutorials :) It only takes 42 seconds - if you could please answer these 4 questions, it'll be super helpful: bhaveshtk.survey.fm/micropython-check-in

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

    Very clear and concise, thanks!

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

    Amazing tutorial!! You deserve way more subscribers. Keep it up this quality and you definitely will :D

  • @wayne_taylor
    @wayne_taylor 8 หลายเดือนก่อน

    Thanks for this, I have subbed! Helped me figure out what I was trying to build!

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

    I'm having display problems. when requesting html from esp32, it has time to load, but there is no css. and on the microcontroller the entire folder with files html and css is unreadable after that. placement css in html is not considered. just a separate file.

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

      It is hard to say without looking at your code. Could you link your code (for e.g. your github project) so I can help you?

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

    what happened to the boot.py tutorial? great video also. Thanks a lot

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

    awesome!!

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

    in 7:20, I can't write code. The cursor does not show. why could it be? can you help me please? as you type the password, like password cursor

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

      Hi Ömer! You will not see a cursor when typing your password (for security). So just type in your password and press to log in first. After that it should say "WebREPL Connected" and you can type in your commands.
      If the above doesn't work at all, that is if you cannot type anything at all - it's most likely because you also have a connection to your ESP32 in the Thonny IDE. If you have a serial or WebREPL connection already active in Thonny, then you cannot have a separate one at the same time. So you may have to quit Thonny first, login to this WebREPL, then open Thonny again.
      That process is a bit frustrating though, so I created a short video showing how to use WebREPL inside Thonny itself so you don't have to deal with this :) You can learn that here: th-cam.com/video/zWJb6X_lOr8/w-d-xo.html
      Good luck! Let me know if you need anything else Ömer :)

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

      @@BhaveshKakwani thanks for everything. this is very good. ı follow you and I hope you will come to the best place

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

    Any particular reason to use webrepl to send files instead of doing that in Thonny?

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

      Just realized your ESP32 was not connected to your computer by a usb cable.

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

      @@yanhuiyuan5686 I also realized recently that Thonny has WebREPL support built-in. So maybe there's a way to do this within Thonny itself instead of opening a separate WebREPL window

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

    Bless you

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

    How to use ESP32 as a client and Windows desktop PC as a Web Server to control ESP32?

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

      Hi! Usually, a client does the control and the server is the thing being controlled. So if you want to control your ESP32, the *ESP32 should be the server* and your desktop PC should be the client.
      There are many ways to do this. In this video I show how to do it using the "Microdot" server on ESP32, and using a phone app as a client. If you'd rather use your desktop PC as the client, one way is to use the application called Postman (www.postman.com/downloads/)

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

      @@BhaveshKakwani Thanks.
      Actually I want to establish the communication between ESP32 and Apache webserver of AWS EC2 instance.

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

      @@explorerofinfinity722 Ah ok. This should still work, as long as your webserver knows the IP address of the ESP32, it can easily send HTTP commands to control it.
      For example if your code is in Python, you would use the "requests" module to accomplish this. In other languages there must be other equivalent modules

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

      @@BhaveshKakwani Thank you for your inputs.

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

    Fuckin love u bro

  • @АлександрВоробей-у1п
    @АлександрВоробей-у1п ปีที่แล้ว

    ErrorMemory on esp32 to import microdot (

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

      Hmm interesting. Which esp32 board are you using? And are you importing a lot of other libraries as well? It sounds like your board has run out of RAM, but I need more information to tell

    • @АлександрВоробей-у1п
      @АлександрВоробей-у1п ปีที่แล้ว +1

      @@BhaveshKakwani esp32 wroom 32d. I started using another server - micropython-aioweb

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

      @@АлександрВоробей-у1п Sounds good, hope that it works for you

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

    лайк и подписка однозначно!

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

    I am gonna be doing espNow and Lora . Also im in canada, hmu your location