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. Battery button sensor

Battery button sensor

Scheduled Pinned Locked Moved OpenHardware.io
mysensor
18 Posts 10 Posters 6.7k Views 13 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/26/Battery-button-sensor

    1 Reply Last reply
    3
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Great projects!

      Do you have a forum user?

      1 Reply Last reply
      0
      • Pierre PP Offline
        Pierre PP Offline
        Pierre P
        wrote on last edited by
        #3

        Oh YES it is a great project !

        No quote, no forum notification (else, the mail box ring every minutes !). Thanks, and have a very good MySensors day !

        1 Reply Last reply
        0
        • Ivan ZI Offline
          Ivan ZI Offline
          Ivan Z
          Hardware Contributor
          wrote on last edited by
          #4

          Yes I have

          1 Reply Last reply
          1
          • bjornhallbergB Offline
            bjornhallbergB Offline
            bjornhallberg
            Hero Member
            wrote on last edited by bjornhallberg
            #5

            Great idea for a compact button sensor such as a snailmail notifier or some such.

            Any thoughts on hardware debouncing ICs, such as MAX6816, MAX6817, MAX6818? Not to be a backseat driver here :) but something like that would be cool for a dedicated button sensor.

            1 Reply Last reply
            0
            • Ivan ZI Offline
              Ivan ZI Offline
              Ivan Z
              Hardware Contributor
              wrote on last edited by Ivan Z
              #6

              I wanted to make the most cheap device. And not set hardware debouncing.
              But set external pull-up resistors to reduce power consumption

              Sostware debouncing by delay in interrupt

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

                Cool. Are the 6 buttons onboard, I don't think so??? does it need to wire them external?
                Is it a reset button on the pic? Maybe I am too curious lol, I can't read your schem (I don't have diptrace). A schematic img could be useful.
                anyway, thx for share :) I have a more complex actuator in design progress, but your can be useful too and is simple :)

                1 Reply Last reply
                0
                • Ivan ZI Offline
                  Ivan ZI Offline
                  Ivan Z
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  Shem in PDF https://www.openhardware.io/download/56b1cc6b3363a1515ea71115/design/Btn1.pdf

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

                    oki I see :) so one onboard button, others are external. cool, can be useful. thx

                    1 Reply Last reply
                    0
                    • AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by Anticimex
                      #10

                      Hi,
                      I see you use CERN OHL but I do not find the required files in the repo.
                      Where do you store those?
                      According to the CERN OHL 1.2 howto, you need to provide the following documentation with your project:
                      LICENSE.PDF
                      cern_ohl_v_1_2_howto.pdf
                      PRODUCT.TXT
                      CHANGES.TXT

                      Please check the howto closely for how to use the license, or pick another license.

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      1 Reply Last reply
                      0
                      • Ivan ZI Offline
                        Ivan ZI Offline
                        Ivan Z
                        Hardware Contributor
                        wrote on last edited by
                        #11

                        Append license info

                        Debug device

                        sam debug photo
                        3_1455300763873_IMG_7113.JPG 2_1455300763873_IMG_7101.JPG 1_1455300763873_IMG_7099.JPG 0_1455300763873_IMG_7096.JPG image url)

                        1 Reply Last reply
                        1
                        • rvendrameR Offline
                          rvendrameR Offline
                          rvendrame
                          Hero Member
                          wrote on last edited by
                          #12

                          @Ivan-Z , how much do you expect for battery life (assuming a regular 250mA CR2032, in the scenario of a single button, regular daily usage in house lighting.

                          Home Assistant / Vera Plus UI7
                          ESP8266 GW + mySensors 2.3.2
                          Alexa / Google Home

                          1 Reply Last reply
                          0
                          • Ivan ZI Offline
                            Ivan ZI Offline
                            Ivan Z
                            Hardware Contributor
                            wrote on last edited by
                            #13

                            Update

                            • Error. Reversed MISO and MOSI
                            • Append Capacitor C1 on RESET
                            • Change diode component size to SOD-123
                            • Append Pad for external LED

                            Calculate battery life
                            Capacity rating of battery (mAh) = 250
                            Current consumption of device during sleep (mA) = 0.02
                            Current consumption of device during wake (mA) = 18
                            Number of wakeups per hour = 1
                            Duration of wake time (ms) = 20
                            Estimated battery life is: 440.51 days, or 1.21 years.

                            The device wakes up only when pressed button

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Samuel235
                              Hardware Contributor
                              wrote on last edited by
                              #14

                              This is pretty similar to what I'm currently doing, here. However, mine is just a light switch node, yours is more versatile by the looks of things. Looking pretty nifty though, nice work!

                              MySensors 2.1.1
                              Controller - OpenHAB (Virtual Machine)
                              Gateway - Arduino Mega MQTT Gateway W5100

                              1 Reply Last reply
                              0
                              • zeblongZ Offline
                                zeblongZ Offline
                                zeblong
                                wrote on last edited by
                                #15

                                @Ivan-Z Добрый день. Я тут новичек но мне ваше устройство хотелось бы попробовать. Я верно понимаю что тут не хватает документации что бы просто заказать производство плат (или изделий целиком)? Можете ли/хотите ли вы выложить их?

                                S 1 Reply Last reply
                                0
                                • zeblongZ zeblong

                                  @Ivan-Z Добрый день. Я тут новичек но мне ваше устройство хотелось бы попробовать. Я верно понимаю что тут не хватает документации что бы просто заказать производство плат (или изделий целиком)? Можете ли/хотите ли вы выложить их?

                                  S Offline
                                  S Offline
                                  Samuel235
                                  Hardware Contributor
                                  wrote on last edited by
                                  #16

                                  @zeblong

                                  As per the forum user guidelines, point 6 at the following link, https://forum.mysensors.org/topic/610/forum-user-guidelines, states;

                                  "6. As this is an English-speaking community, we require that posted content be in the English language, so that it can be well received and properly monitored."

                                  Please communicate using English spoken language, if anything it will help you get a response that is relevant.

                                  MySensors 2.1.1
                                  Controller - OpenHAB (Virtual Machine)
                                  Gateway - Arduino Mega MQTT Gateway W5100

                                  1 Reply Last reply
                                  1
                                  • zeblongZ Offline
                                    zeblongZ Offline
                                    zeblong
                                    wrote on last edited by
                                    #17

                                    @Samuel235
                                    Sorry. I will write in English.
                                    I want order manufacture this device. But manufacturer said to me that he need gerber and bom files. I want know can I get this files from Ivan? May be I can get this files from design files? What programm need to this?

                                    S 1 Reply Last reply
                                    1
                                    • zeblongZ zeblong

                                      @Samuel235
                                      Sorry. I will write in English.
                                      I want order manufacture this device. But manufacturer said to me that he need gerber and bom files. I want know can I get this files from Ivan? May be I can get this files from design files? What programm need to this?

                                      S Offline
                                      S Offline
                                      Samuel235
                                      Hardware Contributor
                                      wrote on last edited by
                                      #18

                                      @zeblong, you can generate these from the board files, however i'm leaving this one for @Ivan-Z to discuss with you as this is his device and he knows all details regarding this.

                                      MySensors 2.1.1
                                      Controller - OpenHAB (Virtual Machine)
                                      Gateway - Arduino Mega MQTT Gateway W5100

                                      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.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