Wi-Fi on the Raspberry Pi Pico, ESP32 and Arduino in MicroPython (shorter version)

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ค. 2024
  • The Raspberry Pi Pico W, ESP32 and some Arduino boards come with an integrated Wi-Fi interface. Adding this feature to your MicroPython projects instantly opens your code up to a multitude of opportunities to access the Internet and communicate with other devices wirelessly.
    In this tutorial I'll show you how to set up the interface in both normal (station) mode as well as access point mode where the device creates its own, independent, network. We'll then look at how to build a web based front end control panel connected to your code.
    Make sure to check out the main project page at
    bytesnbits.co.uk/simple-micro...
    GitHub repository
    github.com/getis/pi-pico-w-si...
    Full version
    • WiFi Control Your Micr...
    0:00 introduction
    2:45 Creating a connection to a Wi-Fi network
    9:50 Creating a stand alone Wi-Fi network
    14:00 Pulling data from a web API
    20:45 Receiving web requests - running as a web server
    27:10 The structure of a GET request
    29:00 Serving a web page
    30:00 Decoding the GET request and controlling an LED

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

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

    Thank you for the straight forward example . Using her method.
    Looking forward to Rest_api version .

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

      Thanks. The video is all on the channel. Have Fun!

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

    The best walk through I have seen on using the pico wifi. Thanks for your excellent videos. Looking forward to your next instalment

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

      Thank you very much!

  • @Robert-dj9uw
    @Robert-dj9uw 11 หลายเดือนก่อน +2

    Black on white is much easier to see and read in bright environments. Please consider using that format for your screens in the next videos. Like the content.

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

      Thanks for your feedback.

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

    textfile **token**, great idea, and then **token1**, **token2** for image name, light bulb on image, light bulb off image,
    or just change background colour thru changing name of css file or html body bgcolor parameter...
    Iimage or coloured square.

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

      You can start to get really creative with this process. Keep an eye out for the next in this series where we'll build a full web API on the Pico. We can then start to do some proper dashboard and control coding without having to go through the page refresh stage.

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

    Shorter version?

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

      A bit shorter. I'm never sure if people can take the full long versions so I thought I'd try a quicker one to see if people prefer it.

    • @DesigninMind1
      @DesigninMind1 10 หลายเดือนก่อน +1

      Tbh long version sailed by as I absorb it all. Well at least I fully understood how simple this is. I was considering using QRCode and a mobile to get information from the pico project out. This is definitely preferd easier and two way . Will still be using QRCodd but for simpler links .

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

    i should get a Raspberry Pi Board

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

      Great. Give it a go!

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

    Blutooth is more important, implement it so I can connect earphones, keyboards and mice! The wifi on Pico isn't near as useful!

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

      You'd need to add an external BlueTooth module, or swap to a ESP32.

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

      @@BytesNBits The bluetooth module is already built into the Pico W. Theoredicaly software is all thats keeping it from being useful. I've seen some examples that almost work in the last few months. Thanks for responding.