Raspberry Pi Weather Station

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • Raspberry Pi weather station that reads temperature, pressure and humidity data from a BME280 sensor, and records it in a spreadsheet.
    The sensor used is from Pimoroni and is available here: shop.pimoroni.com/products/bm...
    Adafruit also sell a similar board here: www.adafruit.com/product/2652
    If you need jumper leads, a pack of male-to-female (like I used in the video) is available from Pimoroni here: shop.pimoroni.com/products/ju... or from Adafruit here: www.adafruit.com/product/1952
    Please note that I have no association with either Pimoroni or Adafruit and that neither has paid or asked me to mention their products. But I know that some viewer will appreciate the links!
    You can download the code and spreadsheet shown in the video from this page:
    www.explainingcomputers.com/p...
    The PuTTY SSH client used to access the Pi remotely is available from: www.chiark.greenend.org.uk/~s...
    If you like this video, you may be interested in some of my other content, such as my “Python Coding Introduction”: • Python Coding Introduc...
    More videos on computing and related topics can be found at:
    / explainingcomputers
    You may also like my ExplainingTheFuture channel at: / explainingthefuture
    Chapters:
    00:00 Introduction
    00:33 The BME280
    03:51 Reading Data
    06:38 Tinkering & Fixing
    09:56 Remote Access
    14:03 Recording Data
    18:45 Final Test
    20:50 Future Possibilities
    #RaspberryPi #WeatherStation #BME280 #ExplainingComputers
  • Наука та технологія

