Skip to content
  • 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. My Project
  3. My generic room-senser (Sensebender with Motion and Light)
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

My generic room-senser (Sensebender with Motion and Light)

Scheduled Pinned Locked Moved My Project
16 Posts 5 Posters 15.6k 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.
  • DwaltD Offline
    DwaltD Offline
    Dwalt
    wrote on last edited by
    #4

    Thanks, I will try your suggestion.

    I have a 22k on the PIR to ground and a 2k on the LDR. I need to try differing resistors on the light sensor to adjust to the 3V ( I am used to 5V on my other LDRs).

    Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #5

      @Dwalt

      The preprogrammed sketch is a bit outdated, compared to the one on github where I had been working on minimizing transmissions with a moving average.

      Been running the github version for some weeks in my two prototype nodes, but still need some adjustments to the temperature part, as it still seems to trigger a transmit with a little temperature deviation

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #6

        Hmm.. seems like some expensive sensors.. 16.75$ from mouser.

        DwaltD 1 Reply Last reply
        0
        • tbowmoT tbowmo

          Hmm.. seems like some expensive sensors.. 16.75$ from mouser.

          DwaltD Offline
          DwaltD Offline
          Dwalt
          wrote on last edited by
          #7

          @tbowmo I think they have been discontinued and that makes them hard to find, I picked them up from a government surplus sale for cheap. I like them because they are very compact and are low power.

          Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

          tbowmoT 1 Reply Last reply
          0
          • DwaltD Dwalt

            @tbowmo I think they have been discontinued and that makes them hard to find, I picked them up from a government surplus sale for cheap. I like them because they are very compact and are low power.

            tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #8

            @Dwalt

            Mouse has ekmb variants on stock, but as said before they are relatively expensive (19€ a piece for the 2uA version, while 6uA is a bit cheaper). Are thinking that I need a couple of samples next time I order from them.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mvader
              wrote on last edited by
              #9

              @Dwalt - I really like this project and i'm looking to tag along building my own.
              a few questions if you don't mind.

              1. what were the resistors for? the battery?
              2. can i just get the light sensor and run it off d7? i don't need a "light sensor board"?
              3. i like your choice of case. do you think a double A battery holder will fit inside that? everything else would end up being the same, except i'd be using AA instead of CR123

              4)how is your battery life?

              Thanks!

              DwaltD 1 Reply Last reply
              0
              • M mvader

                @Dwalt - I really like this project and i'm looking to tag along building my own.
                a few questions if you don't mind.

                1. what were the resistors for? the battery?
                2. can i just get the light sensor and run it off d7? i don't need a "light sensor board"?
                3. i like your choice of case. do you think a double A battery holder will fit inside that? everything else would end up being the same, except i'd be using AA instead of CR123

                4)how is your battery life?

                Thanks!

                DwaltD Offline
                DwaltD Offline
                Dwalt
                wrote on last edited by
                #10

                @mvader 1. The resistors are for the LDR and PIR.
                2. I use LDRs (and occasionally photo transistors) for light measurement. They do not return lux readings but simple voltage readings which can be converted in your sketch to an unscientific % value of light level which is good enough for most HA purposes.
                3. The case is too small for my 2-AA battery holders.

                Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                Moshe LivneM 1 Reply Last reply
                0
                • DwaltD Dwalt

                  @mvader 1. The resistors are for the LDR and PIR.
                  2. I use LDRs (and occasionally photo transistors) for light measurement. They do not return lux readings but simple voltage readings which can be converted in your sketch to an unscientific % value of light level which is good enough for most HA purposes.
                  3. The case is too small for my 2-AA battery holders.

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #11

                  @Dwalt how is the battery holding? I have a need for very similar sensors but with hall effect or reed to sense the opening and closing of the air conditioning flaps to sense if they are on or off. The case is too small for 2xaa or 2xaaa so looking at other ideas. I remember something being said about using a li-io battery is not a great idea? or was it only rechargeable?

                  DwaltD 1 Reply Last reply
                  0
                  • Moshe LivneM Moshe Livne

                    @Dwalt how is the battery holding? I have a need for very similar sensors but with hall effect or reed to sense the opening and closing of the air conditioning flaps to sense if they are on or off. The case is too small for 2xaa or 2xaaa so looking at other ideas. I remember something being said about using a li-io battery is not a great idea? or was it only rechargeable?

                    DwaltD Offline
                    DwaltD Offline
                    Dwalt
                    wrote on last edited by
                    #12

                    @Moshe-Livne The batteries have not dropped in the last two weeks although they all read around 80% during the first battery report. One of three actually has dropped 1%, the other two are steady. The 80% initial reading comes from the sketch which I believe is calibrated for 3.3V as 100%. I tested my CR123s before using them and they all read exactly 3V. They are Lithium (Li-MNO2) but not rechargeable (Lithium Ion). Typically they run around $1-$1.5. I picked up around 50 when RadioShack went belly-up this winter for 5 for $1. They have a very small self discharge rate and 10 year shelf life. Below is a picture of my case lid with a 2-AA holder inserted. Technically it fits, but no room for anything else and the case is hard to close. Also shown is the lid of one of my recently built sensors with the CR123 holder.
                    IMG_20150705_215645.jpg

                    Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                    Moshe LivneM 1 Reply Last reply
                    0
                    • DwaltD Dwalt

                      @Moshe-Livne The batteries have not dropped in the last two weeks although they all read around 80% during the first battery report. One of three actually has dropped 1%, the other two are steady. The 80% initial reading comes from the sketch which I believe is calibrated for 3.3V as 100%. I tested my CR123s before using them and they all read exactly 3V. They are Lithium (Li-MNO2) but not rechargeable (Lithium Ion). Typically they run around $1-$1.5. I picked up around 50 when RadioShack went belly-up this winter for 5 for $1. They have a very small self discharge rate and 10 year shelf life. Below is a picture of my case lid with a 2-AA holder inserted. Technically it fits, but no room for anything else and the case is hard to close. Also shown is the lid of one of my recently built sensors with the CR123 holder.
                      IMG_20150705_215645.jpg

                      Moshe LivneM Offline
                      Moshe LivneM Offline
                      Moshe Livne
                      Hero Member
                      wrote on last edited by
                      #13

                      @Dwalt Thanks! I think i'll go that way as well.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mvader
                        wrote on last edited by
                        #14

                        @Dwalt Thanks for the pics.
                        but as I've already invested in over 20 AA battery holders, I'll need to find a new case solution.
                        I have decided to use a LDR as well. I was planning to use rechargeable AA batteries.
                        but they are 2.6v total instead of 3v so i guess i'm going to stick with alkaline.

                        Moshe LivneM 1 Reply Last reply
                        0
                        • M mvader

                          @Dwalt Thanks for the pics.
                          but as I've already invested in over 20 AA battery holders, I'll need to find a new case solution.
                          I have decided to use a LDR as well. I was planning to use rechargeable AA batteries.
                          but they are 2.6v total instead of 3v so i guess i'm going to stick with alkaline.

                          Moshe LivneM Offline
                          Moshe LivneM Offline
                          Moshe Livne
                          Hero Member
                          wrote on last edited by
                          #15

                          @mvader These are perfect for 2aa powered sensors although slightly ominous http://www.aliexpress.com/item/Dummy-Security-Camera-CCTV-Home-Dome-Camera-With-Red-Flashing-Light-Woshida/32317143038.html?spm=2114.32010308.4.11.8z1AAX

                          they are basically empty. for 2.5$ you get a case, a battery holder and a clear dome.... Even a switch!!!! Best deal in the world.

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tomkxy
                            wrote on last edited by
                            #16
                            This post is deleted!
                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            12

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.0k

                            Posts


                            Copyright 2019 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
                            • OpenHardware.io
                            • Categories
                            • Recent
                            • Tags
                            • Popular