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. My Project
  3. 3 in 1 incl battery monitor

3 in 1 incl battery monitor

Scheduled Pinned Locked Moved My Project
60 Posts 11 Posters 30.0k Views 12 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.
  • D Offline
    D Offline
    Dylano
    wrote on last edited by Dylano
    #46

    @ Carlied,

    What code is better that one of you or the one from cosmi gate?

    What are the different thing? Is your code check'the battery status?

    And i get a error:
    no matching function for call to 'MySensor::MySensor(MyTransportRFM69&, MyHwATMega328&, MySigningAtsha204Soft&)'

    Domoticz, with a lot of working hardware, include mysensors :-)
    OpenPLI, RuneAudio, Solarmeter, etc......

    Not a great builder of software and hardware, more a user...
    Only i try to do my best :-(

    1 Reply Last reply
    0
    • carlierdC Offline
      carlierdC Offline
      carlierd
      wrote on last edited by
      #47

      The error is because I enable the signing function !
      Remove the following line:

      MySigningAtsha204Soft signer;
      

      And replace

      MySensor node(transport, hw, signer);
      

      by

      MySensor node(transport, hw);
      

      I don't know who had the best sketch.
      I measure internal battery status using the 1.1 reference.

      David.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dylano
        wrote on last edited by
        #48

        When i put this sketch in to a nano..
        With a 9volt battery....
        How long do think this working?

        Or how long is this acting on your 3 volt battery's?

        Domoticz, with a lot of working hardware, include mysensors :-)
        OpenPLI, RuneAudio, Solarmeter, etc......

        Not a great builder of software and hardware, more a user...
        Only i try to do my best :-(

        1 Reply Last reply
        0
        • carlierdC Offline
          carlierdC Offline
          carlierd
          wrote on last edited by
          #49

          It depends on the activity close to the sensor so not possible to say but some people reach several month without problem.
          In my house it's very fresh so I have not a lot of feedback to give.

          David.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dylano
            wrote on last edited by Dylano
            #50

            5 days....:-1: on a 9volt block
            The sketch on a nano
            On my toilet.... so not a very busy room

            Is there some one that live longer, with this sketch......?

            Domoticz, with a lot of working hardware, include mysensors :-)
            OpenPLI, RuneAudio, Solarmeter, etc......

            Not a great builder of software and hardware, more a user...
            Only i try to do my best :-(

            1 Reply Last reply
            0
            • icebobI icebob

              @the-cosmic-gate Nothing special. I made a big sketch, which contains 7-8 sensors (DHT, Si7021, MQ-2/9, PIR, Door magnet, Light, battery) reading code because I would like to upload the same sketch to all nodes and configurate it on controller side, which sensors is on the node and need to read.
              But currently I reached the limit with I2C includes, so I need to think over this solution.

              D Offline
              D Offline
              Dylano
              wrote on last edited by
              #51

              @icebob said:

              @the-cosmic-gate Nothing special. I made a big sketch, which contains 7-8 sensors (DHT, Si7021, MQ-2/9, PIR, Door magnet, Light, battery) reading code because I would like to upload the same sketch to all nodes and configurate it on controller side, which sensors is on the node and need to read.
              But currently I reached the limit with I2C includes, so I need to think over this solution.

              Dear..
              Did you finish your big code....

              Domoticz, with a lot of working hardware, include mysensors :-)
              OpenPLI, RuneAudio, Solarmeter, etc......

              Not a great builder of software and hardware, more a user...
              Only i try to do my best :-(

              1 Reply Last reply
              0
              • carlierdC Offline
                carlierdC Offline
                carlierd
                wrote on last edited by
                #52

                Hello,

                9v means that you are using a voltage regulator which probably consumes a lot of power.
                Why not using AA or AAA battery directly connected to Vcc ?

                David

                D 1 Reply Last reply
                0
                • carlierdC carlierd

                  Hello,

                  9v means that you are using a voltage regulator which probably consumes a lot of power.
                  Why not using AA or AAA battery directly connected to Vcc ?

                  David

                  D Offline
                  D Offline
                  Dylano
                  wrote on last edited by
                  #53

                  @carlierd said:

                  Hello,

                  9v means that you are using a voltage regulator which probably consumes a lot of power.
                  Why not using AA or AAA battery directly connected to Vcc ?

                  David

                  Motion and DHT needed 5volt i wash thinking..?
                  So 9 @ the vcc should be strong enough i was thinking.
                  And i do have @ the same time 3.5 for the radio

                  Are the extern step up better than the step down on a nano?

                  Domoticz, with a lot of working hardware, include mysensors :-)
                  OpenPLI, RuneAudio, Solarmeter, etc......

                  Not a great builder of software and hardware, more a user...
                  Only i try to do my best :-(

                  1 Reply Last reply
                  0
                  • carlierdC Offline
                    carlierdC Offline
                    carlierd
                    wrote on last edited by
                    #54

                    The motion can be adapt to run on 3v easily (connect the Vcc to the H pad if available. You can find information on the forum). The DHT could also run on 3v. I have several nodes like that. No problem.
                    Can't reply for the step-up because I don't use it.

                    David.

                    D 1 Reply Last reply
                    0
                    • carlierdC carlierd

                      The motion can be adapt to run on 3v easily (connect the Vcc to the H pad if available. You can find information on the forum). The DHT could also run on 3v. I have several nodes like that. No problem.
                      Can't reply for the step-up because I don't use it.

                      David.

                      D Offline
                      D Offline
                      Dylano
                      wrote on last edited by
                      #55

                      @carlierd said:

                      The motion can be adapt to run on 3v easily (connect the Vcc to the H pad if available. You can find information on the forum). The DHT could also run on 3v. I have several nodes like that. No problem.
                      Can't reply for the step-up because I don't use it.

                      David.

                      @ David

                      How long is the 3v battery running whit this option?

                      Domoticz, with a lot of working hardware, include mysensors :-)
                      OpenPLI, RuneAudio, Solarmeter, etc......

                      Not a great builder of software and hardware, more a user...
                      Only i try to do my best :-(

                      1 Reply Last reply
                      0
                      • carlierdC Offline
                        carlierdC Offline
                        carlierd
                        wrote on last edited by
                        #56

                        @Dylano : My nodes are really new so difficult to say exactly but for the moment the oldest node was started one month ago (04/02) and battery still at 3.32v.

                        David.

                        1 Reply Last reply
                        0
                        • the cosmic gateT Offline
                          the cosmic gateT Offline
                          the cosmic gate
                          wrote on last edited by
                          #57

                          i'am back in business after the "big move" and going to try again to get this 4:1 sensor working for a long time uning 2 x AA batteries.
                          If someone has some new input, please let me know :) and feel free to change the sketch

                          There's more than meets the eye

                          carlierdC 1 Reply Last reply
                          0
                          • the cosmic gateT the cosmic gate

                            i'am back in business after the "big move" and going to try again to get this 4:1 sensor working for a long time uning 2 x AA batteries.
                            If someone has some new input, please let me know :) and feel free to change the sketch

                            carlierdC Offline
                            carlierdC Offline
                            carlierd
                            wrote on last edited by
                            #58

                            @the-cosmic-gate
                            Hello,
                            Motion nodes are still working correctly. The oldest node started the 4 of February is still at 3,29v. My other nodes (temp / humidity / light) are also working correctly but I will replace DHT22 for another sensor.

                            David.

                            1 Reply Last reply
                            0
                            • rhuehnR Offline
                              rhuehnR Offline
                              rhuehn
                              wrote on last edited by
                              #59

                              Hey @carlierd Just curious if you are still using a DHT22 with your sketch? Have you modified the code much from the above? I am looking at implementing something similiar ( identical actually ) and was wondering if much has changed for you over the last few months?

                              Thanks!

                              1 Reply Last reply
                              0
                              • carlierdC Offline
                                carlierdC Offline
                                carlierd
                                wrote on last edited by
                                #60

                                Hello,

                                All nodes are still working correctly but I still want to replace DHT22. But nothing done for the moment. Not at top position on my todo list ;)

                                David.

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


                                9

                                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