КОМЕНТАРІ • 951

  • @effess8698
    @effess8698 3 роки тому +237

    21:00 in order to control the weather you would have to first store the data.....in the cloud

    • @williamlyerly3114
      @williamlyerly3114 3 роки тому +26

      And to get it out, one would have to seed it.

    • @adventureoflinkmk2
      @adventureoflinkmk2 3 роки тому +6

      So what, why not store it on the Barrett, Cid, Tifa, Yuffie, Aerith, Red XIII, Vincent, or even Cait Sith 😂😂😂😂😂

    • @your_utube
      @your_utube 3 роки тому +4

      A big revelation was made here. Is he the one who is...??

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

      Take my upvote here... You got me chuckling as a result.

    • @DarkRedman31
      @DarkRedman31 3 роки тому

      Yeah but it means you've to wait for rain to retrieve the data! *badam tss*

  • @DallasMike424
    @DallasMike424 3 роки тому +306

    I remain amazed at Christopher. His smart, yet non- condescending, manner is encouraging and reassuring.

    • @tonyross2947
      @tonyross2947 3 роки тому +8

      Mister Scissors...?

    • @youreds91
      @youreds91 3 роки тому +5

      @@tonyross2947 Not forgetting Stanley The Knife.

    • @tonyross2947
      @tonyross2947 3 роки тому

      @@youreds91 🤣🤣🤣

    • @tpobrienjr
      @tpobrienjr 3 роки тому +7

      @@tonyross2947 Please refrain from mocking the Edged Weapons, Sir.

    • @tonyross2947
      @tonyross2947 3 роки тому

      @@tpobrienjr 🤣🤣🤣

  • @SBCBears
    @SBCBears 3 роки тому +130

    Here we see that Chris has soldering skills, too. 🏆

    • @Araye
      @Araye 3 роки тому +4

      Every time I see a youtuber grab an iron I cringe... but not with Chris. Knows how to solder.

    • @6581punk
      @6581punk 3 роки тому +7

      Yet no name for the iron? Mr Sizzler would be my choice.

    • @crayzeape2230
      @crayzeape2230 3 роки тому +1

      @@6581punk Hotshot Harry the Iron ;)

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

      you should see his only fans...he turns them gal into cumfarters

  • @rc55uk
    @rc55uk 3 роки тому +41

    I almost spat out my tea when he said "Let's go and get started" instead of "Let's take a closer look".

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

      Fortunately there was mr. scissors to balance things out.

    • @ali_new_world
      @ali_new_world 3 роки тому

      @@onnozweers 😂😂😂😂😂

  • @smile768
    @smile768 3 роки тому +26

    That’s a good example of a Raspberry Pi video; Python, sensors, SSH, appending to spreadsheets. There’s a lot there to learn from.

  • @mtvlieger
    @mtvlieger 3 роки тому +20

    I could see myself setting several stations up and deploying them around town the next time I teach my unit on weather. Thanks for the idea Chris.

  • @evetsotibac
    @evetsotibac 3 роки тому +4

    Chris, I can't tell you how refreshing it is to see someone on UA-cam who knows how to solder, and beautifully so!

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому

      Thanks greatly for this feedback. Given the comments on my soldering in previous videos, your words are much appreciated. :)

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

    Can't wait to watch this tomorrow. Cheers to the new year and many blessing to you and your loved ones (including all the viewers)

  • @franciscunningham2631
    @franciscunningham2631 3 роки тому +7

    Wow, way to crush the 1st video of 2021! This video has everything in it - the BME280 sensor, soldering, I2C, SSH, and use of the Excel/Libra Calc Python library for data collection!
    Cheers and a very Happy New Year!

  • @samaitcheson7057
    @samaitcheson7057 3 роки тому +3

    Excellent demonstration of doable real world Raspberry Pi application Chris.
    All in your characteristically comprehensive manner.
    A very big thank you!

  • @jamesdinsmore9022
    @jamesdinsmore9022 3 роки тому +8

    Being mostly self-taught in the realm of IOT; you have filled in a lot of gaps in my knowledge; thank you very much!

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

    So glad you're getting close to 1 million subs now brother. Well earned after 12 years of solid content helping us for over a decade. Respect

  • @pavan13
    @pavan13 3 роки тому +19

    After such a long time seeing a Raspberry Pi Model 3b+ I am so happy

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +4

      :)

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

      I've got a Chinese Pi1 running a web server, dlna server, mumble server and of course SSH. Boots to a partition on an external powered drive so SD card just for boot.

  • @Zobbster
    @Zobbster 3 роки тому +4

    Christopher, thank you, you're one of the best teachers I've ever come across. You're a good man for sharing your knowledge, it's greatly appreciated!

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

      Wow, thanks!

    • @ernestgalvan9037
      @ernestgalvan9037 3 роки тому +1

      Not only is he a good man because he shares knowledge and wit and wisdom, but he is also blessed with the ability to share.
      It’s fun, informative and exciting.
      Thank you, Sir.

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

    Thank you for making this. I am currently using an Nova SDS011 sensor with ras-pi for my dissertation and your Recording Data section is very useful. Look forward to seeing more of your videos in the future 👍🏻

  • @HedgewitchHoney
    @HedgewitchHoney 3 роки тому +1

    Bought myself a Waveshare BME280 last night after watching this video which came today. Connected it to my Pi, followed your instructions and it works perfectly, absolutely flawless first time. I now have a full weather station set up in my poly tunnel. Thank you.

  • @GeorgeMaier
    @GeorgeMaier 3 роки тому +5

    This is a great video! I built a weather station using my Pi last summer. Something I did slightly differently was using two BME280 sensors and averaging their results to help correct for the inaccuracies in these cheap and small sensors - also placing them in a white thermometer box. For my setup, I also had a solar panel and battery in place so that it could run without mains power - and I used the Raspberry Pi as a charge controller (this was the most complicated part of the build as it involved a lot of manually testing voltages and comparing them to ADC read values to build a comparison chart, as my ADC was limited to 5v but I was using a 12v panel and a 7.5v battery, so using resistor based voltage splitters to get a smaller but proportional voltage going into the ADC and then converting them back to real voltages in software to run the relay to allow power from the solar panel onto the battery rail or not (using a buck converter to match panel to battery v, and again to match battery v to the Pi’s 5v)). Also had it add the weather, battery and solar data every minute to an online SQL database which could be accessed through a website - so i could keep an eye on the whole setup remotely.

  • @watsoft70
    @watsoft70 3 роки тому +10

    Had best get my Pi5 on pre-order as everyone is going to want to control the weather, lol.
    Happy New Year Christopher!

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

    Splendiferous, Another fine project to get my teeth into. You're fast becoming a national treasure Chris. 717k subscribers and climbing!

  • @MajinDabora3
    @MajinDabora3 3 роки тому +1

    Hey, i have just recently discovered this channel and i instantly fell in love.
    Just wanted to add a little detail, humidity is often represented in water% in air, but important factor to mention is that the hot air is able to store much more water in it than cold air. So for instance if weather outside is 0degrees C and has 95% humidity and gets in your house, warms to 20degrees C it will also drop in humidity %. it still has the same amount of water but is able to store much more now since air itself is warmer. Thats also why it was showing lower result when the sensor was closer to rasberry and had a higher temperature.

  • @DallasMike424
    @DallasMike424 3 роки тому +67

    Wonderful, and right up my interest alley. We live at the southern end of Tornado Alley. I can't resist the Dad Joke about hanging a Raspberry Pi outside on a piece of string:
    If Raspberry Pi is wet, it is raining.
    If Raspberry Pi is green, it rained a while ago.
    If Raspberry Pi is white, it is snowing.
    If Raspberry Pi is shaking, there is an earthquake.
    If Raspberry Pi is dry, the weather is fair.
    If Raspberry Pi is swinging, it's windy.
    If Raspberry Pi is warm, the sun is out.
    If Raspberry Pi is not visible, it's dark outside.
    If Raspberry Pi is under water, there is a flood.
    If Raspberry Pi is gone, there is a tornado (Run!!)

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

      if rpi broken it has rained

    • @ramosel
      @ramosel 3 роки тому +3

      Ahhh... The Colorado Weather Rock. I believe there is a Metric version in North Yorkshire as well.

    • @junglemouse4585
      @junglemouse4585 3 роки тому +1

      🤣

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

      I am so totally stealing that :D
      Greets from the Northern Wastes, land of snow, ice, and .. here if the Pi is missing, it's under the snowdrift. :)

    • @ulrichkalber9039
      @ulrichkalber9039 3 роки тому +3

      oldie but goodie.
      I have seen so many versions of this...
      edit: If Pi is hot call 112/999 and report a fire
      (in the US: call 911)

  • @mattybbw533
    @mattybbw533 3 роки тому +3

    Another great video! I’ve been binging your videos since I’ve found this channel about a month or so ago. I’ve already learned so much, so thank you and keep up the great work!

  • @srinivasankh
    @srinivasankh 3 роки тому +1

    @20:43 Britain = Rain, spot on. Wonderful video and best explanation of the end-to-end process as always Chris, thanks for doing such a great work!

  • @highdesert50
    @highdesert50 3 роки тому

    I have been awaiting this project and I am truly impressed with how much information you conveyed in twenty minutes. Provided a great foundation for us to further this Pi project.

  • @MAMDAVEM
    @MAMDAVEM 3 роки тому +13

    Remember Chris that the humidity measured here is "relative Humidity" i.e. relative to temperature. So as the temperature drops the relative humidity will increase, not necessarily and indication that it will rain...... but it might get foggy :)

    • @dontabor6708
      @dontabor6708 3 роки тому

      oh how we used dew point to describe the humidity levels in the air rather than relative humidity

    • @pwood6446
      @pwood6446 3 роки тому

      @@dontabor6708 @Dave M.

    • @pwood6446
      @pwood6446 3 роки тому +1

      I keep trying to explain this to people. Logged on just to do so, you guys beat me, wish I could get everyone looking st the right number.

  • @Bassotronics
    @Bassotronics 3 роки тому +5

    Such an amazing little hardware with almost limitless potential. Great explanatory video!

  • @paulwright4765
    @paulwright4765 3 роки тому +1

    Thank you Chris love your videos! Reminds me of when I was younger and used to stay up watching OU programs through the night.

  • @monwil3296
    @monwil3296 3 роки тому

    Happy New Year from South Africa 🎉🎉. Thank you for the 2021 confidence booster. We so much appreciate all the free information we received from your channel and please keep safe 👌

  • @jamesprocter102
    @jamesprocter102 3 роки тому +6

    I love the fact that I learn more here than I ever did in school

  • @rexjuggler19
    @rexjuggler19 3 роки тому +3

    Of course you showed how to solder properly. I can't tell you how many videos I watch where they touch the solder to the iron, then kind of drip it on the connection point. Not a surprise that you properly do it by heating the connection with the iron first and then apply the solder so that it immediately melts and binds the components. Well done - and you can tell - the connection simply looks good!

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

    This video like all the other videos looks very nice and satisfying... especially the parts where you show the soldering and the raspberry pi 3b+ In all its shiny glory....Loved the video and Happy New Year 👍

  • @neilshobbyhq
    @neilshobbyhq 3 роки тому +1

    Wow, great stuff, I have just ordered my sensor. When you mentioned controlling the weather you took me right back to my childhood, 1974 to be exact, does anyone else remember the program put out to help children with their literacy skills called Cloudburst, I have no idea why it came to mind but it certainly brought back some memories

  • @himselfe
    @himselfe 3 роки тому +32

    The deadpan delivery of "go one step further and actually control the weather" was chilling. Was it a joke? Is Mr Computers our new overlord? Who can tell! 😱

    • @caturdaynite7217
      @caturdaynite7217 3 роки тому +5

      Chris doesn't seem like the overlord type. Just sayin'.

    • @SirSmartyPants
      @SirSmartyPants 3 роки тому +5

      @@caturdaynite7217 I for one welcome our new computer literate overlord.

    • @veryfrozen3271
      @veryfrozen3271 3 роки тому

      I mean cloud seeding is a thing and been using it as a wepon since the Vietnam war

    • @Tuulos
      @Tuulos 3 роки тому

      @@caturdaynite7217 While that is true he might have teamed up with Colin Furze.

  • @allluckyseven
    @allluckyseven 3 роки тому +50

    Happy New Year, Chris!

  • @gravelyetigravelyeti4284
    @gravelyetigravelyeti4284 3 роки тому

    this is perfect timing as i was attempting to do the same thing via a DHT11 sensor without much luck, thanks chris and happy new year.

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

    Happy new year, i would never make such a project, but here I am hearing that calm voice

  • @raytry69
    @raytry69 3 роки тому +4

    I use RPI to collect various temperature measurements (2 room, 1 outside, 3 water temps in the buffer tank) to text files (daily basis), and use a simple php and javascript to make a graph of them. The apache and php running on the RPI as well.

  • @gigteevee6118
    @gigteevee6118 3 роки тому +3

    I'll consider this for monitoring temp and humidity in my loft, pre and post insulation....very interesting, and a great video generally.

  • @GertBoers
    @GertBoers 3 роки тому

    What a nice project!
    I'll take that spreadsheet module with me in my bag. I tend to write csv's with csvwriter, but this might come in handy some day!
    Thanks for making and sharing this video.
    And not to forget: A very happy and prosperous new year to you!

  • @nickcrosby9875
    @nickcrosby9875 3 роки тому +1

    So pleased you did this Chris as I bought a BME280 before Xmas and have been trying to get my project launched...great minds etc ;)

    • @nickcrosby9875
      @nickcrosby9875 3 роки тому

      It's up and running! Dont' quite know how as Mr Solder and Mr Crosby are not best mates. I somehow got the BME to work. Now enjoying the coding/ spreadsheet aspects. Thanks again Chris, cracking stuff

  • @chriscottingham2003
    @chriscottingham2003 3 роки тому +6

    Great it's Sunday again Thanks Chris from another Chris 😀

  • @brkbtjunkie
    @brkbtjunkie 3 роки тому +3

    Absolutely amazing that the sensor is that small. Such wondrous times we live in.

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

      I agree. Imagine what people 100 years ago would make of the stuff we have today.

    • @Beevreeter
      @Beevreeter 3 роки тому

      @@ExplainingComputers And I'm sure we can barely imagine what we'll have 100 years from now...

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

    This was an excellent basic explanation. Exactly what I was looking for as a newberry. Thank you from Australia.

  • @jchanning72
    @jchanning72 3 роки тому

    An excellent educational video, clearly explained and easy to follow. I love the quirky retro geek delivery, Chris looks and sounds like he is presenting on a BBC2 science show from 1982.

  • @dirkocket2803
    @dirkocket2803 3 роки тому +5

    Happy New Year and a happy birthday for yesterday.

  • @DutchSteamboat
    @DutchSteamboat 3 роки тому +50

    Jeremy Clarkson: I'm famous for my pauses.
    ExplainingComputers: Hold
    my
    beer.
    Also EC - "garage or garahge" - "pooty". :-)
    ExplainingComputers is my Sunday ritual - one I look forward to. There's never been one where I leave half-way.
    The channel really does deserve 1M subscribers.

    • @anthonyfmoss
      @anthonyfmoss 3 роки тому +5

      This is the best UA-cam channel about computers.....
      ...in the world!

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

      If Jezza or Hammond or May ever started a computer channel, I’d subscribe.
      “This... is the Acer Ferrari laptop...”

    • @YounesLayachi
      @YounesLayachi 3 роки тому

      @@jamesmarlowe4034 you didn't have to remind us of the dreaded acer ferrati laptop 😂

  • @storage000
    @storage000 3 роки тому

    I know there's many reason to get a Pi, I'd love my Pi with a side of weather forecast! love this project and can't wait to try it myself; thank you very much Mr. Barnatt

  • @loreleieleanor8124
    @loreleieleanor8124 6 місяців тому +1

    I can't tell you how much I love this video and everything it explains, and I can't tell you how much I can't wait to do it again with my raspberry pi (which is currently connected to a much simpler temperature sensor via a breadboard). Thank you so much for all this!

  • @neurobioboy
    @neurobioboy 3 роки тому +4

    Very cool project!
    Here is a suggestion for improving it: having everything displayed on a small screen, like a little e-ink display could be so cool!!

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

      I think I'll repurpose an old tablet to show the measured weather data and some 3rd party weather forecasts.

  • @jackspence2645
    @jackspence2645 3 роки тому +25

    This is great! I have been trying to build a weather station but have had no idea how to do it. Maybe you could do a part two adding something like wind speed?

  • @williamjames9466
    @williamjames9466 3 роки тому +1

    Thank you for encouraging video. It, has left me liking the idea of building the rig you showed and thinking about the possible uses I could put it to. You bravely, including your initial error of not mounting the sensors away from the RPi, which was a good choice, as it demonstrated the need to separate them from each other, in a practical way. Moreover, in showing it, rather than just saying it, you engendered greater learning, for me.

  • @Kw1161
    @Kw1161 3 роки тому

    Well it seems to beat my weather tree outside. It's hard to see rain on the branches now the leaves fell off.
    Another great video!
    Thanks for the information!
    Have a Happy New Year, Chris!

  • @pavan13
    @pavan13 3 роки тому +4

    Hey Chris your soldering is very neat and nice too 👍

  • @IgabodDobagi
    @IgabodDobagi 3 роки тому +3

    I gotta give you a slow clap for the stone-faced delivery of that weather control line at the end. That caught me off guard. I honestly believed you intended to do just that for a couple seconds before it dawned on me that you were joking. Thank you for taking the time to do this and also providing that laugh for me at the end. Excellent work as usual.

  • @TheGrisu486
    @TheGrisu486 3 роки тому

    And back again a new great project for lousy cold winter days.
    I can't wait to control my personal weather with a brand new Raspberry pi 5!

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

    What a wonderful tutorial! So clear and perfectly demonstrated. I've got my first Pi on order and a weather station will be one of my first projects. This video was hugely informative. Thank you!

  • @YounesLayachi
    @YounesLayachi 3 роки тому +15

    Ah yes, the pi 5 is long awaited by all masterminds around the world 😅

    • @booboyBL
      @booboyBL 3 роки тому +5

      Release date April 1st ? Should be great for weather control.

  • @Gabriel2.0
    @Gabriel2.0 3 роки тому +9

    it will be amazing to get an eINK screen and make this into a standalone unit

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +3

      Yes, there are possibilities . . .

    • @diogenesdevletoglou6190
      @diogenesdevletoglou6190 3 роки тому

      www.ti.com/tool/HDC2010METER-EVM?keyMatch=HDC2010%20REF%20DESIGN&tisearch=Search-EN-everything

    • @edkok5880
      @edkok5880 3 роки тому

      The Pi is perfectly cable of running InfluxDB (a time-series database) and Grafana for creating graphs and gauges. Grafana runs as a web-UI so you can view it (remotely!) with a browser.

    • @Dre3ed
      @Dre3ed 3 роки тому

      Control the weather ?

  • @frostin1990
    @frostin1990 3 роки тому +1

    Wow!! I got this working flawlessly on just about some random BME280 sensor I picked up. Your tutorial was well detailed, thanks :)

  • @PS_Tube
    @PS_Tube 3 роки тому +1

    First video of 2021. And it's quite amazing to see a very useful pi project. Yay !!
    PS : Heartiest greetings of the new year Chris!

  • @energyideas
    @energyideas 3 роки тому +17

    Careful to get actual BME280, purchased many that weren't as advertised.

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

      Yeah, many are the cheaper versions without the humidity.

    • @zenmaster24
      @zenmaster24 3 роки тому

      were they defective in some way @energyideas?

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

      ​@@zenmaster24 Many sellers mix up (accidentally or otherwise) the BME280 with the (much) cheaper counterpart bm*P*280 - which doesn't detect humidity.
      Good explanation here:
      goughlui.com/2018/08/05/note-bosch-sensortec-bmp280-vs-bme280-sensor-confusion/

  • @wd269
    @wd269 3 роки тому +5

    Yes, first RPi 5 project ---- Control the Weather.

    • @awesomefacepalm
      @awesomefacepalm 3 роки тому

      So we can set the weather to always sunny in Philadelphia

    • @onnozweers
      @onnozweers 3 роки тому +1

      Then, with Raspberry Pi 6, we can fix the climate.

    • @awesomefacepalm
      @awesomefacepalm 3 роки тому +1

      @@onnozweers Pi 7, reverse entropy

  • @marksterling8286
    @marksterling8286 3 роки тому

    Happy new year Chris and Mr Scissors great video for such a small cost would make a fun project. Thank you

  • @rikprince8414
    @rikprince8414 3 роки тому +1

    Very interesting, Sir! This is just the sort of thing I like doing with the Raspberry Pi.

  • @smartassist9700
    @smartassist9700 3 роки тому +5

    I HAD TO REPLAY LAST FEW MINUTES!!! YOU DID SAY NEXT TRY TO CONTROL WEATHER....LOL

  • @TheUglyGnome
    @TheUglyGnome 3 роки тому +6

    20:29
    Humidity hasn't really been increasing there.
    During the first measurement absolute humidity was 5.36 g/m^3 and during the last one it was up to 5.47 g/m^3. This difference is not significant and might be even within error tolerance of the probe.
    Relative humidity has risen, because the temperature has been dropping.

  • @thetj8243
    @thetj8243 3 роки тому

    Hi Chris,
    nice basics video I think I'm going to get one of these breakout-boards and try using it with a raspberry pi 2 I just saved before it went to the recycling-center.
    Happy new year, hope for many more nice content like this one.
    Gz TJ

  • @jaffarbh
    @jaffarbh 3 роки тому

    This is brilliant stuff. You could use the data to train a simple linear model to predict if it's going to rain and perhaps trigger an alarm.

  • @daveamies5031
    @daveamies5031 3 роки тому +3

    Hey Chris when you figure out how to control the weather (I suspect you'll need a bit more than a RPi 5), since you get a lot of precipitation in the UK, would you mind sharing some of that precipitation with the people in Western QLD, not asking for a lot, just 10-15 mm a month spread nice and evenly over the year would be perfect 👌 🤣🤣🤣

  • @rookieone33
    @rookieone33 3 роки тому +3

    Great idea! Ordered a bme280 almost directly after seeing this video :) I hooked it up to a pine64a that I had in the drawer, which has a compatible gpio. Today I received the bme280 and used some of your python script, thank you! It's now in a test setup just outside my backdoor, and need to make a longer wire for the sensor and get a nice housing for it. Never stared so long at temperature, pressure and humidity ;) Will add the excel bit soon to the code. Anyone that has a good experience with a nice housing for the sensor? Please share link to it! :)

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

    Happy new year Chris! Thank you for such a great 2020 videos!

  • @johansteenkamp9214
    @johansteenkamp9214 3 роки тому

    Thanks Chris. Always fun to see the the endless possibilities of a Raspberry Pi.
    Talking of the Raspberry Pi. This week I stumbled upon a web page talking about a Raspberry Pi Command module 4, which surfaces a PCI Express port.
    Think a CM4 might make an interesting future video.

  • @famailiaanima
    @famailiaanima 3 роки тому +3

    11:00 I didn't know that you can run a Python script like that, I thought only shell scripts could do it. Very nice to know!

    • @christopherwong9748
      @christopherwong9748 3 роки тому +4

      Indeed, other files can be executed directly like that. All you need to do is specify the shebang on the first line of a file. In the provided script bme280_cjb_AA.py, you can see it's `#!/usr/bin/env python` . Other shebangs can be provided, like I've seen for `awk`. Wikipedia has lots of useful information about this: en.wikipedia.org/wiki/Shebang_(Unix)

  • @philipprudhomme6967
    @philipprudhomme6967 3 роки тому +3

    Chris, thanks for that , I learned a lot. Incidentally you'll find you need an Apple device to control the weather, but Microsoft control the universe!

    • @tin2001
      @tin2001 3 роки тому

      The Apple device doesn't really control the weather.... It just convinces you it does.

  • @HKey_Root
    @HKey_Root 3 роки тому +1

    I have at last got around to completing this project. Terrific. Thank you. The only hiccup I encountered was running the executables. They fell over due to /r (carraige return) errors. That was down to me saving the files by the wrong method. Your instructions were, as ever, flawless. Moving the Pi Zero WH to the garage worked wonders as a method of cooling but sadly it was out of range of my Wifi router. Incidentally There are 4 pin BME280s on the market which are half the price. They work fine as the contact marked with the prohibition/no entry sign isn't used.

  • @martinjbernart4699
    @martinjbernart4699 3 роки тому

    Nice topic to start the Happy New-year!

  • @lorderectus1849
    @lorderectus1849 3 роки тому +6

    I saw a lot of virtualboxes!

  • @Morphineck
    @Morphineck 3 роки тому +3

    My kid: "Dad I want to be able to control the weather"
    Me: "Listen you little brat, no one can control the weather"
    Chris: "Raspberry 5 is here... mwahaha, MWAHAHAHAHA"

  • @BlazeOGlory
    @BlazeOGlory 3 роки тому +1

    That weather control joke was priceless! Great video as usual!

  • @mazafreno
    @mazafreno 3 роки тому

    Very thanks for all your videos. Happy NewYear prof.

  • @drishalballaney6590
    @drishalballaney6590 3 роки тому +3

    4:35 why sudo for using pip? always try to use pip without sudo or install the modules from the repos
    sometimes pip with sudo might cause package conflicts

  • @tradermonk9403
    @tradermonk9403 3 роки тому +3

    Thank you very much professor! I suspect that allthis can be done on a Pie0w as well. Also is it possible to add wind speed/direction and a rain sensor to this weather station?

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +1

      Yes, a Pi Zero can do this just fine. I must delve into the wind side of things . . .

    • @tonydonnelly
      @tonydonnelly 3 роки тому +3

      I've been using a PiZero for this for about 4 years now, with a rain sensor and also a relay to control a fountain in my garden which shuts the fountain off if it detects low water level, or if the outside temperature drops below freezing. The Pi0 also hosts a small website which displays the data, so more than adequate for this type of project. Most wind speed sensors use a magnetic switch to detect a rotation of the rotor cups. Again, the Pi0 should be able to count the number of rotations over a period of time and calculate the wind speed quite easily.

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

      @@tonydonnelly Great to hear this. I can see that I must delve into a wind speed measurement system -- I had been musing on using a optical sensor to monitor the rotation of a windmill.

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

    That was a very well written and informative video. People who are only starting with Python programming can pick out a lot of important things and also learn about the Raspberry Pi and the module.

  • @zinsy23
    @zinsy23 3 роки тому +1

    Great video! I like how you do both pronunciations of garage. I personally do the second pronunciation. I always do the same thing with Z because I'm in the U.S and don't know what people say. I'm glad I'm not the only one who does multiple pronunciations like that!

  • @Mustafa.alhijjawi
    @Mustafa.alhijjawi 3 роки тому +4

    Thank you for this beneficial content
    Have a pleasant evening dear sir🌷
    How is that thing on your nick doing?

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +5

      Thanks for this. The thing on my neck is stable now, sealed up and sometimes painful. But quite OK.

    • @Mustafa.alhijjawi
      @Mustafa.alhijjawi 3 роки тому +2

      @@ExplainingComputers good to hear that it's quite will, if you use the eggplant tincture unit might get red and open at first but within a week or two it should start healing and new skin will take over.
      Wish all the best

  • @dr.jonathankramer9242
    @dr.jonathankramer9242 3 роки тому +4

    EC, now hosted by Chris and Mr. Scissors!

  • @elmirelmir842
    @elmirelmir842 3 роки тому

    Happy new year! Excellent video! More home projects like this using sensors!

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

    This was really great Chris! Thankyou =)

  • @michalrzmichalrz6656
    @michalrzmichalrz6656 3 роки тому +3

    Lol, you can't change the weather with a single board computer. You'd need at least two boards.

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

      Ah, right. You are probably correct. A cluster approach needed.

  • @TradieTrev
    @TradieTrev 3 роки тому +3

    Massive overkill mate! Surely an ESP chip with mqtt support gives the same results without such an overhead?

    • @ExplainingComputers
      @ExplainingComputers  3 роки тому +6

      It is a Raspberry Pi Project . . .

    • @farktard2740
      @farktard2740 3 роки тому +1

      mqtt on an esp still will blow your budget (memory wise) as the bme 280 calibrated correctly is a bitch....check the data sheet trev. I see what you are saying, but this sensor is a beast when on the rails

    • @norullzz
      @norullzz 3 роки тому +1

      You can still use micropython on your ESP, my random amazon BME280 had two breakout boards, so now I had to buy an ESP chip to connect the second one. Just used influx on the raspberry pi, if you do a post request to the ESP, you can add data to the database. Then also run grafana on the RPi and you can readout both sensors in a graph.

  • @evangelospapageorgiou4059
    @evangelospapageorgiou4059 3 роки тому +1

    Happy new year, Chris. Greetings to my beloved city of Nottingham. I studied in Nottingham Trent University some 24 years ago. I am Greek and I like the way you explain computer stuff!

  • @coolcoolsafe
    @coolcoolsafe 3 роки тому

    Excellent video as always!
    I have the enviro+ board from pimoroni (with air quality sensor) and am reading data in horribly inefficient and messy ways :) but it is working.
    I push 5 min averages of the data to another pi running dockerized postgreSQL and Grafana instances so I can store and display the data. It was immense fun setting up.
    Please keep these pi videos coming! They are awesome.

  • @saturno_tv
    @saturno_tv 3 роки тому +6

    First, once more!

  • @larrywebber2971
    @larrywebber2971 3 роки тому

    Excellent video Chris. Ironically I have been thinking of late about a weather station project with one of my Pi's. Another input I'd like to add to my project is a sensor that will provide soil moisture as my wife does a bit of gardening. We tend to get very warm temperatures in the summer and it's easy to have our soil get too dry before we water the plants. Thanks so much for sharing.

  • @YounesLayachi
    @YounesLayachi 3 роки тому

    These yellow info bubbles are very helpful, thanks for the extra editing touches :D

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

    Excellent! Reminds me of a former life where I hijacked data from a bus and poked it into excel. What fun!

  • @f1acha
    @f1acha 3 роки тому

    Very informative video on a project I was looking to start. Thank you.

  • @MarioSalasEspinoza
    @MarioSalasEspinoza 3 роки тому +1

    I have a beautiful UI with node red with the BME280. My personal Weather Station for my living room.

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

    Hope your having a good new year chris. like this kind of projects as it shows real use case for a Pi .. some thing kids can get in to
    and Big kids (😊) can get into simple and easy great for those whom are not familier with python or the Pi in general......

  • @IEnjoyCreatingVideos
    @IEnjoyCreatingVideos 3 роки тому

    Another great video Chris! Thank you for always sharing with us and Happy New Year!💖👌👍😎JP