MEASURE the WEATHER with a PI ZERO and BME280

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

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

  • @JurassicCorgi
    @JurassicCorgi 9 หลายเดือนก่อน +1

    What a great project. Thanks for sharing and with clear instructions

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

      Thank you so much! Really appreciate it!!

  • @techtonictim
    @techtonictim 9 หลายเดือนก่อน +1

    That’s a brilliant tutorial 🙏 thank you

  • @whothefoxcares
    @whothefoxcares 9 หลายเดือนก่อน +4

    If radio and television stations obtained one of these babies, they could automate! the unemployed weatherwomen will walk the streets, looking for gig work...

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

      Now now, unemployed weatherPEOPLE 😄...But it does make me wonder sometimes just how "advanced" the kit is they rely on...Most times it looks like weather forecasts are more defined by dice rolls!!!

    • @flibblebot
      @flibblebot 9 หลายเดือนก่อน +2

      @@jeffs_piinthesky Sadly, the weather is a chaotic system, meaning that small changes in the starting parameters can lead to wildly different outcomes - it's all due to the bloody butterfly in the Amazon rainforst. Perhaps if we could track down that butterfly and persuade it to stay still, the weather would be more predictable? 🤣

  • @dirtyd1398
    @dirtyd1398 17 วันที่ผ่านมา +1

    it would be helpful is you included more information about the OS, is this 32bit or 64? Is this bookworm or Bullseye? these types of details matter as with bookworm pip does not work correctly, all i get are errors that state "externally-managed-environment" and no one explains why yu get this error in bookworm. If this setup only works in bullseye, then it would be helpful to know, as a newbie, i am only getting frustraited with the setups and installs of devices/sensors when issues like what i am going through are not mentioned in the setup.

    • @jeffs_piinthesky
      @jeffs_piinthesky  16 วันที่ผ่านมา

      Thank you SO much for this feedback. It's always horrible when the rules change. In this case, it wasn't actually the OS so much as it was Python. In the most recent versions, they've pretty much mandated running virtual environments rather than running globally.
      Anyway, to solve your issue, create a virtual environment with 'python -m venv venv' and then 'source venv/bin/activate'. After that pip will run fine and all packages downloaded will be sandboxed in that environment.

  • @u9com
    @u9com 3 หลายเดือนก่อน +1

    Hi Jeff. Will I be able to use this explanation for a bme680? Especially github....

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      The fundamentals of how to set it up will be the same. However, there's always the risk it won't be backwards compatible with the bme280 API that Adafruit provide. I just had a look and it looks like they do have a specific BME680 library that has a slightly different syntax to support the extra features. So I think the code I published from my video would need some tweaks but, from the looks of it, it shouldn't be too painful. Let me know how you get on!! And best of luck with the project...I can safely say that the weather station is a project I make use of every day!! 😃

  • @W1TEA
    @W1TEA 9 หลายเดือนก่อน +1

    I want that background! :D

    • @jeffs_piinthesky
      @jeffs_piinthesky  9 หลายเดือนก่อน +1

      Are you talking about the workshop background or the background for the thumbnail?

    • @W1TEA
      @W1TEA 8 หลายเดือนก่อน

      @@jeffs_piinthesky yes, it looks great

  • @AJB2K3
    @AJB2K3 9 หลายเดือนก่อน +1

    The swapfiles are stored on the SD card and will massively shorten the life of the SD Card.

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

      Very true but, after that first 30-60 mins, both CPU and memory use drop pretty dramatically (CPU around 0.78 load avg, memory around 250MB) so swap usage drops to next to nothing fortunately.

    • @AJB2K3
      @AJB2K3 9 หลายเดือนก่อน +1

      @@jeffs_piinthesky The problem is that the damage has already been done and that the section that had the swapfile has already had its life drastically reduce which result in premature corruption and failure of the SD card. I know I killed two cards that way before learning the reason.

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

      Yeah, I get it and you're not wrong. I've just not encountered a card that had such a low write lifetime that thrashing it for an hour would kill it. Most SD cards are spec'd now for tens of thousands of hours of writes before they'll die. But you are absolutely right that developing anything that consistently writes to SD will hurt it.
      One thing you can do is set up a minimal boot from SD on the zero that then hands off to a USB device so you could go down that route if you were concerned about the SD lifetime. It's trickier than other pi models though as the SoC doesn't support USB boot directly.

  • @dimadiman3093
    @dimadiman3093 9 หลายเดือนก่อน +1

    Nonsense! €20 for bme280 )))))

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

      I agree that seems a lot for the board but are you referring to the one with pre-soldered pins? With that you're just paying for that extra manufacturing cost I guess. The cheapest one I can see on Amazon right now is £8.99 which is about 10.50EUR