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. Hardware
  3. fody weather station, wind sensor

fody weather station, wind sensor

Scheduled Pinned Locked Moved Hardware
windwinddirectiongusthyt221weatherwindspeedfodyhytht01dweather station
36 Posts 7 Posters 11.8k Views 7 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.
  • F flopp

    I have now opened the outdoor unit.
    Anyone that have a code for collection data from 8 IR receivers?
    I need to find out what voltage the IR emitter is using, so I don't burn it.
    EDIT: google says 1,4-1,6 volt
    For wind it is simple to use interrupt
    Temperature and Humidity I don't know what kind of sensor it is, that one I can easily change to e.g. si7021/SHT21

    For wind direction it is using IR.
    0_1492021855639_20170412_173801851_iOS.jpg
    wheel to control where IR is pointing
    0_1492021875669_20170412_173748866_iOS.jpg

    For wind speed it is reed switch
    0_1492021884444_20170412_172345698_iOS.jpg

    Control board
    0_1492021910190_20170412_163334189_iOS.jpg

    Temperature and Humidity, about 2 cm high
    0_1493054964117_20170416_130328062_iOS.jpg

    AWIA Offline
    AWIA Offline
    AWI
    Hero Member
    wrote on last edited by
    #3

    @flopp the Ir 'emitter' is probably a led so you need a current of a few milli amps. Start low (1 kOhm in series) and find out when it starts to function.

    F 1 Reply Last reply
    1
    • AWIA AWI

      @flopp the Ir 'emitter' is probably a led so you need a current of a few milli amps. Start low (1 kOhm in series) and find out when it starts to function.

      F Offline
      F Offline
      flopp
      wrote on last edited by flopp
      #4

      @AWI
      Thanks.
      EDIT: give it 3,3 or 5 volt, use 512 ohm works.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flopp
        wrote on last edited by flopp
        #5

        EDIT: I use digital input with pullup to see what sensor that receives the light
        So far I have a code for reading the direction and sending it to Controller.
        I will continue to add code for WindSpeed, Temp, Hum and Rain

        1 Reply Last reply
        1
        • F Offline
          F Offline
          flopp
          wrote on last edited by
          #6

          It was a HT-01D sensor for measuring temp/hum. It is I2C and address is 0x28.
          I found code for HYT 221 that worked fine.
          https://github.com/stylesuxx/Arduino-HYT-221-I2C

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

            I was looking at another product but your seems more easily hackable :)

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

              For anyone interested, I am in the process of designing a fully 3D printable weather station. The plan for the 3D printable parts will be:

              • rain gauge
              • combined wind speed and wind direction sensors
              • radiation shield that will house sensors for temp, humidity, barometric pressure and possibly a lux sensor.
              • central brain box for holding the MySensors electronics to control everything.

              I am just finishing the wind speed and direction sensor parts today. I will post pics later. I have a post in this category for the rain gauge that will be part of the station. I am designing all the parts myself. I still need to figure out a few more parts plus the MySensors electronics and code. I'll post everything as I get the different parts 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
              1
              • F Offline
                F Offline
                flopp
                wrote on last edited by flopp
                #9
                This post is deleted!
                gohanG 1 Reply Last reply
                0
                • F flopp

                  This post is deleted!

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

                  @flopp are you still using old library version? Are you going to make it a battery powered node or else? I noticed you didn't use any sleep in the code

                  F 1 Reply Last reply
                  0
                  • gohanG gohan

                    @flopp are you still using old library version? Are you going to make it a battery powered node or else? I noticed you didn't use any sleep in the code

                    F Offline
                    F Offline
                    flopp
                    wrote on last edited by flopp
                    #11

                    @gohan said in fody weather station, wind sensor:

                    @flopp are you still using old library version?

                    Yes, this is for 1.5

                    Are you going to make it a battery powered node or else?I noticed you didn't use any sleep in the code

                    This is powered from a PC, not battery. I want data very often that's why it is not battery powered. I can also change the code if something is wrong.

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      flopp
                      wrote on last edited by
                      #12
                      This post is deleted!
                      sundberg84S 1 Reply Last reply
                      1
                      • F flopp

                        This post is deleted!

                        sundberg84S Offline
                        sundberg84S Offline
                        sundberg84
                        Hardware Contributor
                        wrote on last edited by sundberg84
                        #13

                        @flopp - any more images? :)

                        Controller: Proxmox VM - Home Assistant
                        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                        F 1 Reply Last reply
                        0
                        • sundberg84S sundberg84

                          @flopp - any more images? :)

                          F Offline
                          F Offline
                          flopp
                          wrote on last edited by flopp
                          #14

                          @sundberg84
                          Can upload some later today.
                          I found that I have some problem with the NRf, so I need to open it up.
                          Will upload new code later today, as well.

                          1 Reply Last reply
                          1
                          • F Offline
                            F Offline
                            flopp
                            wrote on last edited by flopp
                            #15
                            This post is deleted!
                            1 Reply Last reply
                            1
                            • F Offline
                              F Offline
                              flopp
                              wrote on last edited by
                              #16

                              some pictures
                              0_1493054883191_20170424_160412832_iOS.jpg 0_1493054891231_20170424_160402858_iOS.jpg 0_1493054901570_20170424_160025939_iOS.jpg 0_1493054908764_20170424_160020368_iOS.jpg

                              1 Reply Last reply
                              1
                              • F Offline
                                F Offline
                                flopp
                                wrote on last edited by flopp
                                #17

                                I am using this water proof connector for USB connection.
                                https://www.aliexpress.com/item/Free-Shipping-3-Sets-All-New-4-Pin-Waterproof-Electrical-Wire-Connector-Plug-HID-Male-female/32264045957.html

                                in sweden you can buy it at Biltema

                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  flopp
                                  wrote on last edited by
                                  #18

                                  I have not verify all the code yet.
                                  Wind direction is correct.
                                  Temp is little bit higher then another temp that I have on shadow so maybe the radiation shield is not working 100%
                                  Hum: my other sensor that I have outdoor broke a few weeks ago, so nothing to compare with
                                  Wind Speed: I want to verify with an RPM tool. I get some extra indication from reeed switch.
                                  Every second indication is below 1000 micros which is 1 millisecond, which is 1000m/s
                                  Rain: lucky or unlucky I have not had any rain when the mast was up and running

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

                                    Maybe you need a better heat shield, did you try some aluminum foil?

                                    F 1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      Maybe you need a better heat shield, did you try some aluminum foil?

                                      F Offline
                                      F Offline
                                      flopp
                                      wrote on last edited by
                                      #20

                                      @gohan said in fody weather station, wind sensor:

                                      Maybe you need a better heat shield, did you try some aluminum foil?

                                      Good idea :)
                                      Should I have the foil inside the shield or outside?
                                      Any pics if you done it yourself?
                                      I think I need some air through the shield so it can cool down.

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

                                        I haven't done anything yet, I'm just trying to apply some cheap physics 😀
                                        I'd start from the outside and see what happens

                                        F 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          I haven't done anything yet, I'm just trying to apply some cheap physics 😀
                                          I'd start from the outside and see what happens

                                          F Offline
                                          F Offline
                                          flopp
                                          wrote on last edited by
                                          #22

                                          @gohan
                                          Ok, thanks.

                                          I will try it tomorrow

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


                                          20

                                          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