Control an LED through Wi-Fi with a Raspberry Pi PICO W in less than 5 Minutes!

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

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

  • @gambtheshire2907
    @gambtheshire2907 11 ชั่วโมงที่ผ่านมา

    Hi, im late to the game on Pico W, but im getting into it finally :-). I have what is likely a really basic problem! I can get the LED to turn on but i cannot get the LED to turn back off, e.g. using "/light/off". I get an error on my browser and the Pico gets locked in a loop, and i can only reset by disconnecting and re-connecting. Do you have any idea what may be going wrong? I have used the code from the Raspberry manual and also compared with your video. Thank you for any advice you may be able to give.

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

    Thanks for this! I just got this working with my Pico W. I especially appreciate the download link for the code, so I didn't have to try and read it from the screen. I'm looking forward to more Pico stuff. thanks ---jb

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

      Thanks for stopping by and glad it works for you. I was debating to always include code or anything longer than a viewable page so viewers don't have to constantly go back/forward to a section of the video based on what I like as a viewer.
      Regarding content, I planned out a 3 month roadmap with weekly uploads on Thursdays so stay tuned!

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

    Great video

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

      Thank you!

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

    You are a wizard!

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

      Made my day ☺️

  • @zmarssojourner7435
    @zmarssojourner7435 6 หลายเดือนก่อน

    Can u do this project in AP mode? Ty

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 ปีที่แล้ว +1

    Thank You

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

      You're welcome :)

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

    Just subscribed.

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

      Thank you!

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

    It's coming up in a webroser ?

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

    Hey thanks for a video. It is very informative and actually almost exactly what I am trying to do. How do I turn LED with a button from another pico w over wifi? You are doing it from web browser, but I want to send a press from another pico w. Any help is appreciated thanks

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

    Do you have an idea what this error message means:
    OSError: [Errno 98] EADDRINUSE
    On your video, at position 2:33, there is a listening statement. But I cannot pass through that point, and get to that error above. Thank you for helping me to solve this problem.

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

      Yes, I seen that error a few times. Mostly when I make physical connects (knowingly and unknowing such as a loose wire while I'm prototyping)
      Step1: I usually just power the Pico down (unplug the power source such as the USB, in my case I have a switch on my USB cord),
      Step2: Wait a few seconds and repower it.
      Step3: Then once the power is back on, on Thonny, I would reselect the device on the bottom right "Micropython (Raspberry Pi Pico)" and rerun the script.
      Let me know if this helps.

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

      @@RamboPi Yes, it worked. Thank you very much., But I still need to learn a lot more from you.

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

      Good to hear! And yeah, I've been meaning to post more videos. I should have something up soon. Stay tuned!

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

    Hi!, I have a problem with the IP server, the PICO connects to the wifi correctly but when I want to enter the IP in my computer it says that it can´t connect with the page, I tried on another computer and on another browser. Thanks!

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

    Another quick comment: I first tried this using the onboard led at pin 25, then found out that the led is no longer at pin 25 on the Pico W.

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

      Instead of pin "25", put in "LED", it would look something like "led_onboard = Pin("LED", Pin.OUT)". Let me know if it works for you.

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

      @@RamboPi import machine
      led = machine.Pin("LED", machine.Pin.OUT)
      led.off()
      led.on()
      its moved to the wifi chip and no longer on the pi chips gpio so use the commands above

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

      @@pauldriscoll6319 Thank you!