Pi Pico W with the Arduino IDE | Using WiFi

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 130

  • @Dronebotworkshop
    @Dronebotworkshop  7 місяців тому +3

    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!)

  • @tubeDude48
    @tubeDude48 2 роки тому +4

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

  • @BerndSchmitt-Martinique
    @BerndSchmitt-Martinique 2 роки тому +5

    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 .

  • @biggertigger
    @biggertigger Рік тому +1

    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)

  • @jimnoeth3040
    @jimnoeth3040 2 роки тому +7

    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.

  • @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.

  • @domdon6667
    @domdon6667 5 місяців тому

    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.

  • @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

  • @gordondyer6310
    @gordondyer6310 2 роки тому +5

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

  • @home-lab
    @home-lab 2 роки тому +3

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

  • @zhouyu9971
    @zhouyu9971 Рік тому

    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!

  • @walterlippens6675
    @walterlippens6675 2 роки тому +3

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

  • @BitwiseMobile
    @BitwiseMobile Рік тому

    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).

  • @gerardstrik2555
    @gerardstrik2555 2 роки тому +2

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

  • @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?

  • @mikesearle7077
    @mikesearle7077 Рік тому +4

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

  • @johnstorm589
    @johnstorm589 2 роки тому

    Your channel is my best discovery of 2022. Great work

  • @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 😀👍

  • @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 Місяць тому

      What's a PIO feature?

    • @bluegizmo1983
      @bluegizmo1983 Місяць тому

      @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.

  • @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

  • @saeedsobhani1981
    @saeedsobhani1981 7 місяців тому

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

  • @omarruiz8843
    @omarruiz8843 2 роки тому +3

    Thanks for your advice and excellent suggestions.

  • @bobsmithy3103
    @bobsmithy3103 Рік тому

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

  • @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. :)

  • @kieranhartnett2601
    @kieranhartnett2601 Рік тому

    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.

  • @it_world_by_faizan
    @it_world_by_faizan 5 місяців тому

    Thank you for understanding the concept in-depth.

  • @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

  • @ChaplainDaveSparks
    @ChaplainDaveSparks 3 місяці тому

    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?”_

  • @whitneydesignlabs8738
    @whitneydesignlabs8738 2 роки тому

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

  • @awesomegamer31
    @awesomegamer31 2 роки тому

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

  • @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.

  • @leeg.1402
    @leeg.1402 2 роки тому +1

    Another excellent video, as always. Thanks Bill.

  • @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.

  • @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.

  • @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!

  • @seanmcdonald656
    @seanmcdonald656 2 роки тому

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

  • @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 !

  • @roynoi4662
    @roynoi4662 Рік тому +1

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

  • @Auxrad39
    @Auxrad39 Рік тому

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

  • @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.

  • @ronaldlogan3525
    @ronaldlogan3525 9 місяців тому

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

  • @VovelPunch
    @VovelPunch 2 роки тому +1

    how about you try the waveshare 5g hat.

  • @Richardj410
    @Richardj410 2 роки тому

    Thank you for your concise information and teaching.

  • @jemdeweare6432
    @jemdeweare6432 2 роки тому +2

    So nice , thank you for the great video

  • @zilog1
    @zilog1 2 роки тому

    I love your long form videos. thank you so much

  • @henkoegema6390
    @henkoegema6390 2 роки тому +2

    Good video.

  • @wf2v
    @wf2v 2 роки тому +1

    Excellent video! Thank you!

  • @michaelbyron9688
    @michaelbyron9688 2 роки тому +1

    EXCELLENT VIDEO. THANK YOU!

  • @superbellum
    @superbellum 2 роки тому

    Wish I had him as my electronics teacher at uni.

  • @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 😊

  • @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.

  • @tubenutzer0007
    @tubenutzer0007 10 місяців тому

    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...

  • @myvin2887
    @myvin2887 Рік тому

    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????

  • @bluefishactcl1464
    @bluefishactcl1464 2 роки тому

    Great video to know the pico W

  • @ianjeffery3762
    @ianjeffery3762 2 роки тому +1

    at last! thank you!

  • @AlexAVLA
    @AlexAVLA Рік тому

    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.

  • @hudsonator7259
    @hudsonator7259 11 місяців тому

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

  • @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.

  • @7alken
    @7alken 2 роки тому +1

    sad, unavailable

  • @repsej74
    @repsej74 Рік тому

    Another great video. Keep up the good work 👍

  • @cattips_
    @cattips_ Рік тому

    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.

  • @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

  • @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.

  • @akshatamurdeshwar8867
    @akshatamurdeshwar8867 4 місяці тому

    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

  • @billmckillip1561
    @billmckillip1561 2 роки тому +1

    Great video.

  • @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.

  • @captaindunsell8568
    @captaindunsell8568 Рік тому

    Interpretive languages like Basic and Python are good for prototyping but final code should be C

  • @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 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @stevesopenrocket
    @stevesopenrocket 2 роки тому +1

    Great Job!

  • @miroslavdusek6889
    @miroslavdusek6889 2 роки тому

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

  • @solulogic
    @solulogic Рік тому

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

  • @pratikaraut378
    @pratikaraut378 Рік тому +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

  • @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.

  • @iCatch
    @iCatch Рік тому

    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?

  • @shaknit
    @shaknit 2 роки тому

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

  • @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.

  • @mrsvvmrsvv7400
    @mrsvvmrsvv7400 Рік тому

    If the WiFi connection is broken does it reconnect?

  • @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.

  • @6themaker
    @6themaker Рік тому

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

  • @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.

  • @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.

  • @chethanr7670
    @chethanr7670 2 роки тому

    Can you make a video on how to use ATtiny

  • @vg3460
    @vg3460 Рік тому

    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?

  • @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.

  • @glenngutshall5507
    @glenngutshall5507 Рік тому

    Where do you find there for this mythical $6?

  • @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!

  • @BUNKERPT
    @BUNKERPT Рік тому

    - The RP2040 can work at 240MHz!
    - PICO exposes 27 GPIO... ESP32 has ONLY 25 usable GPIO since it uses 7 IOS for Flash Memory!
    - PICO has PIO! This is a big plus! For kids and curious people who don't really know how to program and just cut and paste pieces of "arduino" code, they don't even know what PIOs are...
    - PICO does not need a programmer! It has mass storage emulation, just copy the .elf file and that's it! And if we are programming in Python, we can run the program instantly from the editor/IDE without having to blink.

  • @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: ua-cam.com/video/rpV7hKh_JVc/v-deo.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 ...

  • @林宜宏-m4e
    @林宜宏-m4e 2 роки тому

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

  • @JulioSalim
    @JulioSalim 2 роки тому

    The best of the best!!!

  • @blueblood2188
    @blueblood2188 2 роки тому

    Good work but still have room for improvement as with jQuery the JavaScript could be tidy up much better.

  • @MrBobWareham
    @MrBobWareham 2 роки тому

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

  • @marinehm
    @marinehm Рік тому

    I finally got my hands on 1 of each. Pico, Pico-W. My PC does not recognize them when plugged into USB. So, I can’t I can’t do Arduino.IDE. Looking at my Raspberry Pi 3b……. HMmmmmm?

  • @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

  • @MaxPlaysVideogames
    @MaxPlaysVideogames Рік тому

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

  • @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?

  • @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?

  • @TheUnofficialMaker
    @TheUnofficialMaker 2 роки тому

    how about a motion car alarm using P2P Lora?

  • @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