Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Enclosures / 3D Printing
  3. MySensors weather station

MySensors weather station

Scheduled Pinned Locked Moved Enclosures / 3D Printing
138 Posts 16 Posters 58.6k Views 15 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Luc3asL Offline
    Luc3asL Offline
    Luc3as
    wrote on last edited by
    #54

    Hello all,
    I'd like to add to this discussion my bit,
    here is code from my older project of arduino based, battery operated, solar panel charged weather station
    https://github.com/Luc3as/MySensors-WeatherStation
    I must finish all documentation, I have PCBs ready and manufactured and tested, and models ready for 3d prints too.
    I am not measuring wind so I am also interested in nice work above.
    for now it is still work in progress, here is little teaser of overall look
    0_1495694816412_IMG_20170519_171638.jpg

    dbemowskD 1 Reply Last reply
    0
    • Luc3asL Luc3as

      Hello all,
      I'd like to add to this discussion my bit,
      here is code from my older project of arduino based, battery operated, solar panel charged weather station
      https://github.com/Luc3as/MySensors-WeatherStation
      I must finish all documentation, I have PCBs ready and manufactured and tested, and models ready for 3d prints too.
      I am not measuring wind so I am also interested in nice work above.
      for now it is still work in progress, here is little teaser of overall look
      0_1495694816412_IMG_20170519_171638.jpg

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #55

      @Luc3as Thanks for the contribution. I have been quite busy the past few weeks and haven't had a lot of time to work more on the wind direction sensor. There are still a few issues I am working through with that before I can start jumping into the code for it. I am hoping to get more done this weekend.

      As for your 3D files, do you have them on thingiverse or somewhere accessible for us to check them out? I am interested in the work you have done.

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #56

        Those are quite a lot of solar panels. Is it that power hungry?

        dbemowskD 1 Reply Last reply
        0
        • gohanG gohan

          Those are quite a lot of solar panels. Is it that power hungry?

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #57

          @gohan I can't see those small panels delivering that much. Plus, at certain parts of the day a number of the panels will most likely be shaded lowering their output.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          Luc3asL 1 Reply Last reply
          0
          • dbemowskD dbemowsk

            @gohan I can't see those small panels delivering that much. Plus, at certain parts of the day a number of the panels will most likely be shaded lowering their output.

            Luc3asL Offline
            Luc3asL Offline
            Luc3as
            wrote on last edited by
            #58

            @dbemowsk yup, actually there are 8 of them, each providing nominal 0,5 volts, so to power up the lipo charger for battery I need at least 4 volts, in direct sunlight I think this will not be problem, but as @dbemowsk says, it will not have ideal position to sun every day and for whole time. but there is big enough reserve at battery , providing power for few days to weeks even without solar panel.
            and I am also checking voltage on solar panel so if there would be some problem with charging I can set notifications or something from home automation system.

            gohanG 1 Reply Last reply
            0
            • G Offline
              G Offline
              GaryStofer
              wrote on last edited by
              #59

              I did some wind speed and direction sensor boards that I use in my own weather station design. All solid state and high resolution with analog signal readout, voltage for direction, 8 pulse per rev for speed. For inspiration see http://wws.us.to. Gary

              dbemowskD 1 Reply Last reply
              0
              • Luc3asL Luc3as

                @dbemowsk yup, actually there are 8 of them, each providing nominal 0,5 volts, so to power up the lipo charger for battery I need at least 4 volts, in direct sunlight I think this will not be problem, but as @dbemowsk says, it will not have ideal position to sun every day and for whole time. but there is big enough reserve at battery , providing power for few days to weeks even without solar panel.
                and I am also checking voltage on solar panel so if there would be some problem with charging I can set notifications or something from home automation system.

                gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #60

                @Luc3as if you put solar panels in series you will get resistance from the shaded ones (at least that is what I saw in some experiments) . It would be better to have a single one pointing south that gathers the most sunlight and that's it

                dbemowskD 1 Reply Last reply
                0
                • gohanG gohan

                  @Luc3as if you put solar panels in series you will get resistance from the shaded ones (at least that is what I saw in some experiments) . It would be better to have a single one pointing south that gathers the most sunlight and that's it

                  dbemowskD Offline
                  dbemowskD Offline
                  dbemowsk
                  wrote on last edited by
                  #61

                  @gohan said in MySensors weather station:

                  @Luc3as if you put solar panels in series you will get resistance from the shaded ones

                  That is correct, as far as what I have learned. Large monocrystaline and polycrystaline solar panels like the ones shown below have low to no output for the entire panel when one or more of the cells on a panel is shaded or covered.
                  0_1495767863204_upload-5b7ebb13-0e24-46c9-9309-63bcf0032e7a

                  Amorphous solar panels like these have closer to full output with less drop-off in shaded areas, but have a lower overall amperage output than monocrystaline and polycrystaline panels.
                  0_1495768140607_upload-6ac6d03c-ceb7-4228-ac66-8918a44a6ea5

                  The cells that @Luc3as has in his pic appear to be monocrystaline cells. Each cell will produce about 0.5 volts, so depending on the batteries you are using and the charging circuit, you could put some of these in series to create a couple banks, and then put the banks in parallel, you may get some usable power to charge a battery.

                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                  1 Reply Last reply
                  0
                  • G GaryStofer

                    I did some wind speed and direction sensor boards that I use in my own weather station design. All solid state and high resolution with analog signal readout, voltage for direction, 8 pulse per rev for speed. For inspiration see http://wws.us.to. Gary

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #62

                    @GaryStofer I was checking out your weather station design. Nice work. Out of curiosity, what did you use for your wind direction sensor?

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    G 1 Reply Last reply
                    0
                    • dbemowskD dbemowsk

                      @GaryStofer I was checking out your weather station design. Nice work. Out of curiosity, what did you use for your wind direction sensor?

                      G Offline
                      G Offline
                      GaryStofer
                      wrote on last edited by
                      #63

                      @dbemowsk Initially I uses an AS5030 encoder, but then I switched to the EM-3242 as it's much cheaper and smaller and does the same. My board has an Op-amp inverter to change the sense of angle to voltage so that the magnet can run on the top of the chip rather than on the bottom. Only problem we had with the EM-3242 was that it has no hysteresis which shows up at the 360/0 junction.

                      1 Reply Last reply
                      0
                      • dbemowskD Offline
                        dbemowskD Offline
                        dbemowsk
                        wrote on last edited by
                        #64

                        So, I had put this project on hold for a bit, but I am back at it. One of the parts of the project that I will be talking about in this post is the rain gauge portion of this. I had started a thread on this part a while back, but decided that I would combine everything for the weather station in this thread.

                        So one of the things with this rain gauge was that I wanted to make it fairly accurate. In my "tipping bucket rain gauge" thread, @BulldogLowell had mentioned that an 8 inch opening on the funnel is typical for what is used commercially, so I went with that and designed this:
                        0_1497912167330_upload-e18b1b01-0515-4e52-8869-e9ec3f454828
                        0_1497912228058_upload-93bcefc3-6e26-4066-897f-6f7e668ec752
                        Before I could print this on the 3D printer, I needed to print some different parts for my printer to allow for it to print the large size of the funnel. I also did some research on what type of plastic I should use before printing this monstrous part. Something I should have looked into more before printing the wind direction vane and wind speed rotor. Being that this will be outdoors in the sun it will need to have some UV resistance. I ended up settling on e-sun PETG filament. According to this review that I read, there was this statement that sold me on it:

                        "It can also maintain the finished product's toughness and prevent it from turning into a yellowish color. PETG also contains UV absorber and can serve as a protective layer from the influence of ultraviolet light."

                        At any rate, I just got my brand new roll of white and started the print:
                        0_1497913538802_upload-f3954b84-720b-42d5-bfa9-6674b7d6e7c1
                        I am running at a 0.24 layer height which should be fine for this. I am printing at 30 mm/s. Cura says 44 hours 40 minutes for the print, but the times from cura are usually a bit short. I am betting on about 48 hours total print time. This will be the largest print job I have ever had the printer do. The picture is at about 17 to 18 hours into the print.

                        Tonight I will be tweaking the design of the base that will hold the tipping bucket and sensor. I did some test prints a while back of the basic parts of this to see how they would function, and I think they worked well. This is the basic design that I have as of now:
                        0_1497915054416_upload-ac77942b-edef-44c7-b719-1c3f83dc2fca
                        A few tweaks to this and it should be good. The main thing is going to be figuring out how I want this to mount/attach to the rest of the system with the wind sensors and the arduino. Since this will just have the reed sensor, I will need to account for how it will get wired to the arduino. I am open for any suggestions on how to attach this to the rest of the sensors. My plan was to have some PVC pipes as the supports and mount things to that. I will need to watch out for the drain holes when mounting.

                        All in all I think the project is coming along despite having to put it on hold for a while. As always, I am open to any feedback or suggestions that anyone can give.

                        Thanks for reading.

                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                        gohanG 1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          MasterCATZ
                          wrote on last edited by
                          #65

                          thanks for this
                          one of my cups on my anemometer is broken might be able to tweak that file instead of starting from scratch now

                          dbemowskD 1 Reply Last reply
                          0
                          • M MasterCATZ

                            thanks for this
                            one of my cups on my anemometer is broken might be able to tweak that file instead of starting from scratch now

                            dbemowskD Offline
                            dbemowskD Offline
                            dbemowsk
                            wrote on last edited by
                            #66

                            @MasterCATZ the anemometer that I used was one that I found on thingiverse. The link is in the beginning of the thread, but I am sure you found that already. You may want to just create a whole new cup rotor for yours.

                            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                            1 Reply Last reply
                            0
                            • dbemowskD dbemowsk

                              So, I had put this project on hold for a bit, but I am back at it. One of the parts of the project that I will be talking about in this post is the rain gauge portion of this. I had started a thread on this part a while back, but decided that I would combine everything for the weather station in this thread.

                              So one of the things with this rain gauge was that I wanted to make it fairly accurate. In my "tipping bucket rain gauge" thread, @BulldogLowell had mentioned that an 8 inch opening on the funnel is typical for what is used commercially, so I went with that and designed this:
                              0_1497912167330_upload-e18b1b01-0515-4e52-8869-e9ec3f454828
                              0_1497912228058_upload-93bcefc3-6e26-4066-897f-6f7e668ec752
                              Before I could print this on the 3D printer, I needed to print some different parts for my printer to allow for it to print the large size of the funnel. I also did some research on what type of plastic I should use before printing this monstrous part. Something I should have looked into more before printing the wind direction vane and wind speed rotor. Being that this will be outdoors in the sun it will need to have some UV resistance. I ended up settling on e-sun PETG filament. According to this review that I read, there was this statement that sold me on it:

                              "It can also maintain the finished product's toughness and prevent it from turning into a yellowish color. PETG also contains UV absorber and can serve as a protective layer from the influence of ultraviolet light."

                              At any rate, I just got my brand new roll of white and started the print:
                              0_1497913538802_upload-f3954b84-720b-42d5-bfa9-6674b7d6e7c1
                              I am running at a 0.24 layer height which should be fine for this. I am printing at 30 mm/s. Cura says 44 hours 40 minutes for the print, but the times from cura are usually a bit short. I am betting on about 48 hours total print time. This will be the largest print job I have ever had the printer do. The picture is at about 17 to 18 hours into the print.

                              Tonight I will be tweaking the design of the base that will hold the tipping bucket and sensor. I did some test prints a while back of the basic parts of this to see how they would function, and I think they worked well. This is the basic design that I have as of now:
                              0_1497915054416_upload-ac77942b-edef-44c7-b719-1c3f83dc2fca
                              A few tweaks to this and it should be good. The main thing is going to be figuring out how I want this to mount/attach to the rest of the system with the wind sensors and the arduino. Since this will just have the reed sensor, I will need to account for how it will get wired to the arduino. I am open for any suggestions on how to attach this to the rest of the sensors. My plan was to have some PVC pipes as the supports and mount things to that. I will need to watch out for the drain holes when mounting.

                              All in all I think the project is coming along despite having to put it on hold for a while. As always, I am open to any feedback or suggestions that anyone can give.

                              Thanks for reading.

                              gohanG Offline
                              gohanG Offline
                              gohan
                              Mod
                              wrote on last edited by
                              #67

                              @dbemowsk that's quite a lot of support material ☺️

                              dbemowskD 1 Reply Last reply
                              0
                              • gohanG gohan

                                @dbemowsk that's quite a lot of support material ☺️

                                dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #68

                                @gohan I agree, but I wanted to play it safe for when it got to the main funnel part. I opted to set the structure type to lines instead of a grid to at least keep the waste down some.

                                Just over 24 hours into the print. As you can see in this updated pic, it is just starting to get to what will be the top part of the funnel where it is tapering in.
                                0_1497937820531_upload-83c04d37-8a81-45b2-9365-97b38eb56b4a

                                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                1 Reply Last reply
                                2
                                • dbemowskD Offline
                                  dbemowskD Offline
                                  dbemowsk
                                  wrote on last edited by
                                  #69

                                  Just an update on the progress. It just started on the box this morning. Should be finished tonight at some point.
                                  0_1497958856921_upload-537b0254-6498-4d49-86a9-5c88d9f525b6

                                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                  1 Reply Last reply
                                  2
                                  • M Offline
                                    M Offline
                                    marco4711
                                    wrote on last edited by
                                    #70

                                    Hello,

                                    I found this in the forum. Perhaps it helps for the wind direction detection.

                                    https://forum.mysensors.org/post/17825

                                    Especially here
                                    http://www.philpot.me/weatherinsider.html

                                    dbemowskD 1 Reply Last reply
                                    0
                                    • M marco4711

                                      Hello,

                                      I found this in the forum. Perhaps it helps for the wind direction detection.

                                      https://forum.mysensors.org/post/17825

                                      Especially here
                                      http://www.philpot.me/weatherinsider.html

                                      dbemowskD Offline
                                      dbemowskD Offline
                                      dbemowsk
                                      wrote on last edited by
                                      #71

                                      @marco4711 Thanks for the links. I still have a few more things that I want to try to get my setup working If it comes down to it, I may use MasterCATZ' idea of using a magnetic rotational sensor. I don't give up easily.

                                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                      1 Reply Last reply
                                      0
                                      • dbemowskD Offline
                                        dbemowskD Offline
                                        dbemowsk
                                        wrote on last edited by dbemowsk
                                        #72

                                        Well, the part finally finished. Roughly 46 hours. Overall, I think it will work good. It was a bit of a job clearing out all of the support material though.
                                        0_1498016481853_upload-8d7bd6b4-81c8-47d1-b5ea-634de160c85f

                                        The bottom turned out well.
                                        0_1498016713961_upload-c8b84df7-4dee-468d-baeb-ac2c8d91188b

                                        The first few layers had some issues, but really nothing that will defeat it's purpose. Had me worried for a short time though, but I gave it the benefit of the doubt.
                                        0_1498016851444_upload-f03e5ee9-a10f-498c-93dd-0d5985544c58

                                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                        1 Reply Last reply
                                        3
                                        • dbemowskD Offline
                                          dbemowskD Offline
                                          dbemowsk
                                          wrote on last edited by dbemowsk
                                          #73

                                          So, for the latest addition to my weather station, I decided to make a radiation shield to house a DHT22 temp and humidity sensor. I figured that I would also need a place to put the arduino to be used as a connection hub for everything and I figured this would be as good a place as any. This is my design for it:
                                          0_1498978951186_upload-fc2eb2a2-f4be-4e60-b58f-d8acacfde543

                                          The under side of the base is where the electronics will be mounted. I have designed the standoffs to mount an easy newbie board. and should have plenty of room for wire connections as these will be fairly basic.
                                          0_1498979383692_upload-f73c8994-4742-42f0-b710-6d097e4e3fbc

                                          In the event that water should get inside of the unit due to wind or other factors, I have designed the bottom cover with a tapered center going to a drain hole.
                                          0_1498979569506_upload-bba6491f-732a-4a60-bc61-897dc90f2f70

                                          I have the radiation shield and rain gauge partially assembled for now for programming and testing. I will get some better pictures of that tomorrow and post them to the thread.

                                          One other change that I decided on was for the wind direction sensor. Since I had a bit of trouble with the other designs that I tested using reed switches and IR phototransistors, I decided to try an AS5047P magnetic direction sensor. I ordered this one off of ebay. It was a bit expensive at $16 US plus $3.39 for shipping, but the person selling it mentioned that it comes with an extra chip. These sell on Digikey for $17 plus $7 and change for shipping, and the chips alone sell for around $9, so I didn't think it was that bad of a deal. I should have that later this week.
                                          0_1498980091138_upload-31626253-dcaf-4ca5-b68e-f4d11c479f05

                                          Once I get this assembled I think the last thing will be to figure out all of the programming, which I have a bit of a start on using the rain gauge code from the build section of the site. I have been researching the code for the anemometer, and that may take a bit of planning with everything else that I have running, but I think it can be done. With the new direction sensor module, that should be pretty straight forward as far as connection and code, I just need to decide if I want to connect it with SPI or straight analog. I am thinking though that this project is nearing completion. It was a bit of a learning curve building all of the parts, but I think it was a good journey.

                                          As mentioned, I'll post more pics tomorrow.

                                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                          1 Reply Last reply
                                          3
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          7

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular