Pi Pico W with the Arduino IDE | Using WiFi

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 132

  • @Dronebotworkshop
    @Dronebotworkshop  11 месяцев назад +4

    Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
    It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
    Thanks!
    Bill (The real one!)

  • @BerndSchmitt-Martinique
    @BerndSchmitt-Martinique 2 года назад +6

    Hi BILL - thank you for taking care of EARLE PHILHOWERS Software-Masterpiece - the Arduino -PICO-CORE- which is covering all the special functions of the PICO.
    In the old IDE 1.8.19 it is running reasonably stable , but in the new IDE 2..0 i often have upload-problems and the procedure is very slow.
    BUT there is good news : The PICO EARLE PHILHOWER-version is now ( since a few days ) running in VSC-PlatformIO without any problems and we have all the benefits of a
    modern Software-Developement-system in the Arduino environment.
    I hope, this will not be your last video on this magnificiant new board . One idea would be to cover the advanced PICO solutions of the tft_eSPI library of the " library artist" BODMER .
    Greetings from germany .

  • @tubeDude48
    @tubeDude48 2 года назад +4

    I bought a Pi Pico, and 3 days later the Pi Pico W came out!! *DAMN IT !!!!!*

  • @roynoi4662
    @roynoi4662 Год назад +2

    But the servo is only turning 90° at 40:49, or did I understand something wrong?

  • @biggertigger
    @biggertigger 2 года назад +2

    Great video. Good motivations for why you may want to use C and/or Arduino IDE:
    - familiarity
    - speed
    - mature 3rd party drivers and samples for legacy peripherals
    And I would add:
    - because I simply don't want to use Python in any environment ever (my reason? I don't need one)

  • @OcenaSoft
    @OcenaSoft 2 года назад

    Hi Bill, You say at 1.32 the other videos on the tubes did not leave you much to cover? This being said, your videos are so much more informative and explain in such detail, it leaves very little that needs to be answered. The 1st video I ever watched of yours was (in my mind) too boring... but, once I got through it, I was in awe and realized WHY there was so much information and even went back to start it again. You're one, if not in my mind, of the best tutors on the tube's Bill. I hope that we see more videos on the Pi Pico W

  • @domdon6667
    @domdon6667 8 месяцев назад

    Thanks for all your work in creating this video.
    FYI - In your LED Control code, the WiFiServer.available() function has now been depreciated and throws an error, until you replace it with the .accept() function. Hope this helps 😎
    Edit: This also affects the Web Servo Control code.

  • @johndevires5911
    @johndevires5911 2 года назад +1

    Very good video and information. 👍
    Here in the UK the Pico W sells for £9 including shipping and the ESP32 , £4.35 shipping included - from China.

  • @zhouyu9971
    @zhouyu9971 2 года назад

    thank you very much for the video. I got my pico blinking in 20 mins following the clear instruction. I still decide to go back to python, for it's real time REPL, which is much more user friendly for someone like me who knows very little about coding. I can actually type and run code like in terminals.
    I can understand c++ code may run faster and less resourceful than python. Until one day I may code a project really cooks the pico W with python, then I will be able to come back here and try to get used to the code-compile-upload-execute cycle.
    Great video!

  • @richardbrown2290
    @richardbrown2290 Год назад

    Thank you for this video.. I wanted to test the Raspberry Pi Pico and I did not want to set up another IDE to do it. This was great. Thanks again

  • @gordondyer6310
    @gordondyer6310 2 года назад +5

    Thank you for a beautifully clear and excellent tutorial. Now I can use my Pico w.

  • @gerardstrik2555
    @gerardstrik2555 2 года назад +2

    Again, a very nice video. I’m always enjoying your videos. Thanks Bill.

  • @johnstorm589
    @johnstorm589 2 года назад

    Your channel is my best discovery of 2022. Great work

  • @walterlippens6675
    @walterlippens6675 2 года назад +3

    Yet another outstanding video. Many thanks for sharing Bill 👍👍👍

  • @jimnoeth3040
    @jimnoeth3040 2 года назад +8

    The reason that I'm looking into the Pico over the ESP32 is analog to digital conversion (ADC). The ESP32 has a known inaccuracy in its adc where the value can be off by as much as 6%. Worse is that the error varies board by board, so compensating is virtually impossible. I've tested the Pico's adc and found it to be accurate within 1%. Fortunately, I only need 3 adc inputs, so the Pico should work just fine.

    • @requiem4adreamc
      @requiem4adreamc Год назад

      This is horrible news! I want to make a diy gamepad with 2 analog joysticks with esp32.

  • @BitwiseMobile
    @BitwiseMobile 2 года назад

    I got my first Pico after they released the SDK - in March of 2022. I didn't even look at Micro/CircuitPython :). I've recently been doing a lot of AI work with TensorFlow, so I'm more comfortable in Python. I recently gave CircuitPython a try and it wasn't half bad for non-time critical tasks. I'm still way more comfortable with C++ (20+ years experience vs about 2 years experience in Python).

  • @mikesearle7077
    @mikesearle7077 2 года назад +4

    Thank you once again for such excellent content, so professionally put together, comprehensive, articulate and right up to date.

  • @seattleitefpv
    @seattleitefpv Год назад

    Thanks for the tutorial! I am new to the pico (and Raspberry PI), but having extensive experience with Arduino microcontrollers this makes it easier for me to wrap my head around it. :)

  • @harrywhite7287
    @harrywhite7287 2 года назад

    Thanks!

  • @awesomegamer31
    @awesomegamer31 2 года назад

    Really enjoyed this. Look forward to seeing you use the Pico W in more videos.

  • @arshiajalali3622
    @arshiajalali3622 2 года назад

    I love your channel! Usually, whenever I have a new sensor, and I want to use it with an arduino, I head straight to you. In fact, I was doing so right now when I noticed you don't have any vids for RFID. Please make one, and keep up the amazing work!

  • @kieranhartnett2601
    @kieranhartnett2601 2 года назад

    Thanks for this video! I thought my Pico W might have been broken when I couldn't get blink working. I was unaware of the different pin for the onboard LED.

  • @CTCTraining1
    @CTCTraining1 2 года назад +4

    Very thorough video, many thx.
    What would be very useful would be a simple technique to help us avoid hard coding SSIDs and passwords into programs. Meanwhile please keep up the great work 😀👍

  • @MichaelTraderIRL
    @MichaelTraderIRL 2 года назад +2

    I've been waiting to get my hands on a Pico-W since they were announced. Both SparkFun and AdaFruit are regularly sold out. Where are folks finding this unicorn?

  • @home-lab
    @home-lab 2 года назад +3

    You make life on a starter on the Pi pico W really easy. Thanks again!

  • @usefulelectronics
    @usefulelectronics 2 года назад +4

    Nice tutorial!
    One more advantage of the RP Pico is that it has PIO with DMA which is a great feature:)
    Using the native Pico SDK would be even faster than Code generated by Arduino IDE :).
    I still prefer ESP32 family tho :d

  • @whitneydesignlabs8738
    @whitneydesignlabs8738 2 года назад

    Yay. Excited for this video. Love the Pico W. Thanks, Bill!

  • @it_world_by_faizan
    @it_world_by_faizan 8 месяцев назад

    Thank you for understanding the concept in-depth.

  • @cattips_
    @cattips_ 2 года назад

    A very good video, thanks! What is the best solution to power the Pico W from a battery? 18650 or AA batteries? How many volts should the battery have to last the longest? I will use a temperature sensor that draws very little current.

  • @omarruiz8843
    @omarruiz8843 2 года назад +3

    Thanks for your advice and excellent suggestions.

  • @leeg.1402
    @leeg.1402 2 года назад +1

    Another excellent video, as always. Thanks Bill.

  • @seanmcdonald656
    @seanmcdonald656 2 года назад

    Thank you for the great video. I love writing code in Arduino, so this is right up my alley

  • @Cptnbond
    @Cptnbond 2 года назад +1

    Hi Bill, a great episode, and add to the list of why not use python if you are a fan of Arduino IDE, and you may not be inclined to learn yet add another language, although it has its pros and cons, as you mentioned. One reason to buy (for professional use) the new Pico W versus the ESP32 is the source and version of ESPs are very fuzzy unless you stick with a trusted vendor like Expressif or Unexpected Maker. Cheers.

  • @azerterty1081
    @azerterty1081 2 года назад +1

    thank you very much for your excellent work. your videos are really very educational and allow those who are beginners as well as others to follow you well. thank you !

  • @Auxrad39
    @Auxrad39 Год назад

    Thank you for you great info, on how to run the Picow in the Arduino IDE

  • @tubeDude48
    @tubeDude48 2 года назад

    Bill, is there a reason you haven't upgraded to *1.8.19 ?*
    I noticed at 27:40 that the *time* when *pinging* is all over the place!

  • @inlywang8157
    @inlywang8157 2 года назад

    Bill, informative as always

  • @TaitumLaroque
    @TaitumLaroque 2 года назад

    will you be doing a video on the sparkfun RTK GPS modules and how to use them with arduino? it was mentioned in your GPS video that you would do a seperate video on that technology.

  • @Pepsiaddicto
    @Pepsiaddicto 2 года назад

    Most ESP boards I've used (D1 Mini and NodeMCU) only have 6 completely free and usable GPIO pins, with several others being usable with restrictions like being high or low at boot or being serial RX/TX pins also. This is far too few for many projects and I've found myself using an Arduino and sending wifi commands over serial to the ESP board so I can take advantage of more IO pins. I ordered the Pico W as it appears it has more free pins, more like an arduino with wifi.

  • @Furbysz
    @Furbysz 2 года назад +1

    Any chance to see NavSpark products mentioned? They seem to be good choice when one needs high acurracy GPS position for arduino, they have arduino nano like dev boards too.
    Unfortunetlly not many resources on those.

  • @bluegizmo1983
    @bluegizmo1983 2 года назад +6

    In my opinion, the ONLY reasons to choose a Pico W instead of an ESP32 are:
    1. The very minor price savings if you absolutely don't need any of the ESP32's better features.
    Or
    2. Your going to make use of the awesome PIO feature of the Pico and you need WiFi.

    • @stefflus08
      @stefflus08 4 месяца назад

      What's a PIO feature?

    • @bluegizmo1983
      @bluegizmo1983 4 месяца назад

      @stefflus08 Programmable I/O, or Programmable Input/Output. It's a feature the Pi Pico's have that other microcontrollers don't have. It is _sort of_ similar to a very small FPGA.

  • @ChaplainDaveSparks
    @ChaplainDaveSparks 7 месяцев назад

    It’s like the Pico W design folks looked at the ESP-32 and asked themselves, _”How can we make a board that does _*_HALF_*_ as much?”_

  • @zilog1
    @zilog1 2 года назад

    I love your long form videos. thank you so much

  • @bobsmithy3103
    @bobsmithy3103 Год назад

    If you have issues with uploading do this:
    tools > port > then select one of the ports

  • @PatrickConstant
    @PatrickConstant Год назад

    Greatings from France. I was interested by pico, specially for Wifi capabilities. I have programs for Arduino nano in C langage but now I can simply translate them for pico if I want to add Wifi capabilities. Thanks. I have subscribed to your channel.

  • @Richardj410
    @Richardj410 2 года назад

    Thank you for your concise information and teaching.

  • @cx3268
    @cx3268 2 года назад +2

    Have an ESP6266, checks if WiFi is available (if not deep sleep, hour), checks if MQTT broker is available (if not deep sleep, 15 minutes), reads sensor, send data to MQTT then deep sleeps for 15 minutes then repeat. BIG QUESTION: Can the PICO W consume less power than the ESP6266.
    Its on a battery and connected to a small solar panel. MQTT broker is a Rpi. Both the Rpi & WiFi are off at night when I sleep.

    • @johndevires5911
      @johndevires5911 2 года назад

      Is the ESP6266 a new model? I have only seen the ESP8266.

  • @spadgett0602
    @spadgett0602 2 года назад +1

    Thanks for the video! So given your comment that the board only seems to operate in station mode do you think that means WifiManager won't work? Haven't been able to get one yet so can't try it.

  • @myvin2887
    @myvin2887 2 года назад

    As usual, excellent content!
    As concerned to windows versions, they share same folder (Arduino15) so packs become available in both versions. Apparently, linux versions work in same way.

  • @jimadams7765
    @jimadams7765 2 года назад +1

    41:00 Looked more like 120 deg rather than 180 deg???? Maybe only 90 deg????

  • @saeedsobhani1981
    @saeedsobhani1981 11 месяцев назад

    Thanks for your amazing contents, I always thought building and programming a robot is an impossible task. ❤

  • @superbellum
    @superbellum 2 года назад

    Wish I had him as my electronics teacher at uni.

  • @wf2v
    @wf2v 2 года назад +1

    Excellent video! Thank you!

  • @sausage5849
    @sausage5849 Месяц назад

    Thank you, this was very handy!

  • @jemdeweare6432
    @jemdeweare6432 2 года назад +2

    So nice , thank you for the great video

  • @SteveH-TN
    @SteveH-TN 22 дня назад

    Thanks for sharing this video and information.

  • @bluefishactcl1464
    @bluefishactcl1464 2 года назад

    Great video to know the pico W

  • @michaelbyron9688
    @michaelbyron9688 2 года назад +1

    EXCELLENT VIDEO. THANK YOU!

  • @ronaldlogan3525
    @ronaldlogan3525 Год назад

    in your comparison between the pico w and ESP32 you might mention that the ESP32 allows for access point

  • @repsej74
    @repsej74 2 года назад

    Another great video. Keep up the good work 👍

  • @akshatamurdeshwar8867
    @akshatamurdeshwar8867 7 месяцев назад

    Hi Bill! thank you for your video. I am wondering if it is possible to reverse this communication, which means that when we press a physical button on the pico w, something is triggered in the website

  • @henkoegema6390
    @henkoegema6390 2 года назад +2

    Good video.

  • @ianjeffery3762
    @ianjeffery3762 2 года назад +1

    at last! thank you!

  • @ckjckj-to7cz
    @ckjckj-to7cz Год назад

    Hi
    I am very novice at this sort of thing, I do not know how you made the GUI for clicking the LED on & off, nor the GUI with the slider for changing the servo position
    Thank you Kelly

  • @hudsonator7259
    @hudsonator7259 Год назад

    Great video! Now that the Pico W has Bluetooth/BLE capabilities, could you make a video on using them?

  • @stevesopenrocket
    @stevesopenrocket 2 года назад +1

    Great Job!

  • @pratikaraut378
    @pratikaraut378 2 года назад +4

    Hey Bill ,absolutely love your videos. They are great for hobbyists like me, just dipping their toes in the water. Can you please make a video on using micropython with the ESP32 as the ESP32 does support micropython so it might be interesting to see it being used with micropython

  • @billmckillip1561
    @billmckillip1561 2 года назад +1

    Great video.

  • @shaknit
    @shaknit 2 года назад

    Hi do you have a video on how to decode and us an rf remote with arduino. Thanks

  • @MaxPlaysVideogames
    @MaxPlaysVideogames Год назад

    Is anyone going to talk about the flawless Photoshopped "Pi Cow" at 0:21?

  • @musicdad
    @musicdad 2 года назад

    I cannot send a message in the forums yet, So, Bill, Please, What program do you use to show your wiring diagrams? It is clean and I need to design some wire management. Thanks. Great videos

  • @VovelPunch
    @VovelPunch 2 года назад +1

    how about you try the waveshare 5g hat.

  • @ahk501
    @ahk501 2 года назад +1

    Can you make an over current,under current,under voltage protection using
    WCS hall effect sensor ,Voltage sensor (maybe ZMPT101B AC Single Phase voltage sensor ),
    5V Relay with I2C 128x64 OLED display (SSD 1306) ,Arduino Uno
    For AC loads (Pool pump in my case ) this kind of protection is really helpful.
    I hope that with some thinkering we can use the under current for motor dry run protection .
    I actually bought all the mentioned components but i can't get it to work . Obviously am a bit new to adruino .
    It would have been very helpful if you
    could make the same 😊

  • @tubenutzer0007
    @tubenutzer0007 Год назад

    In terms of content, I am looking for a way to store the access data for the WLAN securely, i.e. not in a separate file as plain text. As the RP2040 does not have a CryptoChip, the integration of an external chip such as the ATECC608A would be a possibility. But to be honest, that's a bit too much for me without help...

  • @alanb76
    @alanb76 2 года назад

    One problem with the ESP32 is the quality and consistency of boards varies all over the map, and the documentation is not the best. The Pi Pico has great documentation and the hardware is consistent.

    • @noweare1
      @noweare1 2 года назад

      I would think the boards made by espressif would all be high quality.

  • @Bilal-pd4cn
    @Bilal-pd4cn 2 года назад

    Hey, I am watching your videos for a while now. I was wondering if you could do a series of lessons for microPython.

  • @vg3460
    @vg3460 2 года назад

    Hi Bill, thanks for your video. Your videos are great. But something remains unclear to me. when I upload the program into pico, the microcontroller's USB is disabled and the serial monitor does not work. Please explain how you did to open the serial monitor?

  • @alanb76
    @alanb76 2 года назад

    "Standard USB has a minimum rated lifetime of 1,500 cycles of insertion and removal, the mini-USB receptacle increases this to 5,000 cycles, and the newer Micro-USB and USB-C receptacles are both designed for a minimum rated lifetime of 10,000 cycles of insertion and removal." from Wikipedia.

    • @tin2001
      @tin2001 Год назад

      Of course once the Chinese companies start making their own little tweaks to the designs, all those numbers are meaningless.

    • @tin2001
      @tin2001 Год назад

      Of course once the Chinese companies start making their own little tweaks to the designs, all those numbers are meaningless.

  • @john_hind
    @john_hind 2 года назад +1

    Useful information well presented. However the ESP32 comparison is a bit tendentious. The PicoW has four cores total, two M0 in the 2040 and the M3 and M4 in the CYW43439 as well as the unspecified amount of SRAM and ROM in the Wifi chip. Sure these are not available to run user code, but looked at that way, some of the resources of the ESP32 are used by the radio stacks and are so also not available to run user code. A power consumption comparison would be illuminating however and I suspect ESP32 has the edge there.

  • @mohamedgendia4274
    @mohamedgendia4274 2 года назад

    very nice work as usual keep the good work up .. i do need to know something if it possible how i can connect esp32 to my running web site ? i have website published and working and i do need to send some data from esp32 there but i could not setup client in the website to receive data from esp32 or send to it i tried to use mqtt but the problem is most of is the mqtt require ssl and i do not know to set that up

  • @miroslavdusek6889
    @miroslavdusek6889 2 года назад

    Excelent video - as ussual perfect job. Thank you very much

  • @chethanr7670
    @chethanr7670 2 года назад

    Can you make a video on how to use ATtiny

  • @jimcompton4587
    @jimcompton4587 2 года назад

    Bill,
    Thanks for a great video. With my pico w and arduino IDE 1.18.13, I have to reset the pico each time I upload. Any thoughts what I've got set wrong?

  • @bobvines00
    @bobvines00 2 года назад +1

    Bill, when you ran the "sweep" sketch initially, the servo moved ~90° instead of 180°. Was this because you hadn't (yet) tweaked the servo's "code" to make it actually sweep 180°? Thank you for sharing this information/video with us! ;)

    • @Jimwill01
      @Jimwill01 2 года назад +1

      Yea, I was kinda looking for a "map" to correct that.

  • @fritss7129
    @fritss7129 2 года назад

    Again a fabulous tutorial. Thanx. My router needs the mac adress from the picoW. Is there a way to find out this adress? SOLVED!

    • @desmond-hawkins
      @desmond-hawkins 2 года назад

      If you run MicroPython on your Pico W, you can try this:
      import ubinascii
      import network
      wlan_sta = network.WLAN(network.STA_IF)
      wlan_sta.active(True)
      wlan_mac = wlan_sta.config('mac')
      print(ubinascii.hexlify(wlan_mac).decode())
      It will give you something like "30aea47aa724", you can just add the colons every 2 hex letters if needed, changing it to "30:ae:a4:7a:a7:24".

    • @fritss7129
      @fritss7129 2 года назад

      @@desmond-hawkins Thanks for your help. My problem is allready solved. Upload the program from Bill and remember from the serial monitor the local IP address. Open on the windows machine, command prompt as administrator. Ping the local IP address. To check remove the PicoW and ping again the local IP. Now you get a error. Connect the PicoW again ping the local IP again to check if the connection is OK and type arp -a and the mac address apears.
      Sorry for my bad English, it's not my native

  • @iCatch
    @iCatch 2 года назад

    Thank you, I want to build commercial iot device with pico w. How could I let the none tech users configure pico (ideally via a mobile app) to connect to their own home Wi-Fi hotspot without changing and recompiling the software source codes?

  • @JulioSalim
    @JulioSalim 2 года назад

    The best of the best!!!

  • @solulogic
    @solulogic Год назад

    Can we use arduino librairy into the Pico, ex: timer1, keypad, i2clcd

  • @glenngutshall5507
    @glenngutshall5507 2 года назад

    Where do you find there for this mythical $6?

  • @林宜宏-m4e
    @林宜宏-m4e 2 года назад

    HI~ but how to setup it'self into an AP ?

  • @salon1025
    @salon1025 2 года назад

    Thanks! Well documented video!
    Do you know why when I ping both my ESP32 and Pi Pico w they reply at over 200 ping?

  • @mrsvvmrsvv7400
    @mrsvvmrsvv7400 Год назад

    If the WiFi connection is broken does it reconnect?

  • @Tathastu_Real_Estate
    @Tathastu_Real_Estate 2 года назад

    Can Arduino will help me for keeping rectifier output records in terms of online or offline means Electric Signals can be stored and display by using Arduino so we can monitor DC current and Voltage.

  • @candopi
    @candopi 2 года назад +1

    Thanks for another great tutorial! As with any insignificant pronunciation slippo, there's always some smartass to point it out. As I am working for that company, lemme do the honors this time: For "Infineon" (the producer of the Wifi chip on the Pico W) cut the "ity" from "Infinity" and add a "neon" - or listen to it named here: ruclips.net/video/rpV7hKh_JVc/видео.html
    And please take pride in the quality and thoroughness of your videos if folks have to go to such great length to find something to criticize ...

  • @AlexAVLA
    @AlexAVLA 2 года назад

    BTW I had "error: tls: bad record MAC" during plugin installation.
    I just closed the Arduino IDE then reopened it and made BOARD MANAGER -> INSTALL again,
    after the second attemps it was successful.

  • @6themaker
    @6themaker Год назад

    I cant find my com port is there something I Maby missed?

  • @W3D69
    @W3D69 Год назад

    Have you ever made a project with raspberry pico, stepper motor, and a4988 driver sir?
    If you have, I’ll be greatfull to watch it 😊🙏🏻 thank you, GOD Bless you and all of your family 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @MrBobWareham
    @MrBobWareham 2 года назад

    Shame they didn't fit an antenna socket on the board, that would have been good

  • @EsotericArctos
    @EsotericArctos 2 года назад

    A little disappointing that they are not enabling the Bluetooth when it is already on the chip. Still, an interesting board none the less. Maybe it was easier to get certification with the bluetooth disabled....
    It would be nice if they could move to WiFi 5 on some of these boards. More for power svings than speed, but I guess there is a cost to look at too.

  • @TheUnofficialMaker
    @TheUnofficialMaker 2 года назад

    how about a motion car alarm using P2P Lora?