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. ๐Ÿ’ฌ Door/Window Sensor

๐Ÿ’ฌ Door/Window Sensor

Scheduled Pinned Locked Moved OpenHardware.io
contest2017doorwindowmysensorsbatterynrf24l01
10 Posts 5 Posters 4.2k Views 4 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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/266/DoorWindow-Sensor

    1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #2

      @Takero
      Cool. Glad to see i inspire :)
      So a little advice, if it can help and prevent you for some disappointment ;)

      Looking at your schematic, your choice for power supply not really great...

      I have a circuit around this booster (never had time to release..) but it's a very optimized circuit 1-2uA max depending of app...
      Here, not talking about the efficiency (because it's <80% even if 2V VIN so you wastes more energy vs an ultra efficient), MCP1640 uses at least 19uA for itself, without any circuit load ! And the resistor divider at MCP output also consumes etc...

      So you're greatly reducing battery life!

      • No regul = door sensor should be a very few uA whereas..
      • Basic MCP1640 circuit = 19uA, and there's also the resistor divider which consumes...your node should be something like 20-21uA min, for door contact

      Maths are easy then ;)

      For using a booster, you need to take care of a lot of things if you want efficiency, low power consumption etc..

      just in case you didn't pay attention..
      Keep the good work.

      1 Reply Last reply
      0
      • TakeroT Offline
        TakeroT Offline
        Takero
        Hardware Contributor
        wrote on last edited by
        #3

        Thanks for review :-)

        Yes 19uA is to mutch!

        Your circuit works with MCP1640 or an other IC? In my experience the NRF24 needs a stable 3.3V Power to work well,
        especially if you use Signing and OTA.

        I look around for another solution. . .

        Nca78N 1 Reply Last reply
        0
        • TakeroT Takero

          Thanks for review :-)

          Yes 19uA is to mutch!

          Your circuit works with MCP1640 or an other IC? In my experience the NRF24 needs a stable 3.3V Power to work well,
          especially if you use Signing and OTA.

          I look around for another solution. . .

          Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #4

          @Takero said:

          Thanks for review :-)

          Yes 19uA is to mutch!

          Your circuit works with MCP1640 or an other IC? In my experience the NRF24 needs a stable 3.3V Power to work well,
          especially if you use Signing and OTA.

          I look around for another solution. . .

          Hello, you can power the nrf24 down to 1.9V. The CR2032 will be nearly dead at 2.4V anyway and that's high enough to transmit with the NRF24. I don't think you should take OTA into consideration for a CR2032 node, long continuous transfer of data will kill the battery in no time. Signing will make the radio transfers a bit longer but it should not be problem for a door sensor.

          I think you should just power from the CR2032 with help from capacitor and enjoy a much smaller board, with a cheaper pcb if you get below 5cm length and faster to solder ;)
          You could even save one reed switch and use only one, if it's in the middle of the board on one side, as your board is rectangular you could just put it upside down if you need the reed swith on the other side ?

          1 Reply Last reply
          1
          • TakeroT Offline
            TakeroT Offline
            Takero
            Hardware Contributor
            wrote on last edited by
            #5

            I will try it direct on the CR2032.

            You are right, OTA not needed and not possible. The second Reed is for a second Window, i would trace it seperatly.
            It's for a doble Window, the sensor is placed in the middle of booth windows.

            1 Reply Last reply
            2
            • TakeroT Offline
              TakeroT Offline
              Takero
              Hardware Contributor
              wrote on last edited by
              #6

              Final Version is tested and released. Have fun!

              1 Reply Last reply
              0
              • A Offline
                A Offline
                artipi
                wrote on last edited by
                #7

                Hello @Takero,

                thanks for your nice work!

                How long does the battery hold? is the consumption still at 19uA?

                1 Reply Last reply
                0
                • TakeroT Offline
                  TakeroT Offline
                  Takero
                  Hardware Contributor
                  wrote on last edited by Takero
                  #8

                  Yes the consumption is still at 19ยตA, but while sending it increase up to 100mA. The Standby Time is depends on the interval of open/close Windows. For me it was not really ennoth (2-3 month), so i redesigned this Project.

                  Just look in my Projects -> Door/Windows AAA

                  Greetings

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

                    But why did you have so much power consumption ? With high value pullup resistors you should be able to go well below 10uA ?

                    1 Reply Last reply
                    0
                    • TakeroT Offline
                      TakeroT Offline
                      Takero
                      Hardware Contributor
                      wrote on last edited by
                      #10

                      In deep Sleep the cunsumption is below 19ยตA, but i have to send with PA_MAX. On some Windows the open/close frequency is verry high, so the battery is to fast emty.

                      The CR2032 is good, but i want more "lifetime"

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


                      15

                      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