The new Raspberry Pi Pico W is just $6

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

КОМЕНТАРІ • 826

  • @Private-GtngxNMBKvYzXyPq
    @Private-GtngxNMBKvYzXyPq 2 роки тому +711

    To give you some idea of how valued you are by your viewers, I note that this edition was released before 4 AM and already has had 10K views an hour later. I think most of us feel your health and family come first, but glad you are feeling better. Thank you for all the great work.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +116

      Thank you, and yes they do! I had a lot more plans for this video-and was trying to wrap up work on another project by today, but I scrapped the latter project and had to cut back on this video substantially.
      Ah well, like you say, health+family first! I'm also considering taking a few weeks off in the coming months, to get some time for (book) writing, reading, and more relaxing!

    • @Private-GtngxNMBKvYzXyPq
      @Private-GtngxNMBKvYzXyPq 2 роки тому +32

      @@JeffGeerling you must put your own oxygen mask on first. If you don’t take care of yourself you will not be able to help anyone else. That includes respite breaks for rest and recuperation. Don’t deny yourself the care you would afford for others you care about. Respectfully suggested.

    • @BobHannent
      @BobHannent 2 роки тому +19

      There are other time zones in the world, it's almost 11am here and I've been up four hours.

    • @Private-GtngxNMBKvYzXyPq
      @Private-GtngxNMBKvYzXyPq 2 роки тому +6

      @@BobHannent That was basically my point, that there are that many people, no matter what time or time zone, who eagerly and gladly choose to view his content immediately upon it being available. Sorry if I wasn’t clear about that. No slight against any particular time zone was intended. Of course the much more important point is that I believe we all want Jeff to be well and we will gladly wait knowing that he is taking care of his needs as he should. Respectfully submitted.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +10

      @@frederikkunze7209 Haha I knew someone would mention that. I'm actually planning on a few weeks off in October and will try to finish up the first entire draft of that book then!

  • @xXfzmusicXx
    @xXfzmusicXx 2 роки тому +22

    A really don't get why this doesn't have USB-C

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

      Aliexpress and amazon dev boards have usbc

    • @xXfzmusicXx
      @xXfzmusicXx Місяць тому +2

      @@abhijeet_ghosh Not 2 years ago, and still doesn't make sense why they don't just use USB-C. The size difference is minimal

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

      It's as simple as cost. The C port is more expensive and harder to place on a PCB

  • @Hornet135
    @Hornet135 2 роки тому +207

    Will it actually be available or just unobtainium like most Pi stuff has been for the last couple of years?
    Update: Received a Pico W in the mail that I ordered last week, and I paid the standard price for it. Availability for this release much better it seems.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +71

      That's a good question. I guarantee it'll be hard to get for a few weeks, maybe months, but Raspberry Pi has had abundant supply of the components they're using here, so I wouldn't be surprised if it's well-stocked (in comparison to their SBC models).

    • @SnakebitSTI
      @SnakebitSTI 2 роки тому +16

      Picos and RP2040s were only hard to get around launch.

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

      I’ve just gone to my local pi reseller and ordered one without any problem.

    • @SprocketN
      @SprocketN 2 роки тому +8

      In the UK the main suppliers are limiting to one per customer 🙁

    • @metatechnologist
      @metatechnologist 2 роки тому +28

      A $6 Pi that costs $30 if/when you can get it!!

  • @dany08011
    @dany08011 2 роки тому +57

    You're one of my favorite youtubers, you're a source of inspiration and unlike most tech youtubers you not only promote Foss and open hardware but actually contribute to the movement. Since I study electronic engineering and I'm a Linux enthusiast I find your videos simply perfect. Keep up the good work and thanks!

  • @ScibbieGames
    @ScibbieGames 2 роки тому +84

    RPi always amazes me, the RPi needed the GPU in the bootloader for booting the Pi.
    The Pico W controls the status LED through the WiFi chip. Whatever limitations, they sure are creative solving them lol

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

      There's actually a few of these chips that have Wi-Fi on board that do that

    • @gg-gn3re
      @gg-gn3re 2 роки тому +3

      pretty standard to do these things.

    • @thewhitefalcon8539
      @thewhitefalcon8539 2 роки тому +10

      This sort of stuff is actually quite normal for these types of systems. The wifi chip has extra GPIOs on it so why not? And many systems boot from a custom system -specific chip when one exists

    • @sundhaug92
      @sundhaug92 2 роки тому +8

      I mean historically PCs had the number of address bits be controlled by the keyboard controller

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

      @@sundhaug92 Not only historically, but currently. The A20 line is alive and well.

  • @truenetgmx
    @truenetgmx 2 роки тому +9

    What about bluetooth? It is integrated in wifi chip but not supported? :(
    Ha, found it:
    "Eagle-eyed readers of datasheets will notice that CYW43439 supports both Bluetooth Classic and Bluetooth Low-Energy: we have not enabled Bluetooth on Pico W at launch, but may do so in the future."

  • @timsarai
    @timsarai 2 роки тому +107

    They need to ramp up production on Zero 2 W, could potentially offset increased supply costs at the minute by increasing the price by $10 to the customer. It’s still preferable to the current climate.

    • @HighfireX
      @HighfireX 2 роки тому +27

      Zero 2 W fulfills a bigger niche with it being a cheap linux board that can do things more than microcontroller. I agree there should be more stock for this.

    • @evanbarnes9984
      @evanbarnes9984 2 роки тому +10

      Dude seriously! I've been trying to get a Zero 2 W for 6 months

    • @admadea
      @admadea 2 роки тому +16

      Don't even bother. It seems they only care about supplying businesses with Pi's, and don't actually care about the hobbyist community they've built up to popularize said hardware. Otherwise they would at least have SOME product in stock, and wouldn't be releasing yet more new products that won't even be in stock for hobbyists to purchase.

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

      @@admadea what new hardware? there hasn't been a new revision of the original rpi since 2020

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

      @@gammakay521 you know what I mean. The new revisions of the Zero, and now the Pico.

  • @justanotherviewer4821
    @justanotherviewer4821 2 роки тому +22

    Great to see the upgrade but I am still team ESP... although when availability increases, I might get a few Pico Ws to try. Hopefully they will enable bluetooth by then!

  • @HululusLabs
    @HululusLabs 2 роки тому +15

    Hope they enable Bluetooth soon, as the chip on board is capable

  • @GareWorks
    @GareWorks 2 роки тому +30

    Can't say I'm surprised. This was my guess for the next Raspberry Pi, and it seems I was right. Though I think it was pretty obvious that this was coming.
    Still, it's cool. I've got a few Pi Picos. Guess I'll have to buy at least a few of these too. RIP wallet. Worth it though, even if I'm just amassing a Pi collection that's not being utilised fully right now.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +21

      Maybe we could find a way to tie all the M0 cores together to build like a 16-core 133 MHz-per-core cluster of Picos :D

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

      The Pico and Pico W came of the designers board at the same time. There was no good reason not to launch them both at the same time.... ohh wait, yes there was... Proffit... Why give people an informed choice, when you can get them to buy twice... I'm really not liking the behaviours coming from Cambridge recently...

    • @noobling8313
      @noobling8313 2 роки тому +6

      @@dougle03 Or maybe the complexity of actually launching multiple products as opposed just designing them has something to do with it. The foundation has almost always staggered releases of their products, too, so that’s nothing new.

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

      @@noobling8313 Guess we both could be right. although RPi Trading (The commercial arm of Raspberry, and also led by Eben), is becoming more commercially astute these days, so who knows...

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

      @@dougle03 Had RPi decided to release both together, that would have meant a significant delay in the release of the original Pico. There is a LOT of work going from a schematic to shipping product, and that takes time. The time from the Pico to Pico W was ~18 months. Compare that to the Zero W, which was released 15 months after the original Zero. Pandemic policies can easily account for the extra three months.

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

    Even $3 for an esp is high. I paid just under $2/ea for 5 ESP's on Amazon. Yea, you can't get single ESP, but that's because they're already so cheap shipping doesn't make sense for single-unit counts. I wired an esp32 to the PCB from a smashed garage door opener to control mine, with a Zigbee door module to detect if it's open or not.

  • @LucaDev_
    @LucaDev_ 2 роки тому +38

    The ESP32-H2 is IMHO the most interesting microcontroller for home autmation to this date due to it's bluetooth, wifi and most importantly zigbee and thread connectivity

    • @LucaDev_
      @LucaDev_ 2 роки тому +11

      @@Batwam0 Well... the Pico W has integrated wifi. That's what this video is all about after all. And that's great but still imho not the connectivity standard that should be used for (small bandwidth) home automation devices.

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

      Sorry to tell you, but the ESP32-H2 doesn't have WiFi

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

      ESP8266 is my favourite. NodeMCU specifically.

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

      This is actually very helpful, thanks for the reference

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

      I’m waiting for that one to drop too

  • @excitedbox5705
    @excitedbox5705 2 роки тому +79

    The ESP32 has a hall sensor built in so you could use just a magnet to build a garage door sensor. I paid 4.50 for my ESP32 so that is not only cheaper but also eliminates the $20 door sensor.

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

      $20 avoids possible weather, vibration, and power issues door placement adds to use the built in sensor.

  • @JobStoit
    @JobStoit 2 роки тому +32

    Sounds exciting to be able to make a mesh network with them. Like I'm invisioning a garden that just has a few sensors like soil humidity, (sun)light and temperature that you could monitor by having many of them mesh up pinging the stats to one another and eventually back to you.

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

      Have you heard of “Farm Data Relay System”? LoRa, Wifi, ESPNow?
      ua-cam.com/video/6JI5wZABWmA/v-deo.html

    • @k1zmt
      @k1zmt 2 роки тому +6

      It is better to use Nordic controllers for this type of application. They are on a next level by power efficiency compared to RPi/ESP32. If you want to go industrial grade - there is SmartMesh from Analog Devices.

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

      @@k1zmt There is no "next level" in power efficiency. If you can write efficient firmware then your hardware is efficient. All up to how software developer is good. It is not about the hardware.

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

      @@D9ID9I you... you can't break through the efficiency floor with firmwear. If Nordics are built to be more efficient, they are. It's really simple.

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

      @@xenn4985 you can't really break own ignorance that simple. That's what I see. Because for example esp32 is created for ultra low power scenarios exactly. And only bad software or poor final product board design can make it work in power inefficient way.

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

    cd is no joke. be well

  • @AudreyRobinel
    @AudreyRobinel 2 роки тому +11

    very nice!
    With this new board, the pico have replaced both arduino AND esps for teaching/school stuff.
    Esp32s still have lots of unique uses and capabilities, but for many projects, this will be perfect!

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

    Looking forward to the follow up.. really enjoy all your content, it makes me want to be a better tech guy =P Glad you’re feeling better.

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

    Such a good overview! This project inspired me to create a Pico W garage door controller. You can see the project here: ua-cam.com/video/bIBQKl_Sots/v-deo.html

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

      Nice! Going even further with it!

  • @ktteol
    @ktteol 2 роки тому +11

    Good review, great job! In my opinion the only reason to use this board is curiosity, the ESP32 beats up this board from price to performance, is cheaper, ridiculously available in every shape or form you need. No advantage on using this on anything honestly…

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

      From a hardware POV I agree, but then the pi's strongest suit was never it's hardware. It's good because it's ubiquitous, so every open-source project targets the pi for testing.
      If the pico/RP2040 turns out to be half as popular as the Pi, then the number/quality of libraries and projects for the RP2040 could quickly surpass the ESPx family.

    • @jay-1299
      @jay-1299 2 роки тому

      Is there data about power consumption yet? The pi pico w vs esp32

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

      @@jay-1299 I’m curious, when does power consumption becomes an issue in raspberry pi applications?

    • @jay-1299
      @jay-1299 2 роки тому

      @@chrisreynolds6391 the pico is meant to be a microcontroller so it will be used in a lot of end devices in which case power consumption will be as important as on devices like arduino esp etc

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

      @@jay-1299Honestly for $10 I’d just try it out. It better fucking work! If this tiny piece of shit needs more than 2.5watts to function I’d just throw it away.

  • @loldude0
    @loldude0 2 роки тому +6

    Perfect timing! I was just about to sleep. Time to unwind and relax with this video.

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

    It's hard to compete with the ESP32, it's just as cheap, available, more powerful, more memory, more features. It would've been nice if the new Pi Pico had some standout features like e.g. superior ADC with higher resolution and precision or maybe an added high sample rate ADC or a high resolution DAC etc. As it is right now the ADC in something like a PIC24 is far superior to what is in the Pi Pico and the ESP32.

  • @gspeed0689
    @gspeed0689 2 роки тому +6

    I see on the website that it doesn't have Bluetooth support yet but will in the future, this would make an easy and cheap DIY iBeacon for indoor positioning

    • @JeffGeerling
      @JeffGeerling  2 роки тому +8

      Yes; a lot of us in testing asked about Bluetooth. It seems like it should be able to work via firmware update at some point.

    • @jan.tichavsky
      @jan.tichavsky 2 роки тому

      @@JeffGeerling Frequency is the same so it should work.

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

      @@JeffGeerling It seems the UART for Bluetooth HCI is not connected, so it might not be possible. I don't know this wireless chip, so it may be possible to use the SPI interface for both. This is not so common though.

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

    I was wondering if you could program it to send an email or text whenever the state changes? I'd imagine it's possible, but idk if the pico w has ability to do it.

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

    Cool project! Its funny that at 1:05 you mention spending $20 on a garage door magnetic sensor, but for $3 they make crap rpi imaging cameras that could be used to snap a picture, analyze the video and tell you… “is there a car in the garage?” “Is it half open” “is it daytime” “are the lights on” etc…. But of course everyone takes a different approach, and the PicoW looks awesome!

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

    Linus probably had a $4,000 GPU attached to his...

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

    GPIO pull up has deeper use. When a GPIO pin is exposed, electromagnetic radiation induces random voltages on the GPIO. This causes the comparator circuitry within the GPIO pheripheral in the MCU to misread the specific IO to have changed state. When the GPIO is pulled up or down, these arbitrary changes in GPIO state due to electromagnetic radiation is less likely to occur. Resulting in stable sensing.

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

      I can't believe most of these hobbyists miss that out. It's just basics, wtf

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

    JTAAAAAAAG! :)

  • @BastetFurry
    @BastetFurry 2 роки тому +6

    0:21, that table is wrong, in the end you only have 328k on the ESP, the rest is instruction RAM. Which the RP2040 has separately by the way, so the advertised 264k are all yours.
    Another thing, on the RP you can, if you really want, do a malloc(256*1024) and it will simply work. Not so on the ESP32.

    • @jan.tichavsky
      @jan.tichavsky 2 роки тому

      Why it won't work on ESP32?

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

      Memory fragmentation, for instance...
      Heap/32-bit Memory Available: 139756 bytes total, 82808 bytes largest free block
      8-bit/DMA Memory Available : 56804 bytes total, 43520 bytes largest free block

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

      you can shell out a few bucks more for an ESP family WROVER instead of a WROOM if you want more RAM (8MB!).

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

    Try always to use an external pullup resistor for deployment, a value between 1k and 10k should be ok. Internal pullups are usually really weak (around 50k/80k in the rp2040) and you can have problems, specially if you install the micro near mains wiring, electric motors or other sources of electromagnetic intereferences.

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

    Will it actually be available or just unobtainium like most Pi stuff has been for the last couple of years?

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

    $2 for Wi-Fi 🤓😎

  • @AzarelHoward
    @AzarelHoward 2 роки тому +6

    You mustn't have been paying attention. Linus didn't hook up his garage door to google. He used off the shelf components that worked with home assistant. I believe he did in turn connect home assistant to google but... That's another conversation. The core of the system was the same as yours just... Not as diytastic.

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

      If you're able to say something to Google Assistant, and then that can affect the garage door, that is 'connected to google'. I know he's using Home Assistant-I just think he should not link it up to Google :)

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

    As someone suffering from UC I can definitely feel your suffering. I pray it wasn't anything serious.

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

      So far it seems like the primary issue isn't too serious. Still working with docs to see if there are other causes for concern. Always have to be vigilant with UC/Crohn's!

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

      What's a UC ?

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

      @@JeffGeerling is chrons like IBS ?

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

      @@UNcommonSenseAUS It has some similarities in symptoms (sometimes), but the big difference is IBD is a disease and thus can't always be managed through the same ways IBS can.

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

      @@UNcommonSenseAUS IBS is not fun. Back in the early 1990s during my late teens Docs didn't have a name for what I was going through. They x-ray video me and I was able to see my digestive tract in real time. Pretty cool to see. Lucky it wasn't life threatening but annoying when it happens.

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

    This is gonna be awesome for the recently released picoboot mod for the GameCube. Basically the pico can be wired in to boot homebrew easily on the system. With this you could even have it update the firmware automatically.

  • @MeTube3
    @MeTube3 2 роки тому +6

    RP2040 with WiFi was already available for months as other manufacturers used the component. I have Invector Challenger, but I’ve ordered one of these Raspberry ones as I suspect it will get more community backing longer term.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +10

      Yeah; that's the main thing-since it's the 'official' wifi model, I'm guessing more 3rd party software will incorporate support by default, whereas you might have to do extra work for other wifi-enabled boards like that Wio and RP2040 Connect.

    • @jan.tichavsky
      @jan.tichavsky 2 роки тому +1

      I doubt you can get other RP2040 board with WiFi for $6.

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

    Ref Pi4's being in stock. Industry buyers are having no problems getting them.... Retail, not so much since Raspberry Pi Trading is giving priority stock to industrial buyers over the very people that made the Raspberry Pi the success it is.
    Sure, you can get grossly overpriced 'Pi bundles' from the official retailers, so clearly there is stock around, just not as bare boards. They just don't seem to want to sell you the Pi on it's own.
    There is only one explanation; profittering.... Not exactly what the community bought into, the same community that makes the Pi so attractive to industrial buyers.
    Raspberry would do well to remember who made them popular.... That support can disappear just as quickly as it came...

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

      I have wondered the same. It seems as if RPi is forgetting that the original intent was to help people learn computing with a cheap computer. Can't fulfill that ethos if the average Joe can't get hold of one for a reasonable price. I've been waiting for months to get a Zero2(W) but as soon as anyone has them they are gone and I refuse to pay scalper prices. There are now 3rd party projects I'd love to support but they require a Pi to run so I am not buying other maker projects because I can't get the thing that makes them run.

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

      To bad it wont ever

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

    I have designed projects using raspberry pi, but this paired down pi seems to be inferior to The ESP32 wroom. At the moment, this pie cost eight dollars on Amazon while the ESP 32 cost about $3.50 and has built-in Wi-Fi.

  • @-someone-.
    @-someone-. 2 роки тому +2

    God bless. Hope you’re feeling better🙏👊

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

    Just to clarify the LTT video. He did use local home assistant for the garage control and the cloud just for the voice assistant.

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

    Other than "hacking" is there ANYTHING practical made with a Raspberry Pi that looks professional and well-designed?

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

    Over the years I've found HEAT is usually the biggest culprit with WiFi issues, especially with home WiFi routers that get heavy use and stay on 24/7 until they finally "puke" and need to reboot. I solved that by adding a cooling fan, as well as putting the router on a light timer so it would cool down for an hour once or twice a week. Might try adding a heatsink to the WiFi chip for better stability, like the little ones used on a Pi 3 or 4...

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

    still don't see the advantage over the esp32, but is nice that espressif is getting some competition

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

    Thony is the most underdeveloped peace of code. my teatcher made me use this (I hated it) and it's the least practical development environment.

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

    I was wondering what the shirt said. thanks. 👍

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

    Pico MCU supply availability has been one of the very few rocks to hold onto in these stormy times. Kudos to the Pi Foundation for pulling that one off.
    Regarding your illness, keep up the good fight and kick that thing back to the curb where it belongs.
    Cheers,

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

    Jeff: This Raspberry Pi Pico W is just $6!
    _*Shows screenshot showing $3.99_

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

      lol had to get a screenshot before it launched!

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

      that was the pico without the W 😁🙃

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

    We _need_ RISC-V microcontrollers, the ESP32-C3 is the only one so far that's actually usable

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

    A whole computer just to check the status of your garage door? At least have it pass the butter.. 😉

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

    Had a good laugh over JTAAAAAAAG

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

    Given that a Garage Door sensor potentially has personal safety implications, I would be much happier if this was a three wire sensor, with both NO (Normally open) contacts and NC (Normally closed) contacts. In normal operation you should only ever see either the NO or the NC contact active, never both or neither, except for the very brief switch over. If those states persist, that would indicate that either cable had been cut (no contacts active) or shorted (both contacts).

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

      Excellent idea!

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

      It's the standard way of designing safety critical sensors. Imagine an Emergency Stop button. You never want an e-stop to not work, so it's better to fail safe (assumed to be in an e-stop condition unless there is a positive confirmation that you're not) than have someone hit the e-stop and teh system not be shut down. That's why unplugging an e-stop usually disables a system, just as unplugging an end of travel sensor for a garage door should fail too.

  • @GodmanchesterGoblin
    @GodmanchesterGoblin 2 роки тому +10

    Too early to say, I guess, but I wonder what level resource in terms CPU overhead is taken in supporting the WiFi functionality - it's connected via SPI according to the specs. The BT functionality will be interesting to explore when it's supported. The Infineon CYW43439 which is used also supports BT LE apparently - that may open up some interesting lower power applications.

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

      Yeah I hoped it would support BLE at launch hut it doesn’t :(

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

    No Jeff, magic smoke is bad! Very, very bad!

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

    I would just have make a REST call to an actual web server. A heartbeat every 30s or so, and then another whenever the state changes. Then you can have all your devices do the same and you can see the status of all your stuff on one page :)
    Cool project!

  • @AlexSouthwell
    @AlexSouthwell 2 роки тому +14

    Very keen to see if there are benefits of using the Pico W over the esp32 for esphome stuff.

    • @JeffGeerling
      @JeffGeerling  2 роки тому +8

      My hope is the wireless will be a little more stable, but that will take a bit of time to determine. Otherwise most capabilities for ESPHome-style things are practically the same (I'll still be using both for the time being).

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

      I’ve been using three ESP32 boards to control my outside lights and monitor temperatures. They are a bit ‘flaky’, I count their ‘offline moments’ they can drop the WiFi several times a day, but do reconnect; after much messing with my program to get them to reconnect gracefully. I’m hoping the Pico W will be more stable. There’s no point in automation if you can’t actually control it!

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

      @@JeffGeerling Is there any advantage because of the Pico's PIO over the ESP not having it?

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

    the esp boards or who have built in wifi are more expensive than the pico w in by country

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

    I love your Videos. Every morning, at least for me it is morning, I'm watching your videos and if there is a new raspberry pi product, I go to my online seller and they will have it in stock so I can order it. This is how I was able to get a pi zero 2 w and I've ordered a few pi picos and now a pi pico w. Which is great because this is exactly what I needed for a project of mine where I need more pins than an ESP can spare.
    Can't wait for it to get shiped.

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

    Your odds of ever getting one for $6: approximately zero

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

    Is that the '94 annular eclipse?

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

    Out of curiosity, where could I get an ESP32-C3 for the $3-8 dollar price range? It looked like you had referenced the Adafruit ESP32-C3, which I thought was around $11+
    Thanks!

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

      Yeah I noticed that too. I don't know of any esp32s in that price range right now. Pre pandemic and chip shortage you could get them in that range, but not anymore as far as I'm aware

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

    Ooh thanks for the heads up. Just picked one up to make... er... some kind of sensor that I don't actually need I guess. 🙂

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

    I'm glad some one mentioned how stupid hooking your garage door to the cloud is

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

    0:42 I believe that his garage door only communicates with his internal homeassistanat and not google directly. The google commands are handled as an interaction to homeassisstant.

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

      Ah, well still, a couple steps removed, but I try to avoid any chance of audio from my house reaching Google's servers.
      Sometimes I use Siri, but I don't trust Apple too much either (though more than Google), and I have 'hey siri' turned off on all our phones.

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

    Pretty cool though I find the trend of using things like Python really weird. I mean you're taking a WAY more powerful MCU and turning it in to the equivalent of a Arduino Uno by loading it down with bloat. Such as all modern tech I guess. Sad :(

    • @jan.tichavsky
      @jan.tichavsky 2 роки тому +1

      Depends on what you want to do. If you want fast prototyping, millisecond accurate timing is good enough, collecting sensor data plus some display, it's more than capable. In the last two days I made myself board with GPS, OLED, and 5 more sensor modules. The main file has just 270 lines, it imports two smaller libraries and it's done and ready for the outdoors.
      You know what is sad? I wanted to try using C but I got stuck installing all the toolchains, setting up tools, environment variables, cmake, editor, in the end I can't get it to compile anything in Windows. I'd be happy to use all the chips features which are not implemented in Python but the entry for that is quite difficult for now. If I can get it done in Python in the same time it takes me just to attempt to have working IDE then the choice is pretty obvious.

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

    pico just was used for a gamecube modchip. so cool!

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

    For a project like this one, and also most other similar tasks, especially something integrated with a front end home automation system, Tasmota flashed onto an ESP32 or an ESP82 beats this RPI in shear practical DIY application. The Tasmota system literally provides everything you need. The sensor interface code (complete with debounce capability) exists, the wifi communication code exists, the mqtt code exists, a web ui exists, the backup/configuration code exists, the over the air firmware updating exists, an at-the-device rules programming system exists, timezone and geographic location coordinates system exists, a scheduled timers system exists, a persistence system exists and so on. It is quite mature, up to version 12 as of this time. There is even a PlatformIO system setup for custom programming. Everything, including the kitchen sink, is there, plus a large support community. As commented by someone else, there are no issues with wifi connectivity. You can be sure every ESP users' ears perked up regarding that wifi connection comment. We all can understand how everything looks like a nail to a hammer. I go to the same Micro Center store as you do Jeff. As you know, the RPI part of that store always looks like Micro Center cannot decide if they want to continue having that store aspect or not.

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

      Agree. I like RPi stuff for education and tinkering, but it's really a bit wrong for automation sensors.

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

    Just for prosperity, you can use a much cheaper reed switch (~$3) to sense door closed/not closed, or if you want to wire up more, door closed, door fully open, door in-between. i glue mine (with elastomeric caulk) between the drive track and the door drive arm/release clutch. super easy to install, much easier to use and less expensive than the sensor you have in the vid.

  • @Leon-pu3vm
    @Leon-pu3vm 2 роки тому +1

    Your code kinda perplexes me. So you got one value equal to none. Then another value equals the current sensor. Then you have an conditional to ensure the sensor is either 0 or 1, but in these statements that already ensure that, you also check if it’s not equal to None. Yet you already checked that it’s equal to 0 or 1, so it can’t be equal to None.
    I’m teasing a bit but I believe the second conditional if is redundant. Also thank you for the great videos and I hope you and your family are doing good!

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

      Heh, I just wanted some value that wasn't either 0 or 1 for the initial startup, so I can make sure that when the thing starts, it can detect a 'change' from None to 'open' or 'closed'. There are other ways to do it, but this works and I'm happy enough with it ;)

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

    Every time Raspberry Pi drops a new board, Jeff's vid's a must-watch!

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

    Looking forward to your follow-up on power consumption. It would also be great if they had a sleep or low-power mode for these kinds of sensor projects that aren't doing much for most of the day.
    Take care and hope you're well again soon.

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

    I literally took delivery of a pico earlier this week. I was wondering if we were due for a new version but didn't want to wait any longer.🤦

    • @sys-2568
      @sys-2568 2 роки тому +1

      Me too! I bought my pico last friday, and it arrived 2 days ago. I wish I just would've waited a bit more...

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

      yeah, same, bought 5 this month, still it is not a waste

  • @toddbu-WK7L
    @toddbu-WK7L 2 роки тому +1

    I've been playing with LoraWAN to solve my Pico connectivity issues. It still makes sense for stuff outside the house like my mailbox delivery detector (1/2 mile away), but wifi is awesome for my sump pump alarm. I hope to put together an order today!

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

    an old step father had crohn's and colitis. ouch

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

    I really like the idea of having the pico in my homeassistant instance. In case of the garage door sensor... I would choose the esp01-S, a 2$ option, cause you just minor amonut of pins.

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

    I was wondering the whole time thank you

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

    Not $6 any more 😢

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

    They can’t make enough pi’s so they just make more pi’s?

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

      The upside with the Pico is the RP2040 uses a minuscule amount of die space, so they can make thousands more chips per die compared to a Pi 3 or Pi 4 SoC. Brings costs down, makes it easier to make huge batches, and makes sure the Pico is available.

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

    Did you know for 19.99 on Amazon you can get a wifi controller for your garage door with sensors . Lol

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

      sure, but how does it connect to your system? a lot of cheap stand-alone "things" require yet another single-purpose app to use them, severally limiting their usefulness.

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

    Wishing you good health Jeff! IDK why anyone would run Python on something with less RAM than an Amiga 500 though. it's just a very expensive wrapper around the C code that does what you want.

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

    Hope you are feeling better!

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

    Ahhh that wifi dropping out on the ESP32s... Had this issue with the AirGradients :( I've since added 433MHz transmitters to them instead.

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

    When will Microcenter sell them and will they debut them at a discount price like they did for the original pi pico?
    Still kicking myself for not picking up more of them when they were on sale for $2.
    🤞 Fingers crossed for $3 pico W introductory price 😁

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

      The second they announce the pico W is something like $3 at Microcenter, I will finally have the perfect excuse to go over there and also purchase a 3D printer (really need to get myself a 3D printer for some projects I have in mind).

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

      It looks like they're selling them at MSRP, from the few that already stocked them

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

      @@JeffGeerling how much are they going for?

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

      @@howardbaxter2514 they have the $100 ender 3 pro coupon again so there is a another excuse to go there

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

      @@andreamitchell4758 that is another very valid excuse.

  • @Talha.Imran.
    @Talha.Imran. 2 роки тому +1

    bro need some help can you help me

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

    Perfect for my new Pico VPN and Reverse Proxy server!

  • @project.jericho
    @project.jericho 2 роки тому +1

    IF you can get one at MSRP.

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

    I love the low end RPi boards and this looks no different. The only issue is availability in my area of the world, so pricing tends to reflect that.
    It was funny that you mentioned the pull up resistor as for whatever reason as soon as you mentioned how you connected the wires my brain started screaming about floating inputs and I completely forgot about the pull up method until I read it in you initial code.

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

    Great, I just bought another 20 picos yesterday and now this comes out. Guess I didn't need wireless anyway.

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

    esp32 wins this one for me

  • @ElectrogicsPH
    @ElectrogicsPH 3 місяці тому +1

    Jtaaaaaaag 🤣

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

    I hope you are feeling better

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

      Somewhat! Just staying out of the hospital, that's the main goal right now :)

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

    led = Pin("LED", Pin.OUT) does not work
    File "", line 11, in
    TypeError: can't convert str to int
    ??????
    ==== Flashing with the nightly firmware v1.19.1-223-g963e599ec (2022-07-29) .uf2 fixed the problem

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

    Unlike any ESP32, Pico flash chip is not Read protected. The use for commercial is very limited because of this.

  • @jan.tichavsky
    @jan.tichavsky 2 роки тому

    Why no USB-C? That's a big disappointment for me. People wanted it and still we are left with old Micro B and another set of cables to keep around.

  • @THEiBPhantom
    @THEiBPhantom 2 роки тому +10

    Mailbox sensor here we go. Thank you for showing the code to help me reference that it isn't THAT difficult to work out the logic besides the few odd flags that you have to search for. I wonder if you can work in SMS/RCS messages, but I am also curious what all home assistant does.

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

      I'm considering building a mailbox sensor as well... though I might stick with the ESP8266 depending on how low I can get power consumption. I don't want to have to change that battery very often. We'll see!

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

      @@JeffGeerling How does ESP8266 consumption compare to Pico W? The 8266 has a janky deep sleep mode (basically relies on a reset) so really low power is hard to achieve, is the Pico W better?

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

      @@JeffGeerling You can add a solar panel on the mailbox perhaps? Add a Ni-Mh battery and you won't need to change it for a while.
      Basically the same circuit of garden lights and such (which incidentally you might use for parts)

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

      Using the Pico W will probably be a much nicer solution than what I made with an old WRT54G router and a lead-acid battery. AFAIK it was my first hardware mod; without modifications I'd probably need to change out the ~7 pound (~3 kilo) battery every day.

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

    @Jeff I said this in your community post, but IDK whether you saw it. My Brother suffers from Crohn's as well, and swapping to Humira/Remicade (remicade first) made it possible for him to eventually get much better and basically stay on his feet. I don't want to pry into your specific issues by any means, but please chat with your Gastroenterologist about them if you haven't already. We really do enjoy your videos, but stay as healthy as possible for you and your family, we can obviously wait.

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

      I went through Remicade and Humira earlier in my Crohn's life. Also have gone through all the other biological at this point... my body rejects them all now :(

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

      @@JeffGeerling I am very sorry to hear that. My immune system is also too good at killing insulin and its other various versions, so I am used to hearing similar. I hope they continue to get you relief as you get through flare-ups. Please take care of yourself first and your family. Much as we on youtube forget we aren't family all the time, thank you for posting videos and entertaining us. Maybe a future video can be a raspberry pi become an insulin pump ;) or an IV brain. Both groups of end users have pretty serious hardware hacker groups

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

    anyone remember when people used to just close their own garage door ? no ? just me then.

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

      Yea, I love tech, but all this "home automation" seems like WAY more trouble (and money) than it's worth.

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

    python
    *shakes fist*

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

    Wi-Fi and a 32-bit SOC for cheap is nothing new, ESP32 did it years ago for $4-5, and ESP8266 before it (smaller but cheaper). ESP32 has more features, like Bluetooth, and 8266 is less than $2 shipped.

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

    hope you're doing well

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

      Much better, but not out of the woods. Just trying to avoid the hospital again!

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

    I've been waiting for this, it was an obvious enhancement to the original Pico.

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

    Because of your video coming out so early, I was able to grab one of these in time at $6. Thank you good sir!