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. OpenHardware.io
  3. 💬 Multi-Sensor: Temp/Humidity/PIR/ Leak/Magnet/Light/Accel

💬 Multi-Sensor: Temp/Humidity/PIR/ Leak/Magnet/Light/Accel

Scheduled Pinned Locked Moved OpenHardware.io
117 Posts 18 Posters 23.9k Views 17 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.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #30

    I just now uploaded some demo source code that will make the node into a proper MySensors temperature node.

    1 Reply Last reply
    1
    • NeverDieN Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by
      #31

      I just now uploaded the Version 4 files. The new design uses the more compact CR2032 battery holder discussed above. :)

      1 Reply Last reply
      0
      • Nca78N Nca78

        Also, what about moving the led to the center next to its resistor, it would leave enough space to squeeze in a SOT 23 ultra low power hall sensor and it's 100nF capacitor.

        NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by
        #32

        @Nca78 said in 💬 CR2032 Small Wireless Temperature-Humidity Sensor:

        Also, what about moving the led to the center next to its resistor, it would leave enough space to squeeze in a SOT 23 ultra low power hall sensor and it's 100nF capacitor.

        Yes, with the Version 4 design serving as the basis, I think there will be enough room to do this.

        I'd also like to add a light sensor of some kind: something that will trigger an interrupt when, say, a refrigerator light goes on or off (for the case where the temperature node is in a refrigertor or freezer). Do you have any particular suggestions for that? A simple photoresistor, or would there be something better (lower current)?
        alt text

        NeverDieN 1 Reply Last reply
        1
        • Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #33

          Low current light sensor with interrupt, you have OPT3001 and MAX44009. MAX44009 has the lowest power but it doesn't have the same availability (not on Arrows for example).
          If you're planning to use it from breakout board (as they are boath really tiny) then MAX44009 is the best choice as it's cheaper on AliExpress.

          If you want one that you can solder by hand you can check VEML7700, it's cheap, has low power consumption (2uA) if you use a low refresh rate. But it goes only down to 2.5V so you will lose a bit of the capacity of the button cell, and it has no interrupt pin.

          NeverDieN 1 Reply Last reply
          1
          • Nca78N Nca78

            Also, what about moving the led to the center next to its resistor, it would leave enough space to squeeze in a SOT 23 ultra low power hall sensor and it's 100nF capacitor.

            NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by
            #34

            @Nca78 said in 💬 CR2032 Small Wireless Temperature-Humidity Sensor:

            Also, what about moving the led to the center next to its resistor, it would leave enough space to squeeze in a SOT 23 ultra low power hall sensor and it's 100nF capacitor.

            Done. I just now uploaded Version 5, which has the TI hall effect sensor.

            1 Reply Last reply
            1
            • Nca78N Nca78

              Low current light sensor with interrupt, you have OPT3001 and MAX44009. MAX44009 has the lowest power but it doesn't have the same availability (not on Arrows for example).
              If you're planning to use it from breakout board (as they are boath really tiny) then MAX44009 is the best choice as it's cheaper on AliExpress.

              If you want one that you can solder by hand you can check VEML7700, it's cheap, has low power consumption (2uA) if you use a low refresh rate. But it goes only down to 2.5V so you will lose a bit of the capacity of the button cell, and it has no interrupt pin.

              NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #35

              @Nca78 said in 💬 CR2032 Small Wireless Temperature-Humidity Sensor:

              MAX44009 has the lowest power but it doesn't have the same availability (not on Arrows for example).
              If you're planning to use it from breakout board (as they are boath really tiny) then MAX44009 is the best choice as it's cheaper on AliExpress.

              Looks as though if I add just one more header pin, then I can use this board:
              https://www.aliexpress.com/item/MAX44009-Ambient-Light-Sensor-Module-with-4P-Pin-Header-Module/32729312303.html?spm=2114.search0204.3.47.XOZuu8&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10344_10068_10130_10345_10324_10342_10547_10325_10343_10546_10340_10341_10548_10545_10541_10562_10084_10083_10307_10178_10060_10155_5680017_10154_10056_10055_10539_10537_10312_10536_10059_10313_10314_10534_10533_100031_10103_10073_10102_10557_10558_10142_10107-10178,searchweb201603_25,ppcSwitch_4_ppcChannel&btsid=ca20f561-ad43-4536-b09f-7856bf41fbb2&algo_expid=0601cfd8-6d07-4336-aefc-c06bc54166ac-2&algo_pvid=0601cfd8-6d07-4336-aefc-c06bc54166ac
              That way I could capture the interrupt.

              1 Reply Last reply
              0
              • NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by
                #36

                OK, I just now uploaded the files for Version 6, which does just that. Unless someone can think of another sensor to add, I think this will be the final version (unless errors are discovered). :)

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  ghiglie
                  wrote on last edited by
                  #37

                  I'm quite a noob, but totally with the NRF. Interesting PCB, I'll try asap to put a sensor together!

                  atmega328p serial killer
                  HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

                  1 Reply Last reply
                  1
                  • NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #38

                    I made one last change to add water leak detection to it. I just now uploaded the version 7 files. :)

                    1 Reply Last reply
                    0
                    • NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #39

                      I have the Version 1 design now working with the si7021 breakout board that I got from Aliexpress. Note that if you use these breakout boards, remember to remove the voltage regulator and solder bridge across the two pins as shown in the photo below:
                      0_1510533517110_si7021_1.jpg
                      This is because the coin-cell voltage is already in the desired range, and so there's no need for further voltage reduction.

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        Toyman
                        wrote on last edited by
                        #40

                        Is v7 already for CR2477? BOM still mentions CR2032

                        NeverDieN 1 Reply Last reply
                        0
                        • T Toyman

                          Is v7 already for CR2477? BOM still mentions CR2032

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by NeverDie
                          #41

                          @Toyman said in 💬 Small Wireless Temp/Humidity Leak/Magnet/Light/Accel Sensor:

                          Is v7 already for CR2477? BOM still mentions CR2032

                          If I had kept the same button cell holder as some of the earlier version it would be. However, I switched to a narrower profile battery holder in the BOM (which benefits the leakage sensor part of the design). Not sure if an equivalent CR2477 holder is still available with the new design. Haven't checked. When I brought up the possibility of a CR2477 earlier, it didn't seem to generate much enthusiasm at the time. So, I took that to mean most people weren't really interested.

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            krisha
                            wrote on last edited by krisha
                            #42

                            Nice project!

                            What about adding two resistors to measure and send the battery level as well?

                            NeverDieN 1 Reply Last reply
                            0
                            • K krisha

                              Nice project!

                              What about adding two resistors to measure and send the battery level as well?

                              NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #43

                              @krisha said in 💬 Small Wireless Temp/Humidity Leak/Magnet/Light/Accel Sensor:

                              What about adding two resistors to measure and send the battery level as well?

                              not needed. You can measure the battery voltage without a divider.

                              1 Reply Last reply
                              0
                              • NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by
                                #44

                                I just now uploaded the Version 8 files, which contains pads for an optional 100uF ceramic capacitor. Thank you to @nca78 and @scalz for the suggestion.

                                1 Reply Last reply
                                1
                                • NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by
                                  #45

                                  Now reads temperature and humidity from the si7021 and sends the values to Domoticz for graphing:
                                  0_1510597422867_TempHum.png

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    ghiglie
                                    wrote on last edited by
                                    #46

                                    ...another n00b question: what are the PCB dimensions?

                                    atmega328p serial killer
                                    HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • G ghiglie

                                      ...another n00b question: what are the PCB dimensions?

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by
                                      #47

                                      @ghiglie said in 💬 Multi-Sensor: Temp/Humidity Leak/Magnet/Light/Accel:

                                      ...another n00b question: what are the PCB dimensions?

                                      The diameter is 27.15mm.

                                      G 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @ghiglie said in 💬 Multi-Sensor: Temp/Humidity Leak/Magnet/Light/Accel:

                                        ...another n00b question: what are the PCB dimensions?

                                        The diameter is 27.15mm.

                                        G Offline
                                        G Offline
                                        ghiglie
                                        wrote on last edited by
                                        #48

                                        @NeverDie Thanks! I'll ask the fab if they can do it without charging extra costs. Or I'll "square" it - maybe with a hole in the angles to screw it. Really like this design.

                                        atmega328p serial killer
                                        HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

                                        NeverDieN 1 Reply Last reply
                                        0
                                        • G ghiglie

                                          @NeverDie Thanks! I'll ask the fab if they can do it without charging extra costs. Or I'll "square" it - maybe with a hole in the angles to screw it. Really like this design.

                                          NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #49

                                          @ghiglie What is it that you'd want to screw it to? It might be easier to just tape it or glue it in place. It's light enough that it wouldn't need much holding strength. Screwing may be overkill.

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


                                          18

                                          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