Pi Pico W with the Arduino IDE | Using WiFi

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

КОМЕНТАРІ • 131

  • @Dronebotworkshop
    @Dronebotworkshop  10 місяців тому +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 !!!!!*

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

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

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

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

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

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

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

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

    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.

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

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

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

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

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

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

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

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

    Thank you for understanding the concept in-depth.

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

    Thanks for your advice and excellent suggestions.

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

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

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

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

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

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

    Yay. Excited for this video. Love the Pico W. Thanks, 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).

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

    Another excellent video, as always. Thanks Bill.

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

      What's a PIO feature?

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

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

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

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

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

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

    I love your long form videos. thank you so much

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

    Thank you for your concise information and teaching.

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

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

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

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

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

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

    Excellent video! Thank you!

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

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

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

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

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

    So nice , thank you for the great video

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

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

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

    EXCELLENT VIDEO. THANK YOU!

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

    Wish I had him as my electronics teacher at uni.

  • @sausage5849
    @sausage5849 4 дні тому

    Thank you, this was very handy!

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

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

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

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

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

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

    at last! thank you!

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

    Great video to know the pico W

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

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

    Another great video. Keep up the good work 👍

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

  • @ChaplainDaveSparks
    @ChaplainDaveSparks 6 місяців тому

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

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

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

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

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

    Good video.

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

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

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

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

    Great video.

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

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

  • @akshatamurdeshwar8867
    @akshatamurdeshwar8867 6 місяців тому

    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

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

    how about you try the waveshare 5g hat.

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

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

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

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

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

    The best of the best!!!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Can you make a video on how to use ATtiny

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

    Bill, informative as always

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

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

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

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

    Could it be that Bill has written a Dad joke algorithm?

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

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

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

    Where do you find there for this mythical $6?

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

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

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

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

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

    Could anybody recommend a few good shops in Canada if any to buy generic parts, boards, and such. Hoping to possible find a good all in one shop for less shipping costs. Thanks.

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

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

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

    If the WiFi connection is broken does it reconnect?