Connect Raspberry Pi Pico to Wi-Fi with ESP01

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • By the time you're done with this video you can make your Raspberry Pi, Wi-Fi capable. The only thing that you need is a ESP01 module.
    Here's the link to download the codes:
    github.com/Ami...
    semfionetworks...
    #coding #esp8266 #esp01 #microcontroller #micropython #raspberrypipico #programming #wifi #sensor #bme680 #monitoring

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

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

    For those who do not know, there is a 'raspberry pi pico w', which does wifi, works in micropython and also in circuitpython

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

      Yeah I mentioned at the beginning of the bud as well.

    • @OmarValenz
      @OmarValenz 9 หลายเดือนก่อน

      ​@@aminsedighfaryeah but, pi pico w costs 10 dollars, pico+esp01 costs about 3 dollars or less on ali express, very cheap really

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

    Nice video, i really liked your explanation

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

      Thanks for your comment 🙏🏻🙏🏻🙏🏻

  • @OmarValenz
    @OmarValenz 9 หลายเดือนก่อน +1

    good idea

  • @ianmcdonald2732
    @ianmcdonald2732 7 หลายเดือนก่อน

    Great stuff!
    Plus all your other scripts are really helpful.
    I have tried to adapt your script to let me use the pico + ESP01 with Mosquitto MQTT, but I failed!
    I can connect to wifi ok.
    I can get the webserver to work ok.
    I can get a pico w with a sensor attached to work with mqtt ok.
    What I want to do is basically make the pico + ESP01 work exactly the same as a pico w.
    What changes do I need to make to your script to achieve this?
    (My reason for using pico + ESP01 + sensor instead of pico w + sensor is that here in NZ a pico + ESP01 is less than half the cost of a pico w, which is trivial for 1 or 2 units, but starts to become significant with 10 or more,)

    • @aminsedighfar
      @aminsedighfar  7 หลายเดือนก่อน

      Hi Ian, thanks for your comment.
      I know! Prices of these stuff are unreasonable sometimes. For your question: I used the same system as you can see in the video for 3 months in my office as my room temperature sensor and it worked fine. The problem with this technique is that the whole thing is not gonna work fast enough, sometimes it’s frustrating.
      By the time I wanted to record this video, I tried my best to come up with the best script, so I’m not sure if this combination could be performed the similar as Pico W

  • @JorgeMR-nk1ql
    @JorgeMR-nk1ql 4 หลายเดือนก่อน

    Thank you for the explanation!
    I'm stuck with this error: AttributeError: 'module' object has no attribute 'WLAN'
    Done so much research but not getting anywhere, do you have an idea of what might be happening?
    Thank you!

    • @aminsedighfar
      @aminsedighfar  4 หลายเดือนก่อน

      Hey, what’s your microcontroller?

  • @sohrabil2
    @sohrabil2 3 หลายเดือนก่อน

    سلام سوالی داشتم در مورد اینکه در خطی از برنامه عدد 200 نوشته شده در اول فایل اچ تی ام ال و همچنین در قسمتی از کد جلوی CIPSEND= عدد 200 نوشته شده به چه معنی است؟

    • @aminsedighfar
      @aminsedighfar  3 หลายเดือนก่อน

      بله دو تا ۲۰۰ هستش اونی که برای Cipsend هستش درواقع یعنی ۲۰۰ بایت بفرسته، اون تو تابع write نوشته میشه و‌ میزان بایت ارسالی مشخص میکنه.
      دومی به اچ‌تی‌ام‌ال میبینی درواقع کد هستش به معنی اوکی. مثلا ۲۰۰ یعنی اوکی، ۴۰۴ یعنی پیدا نکردم و اطلاعات نرسید:

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

    Thanks for the video. I've tried both your video and someone else's, which was done with ThingSpeak. The thing is, I don't get any responses in the 'resp:' part; it's just blank. I tracked it, and in the try and except part within 'Wait_esp_rsp', it directly goes to the except part and prints (resp). And it just goes blank. What do you think the problem is? By the way, in the other guy's code, it gets stuck on the .decode and gives an error."

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

      Hey, I don’t know about the other guy’s video and code. Something that I guess could be the cause of the problem is your firmware version.
      Before everything make sure all the credentials ( wifi username and password), indentation in code and other typos are correct.

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

      @@aminsedighfar it doesnt even go there.As i say it gives no responses.I mentioned the other guys video cuz im gettin the same problem in both of urs videos.decoding part. I've tried with 3 different esp01's and gettin the same results everytime

  • @Kattoe
    @Kattoe 11 หลายเดือนก่อน

    The video is pretty clear, but i dont know how to actually use the code. I dont have that sensor. So can you maybe make a script that just gives me the ip and lets me put my own html code?

    • @aminsedighfar
      @aminsedighfar  11 หลายเดือนก่อน

      What if you only comment out parts related to the sensor and add a simple string such as “Hello World” in the display part

    • @Kattoe
      @Kattoe 11 หลายเดือนก่อน +1

      ​@@aminsedighfarill try

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

    Do i have to flash ESP8266-01 Module before using it? And can i send a notification on telegram with the wifi

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

      For the first question:
      I don’t think you need to flash ESP01 since I didn’t.
      For the second, it’s possible, but you should be more precise about what you want to do.

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

      @@aminsedighfar thx

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

      @@Mojit00 no problem, happy to help 🙂

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

      @@aminsedighfar i want to send a telegram notification from my pico as my pico doesn't have wifi im using esp 8266 01 module as a wifi to send to my bot which i have created on telegram. Im having lots of issues with the module just wanna ask is it even possible?

    • @OmarValenz
      @OmarValenz 9 หลายเดือนก่อน

      ​@@aminsedighfarif you have flashed in the past the esp01 to use it with the arduino ide, i think you have to flash it to return the original firmware that uses the AT comands