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. Hardware
  3. Rechargeable Lithium Ion Sensor Custom PCB

Rechargeable Lithium Ion Sensor Custom PCB

Scheduled Pinned Locked Moved Hardware
71 Posts 12 Posters 29.4k Views 8 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.
  • alexsh1A alexsh1

    @HenryWhite Did you make any estimates how long your node is running on the fully charged battery?

    HenryWhiteH Offline
    HenryWhiteH Offline
    HenryWhite
    wrote on last edited by HenryWhite
    #56

    @alexsh1 said:

    @HenryWhite Did you make any estimates how long your node is running on the fully charged battery?

    I'm just testing it :)
    The Version without relay (Rev. 0.3) should be good for at least two months, assuming you want to read temp/humidity every 60 seconds and you have a 2600mAh (smartphone) battery.
    I think you can improve the battery life much further, for example with the following:

    • a better sketch, e.g. bigger sleep time
    • removing the power LED on the arduino
    • higher battery capacity

    The DHT22 is also drawing much current, i think i will replace it in a next version with a Si7021.

    PS: The version with relay could never run very long, because you need to keep the node awake in order to send a command to switch the relay. But even if you use the relay version, you could just attach a bigger battery.

    1 Reply Last reply
    0
    • alexsh1A Offline
      alexsh1A Offline
      alexsh1
      wrote on last edited by alexsh1
      #57

      @HenryWhite Thanks - I was gonna make this suggestion about the DHT22:

      1. you do not need temp/hum every 60 sec. 5 -10 mins should be enough
      2. Power LED has a negligible consumption if you have DHT22 onboard.
      3. I have Si7021 (powered by two batteries) and DHT22 (powered from 240V via AC/DC adapter). Si7021 is more accurate and less power hungry. My suggestion would be Si7021 or BMP280 as they are working the best with batteries.

      Just out of curiosity, what do you do when the battery is flat? Take out the node and charge it? Or charging is automated?

      HenryWhiteH 1 Reply Last reply
      0
      • alexsh1A alexsh1

        @HenryWhite Thanks - I was gonna make this suggestion about the DHT22:

        1. you do not need temp/hum every 60 sec. 5 -10 mins should be enough
        2. Power LED has a negligible consumption if you have DHT22 onboard.
        3. I have Si7021 (powered by two batteries) and DHT22 (powered from 240V via AC/DC adapter). Si7021 is more accurate and less power hungry. My suggestion would be Si7021 or BMP280 as they are working the best with batteries.

        Just out of curiosity, what do you do when the battery is flat? Take out the node and charge it? Or charging is automated?

        HenryWhiteH Offline
        HenryWhiteH Offline
        HenryWhite
        wrote on last edited by
        #58

        @alexsh1 said:

        Just out of curiosity, what do you do when the battery is flat? Take out the node and charge it? Or charging is automated?

        You don't have to take anything apart. Just plug in a micro usb loading cable in the Tp4056 and the battery will be charged. Plus, you never need to shutdown the node, charging works simultaneously.

        1 Reply Last reply
        0
        • HenryWhiteH Offline
          HenryWhiteH Offline
          HenryWhite
          wrote on last edited by
          #59

          A little update in terms of battery lifetime: all nodes are still running, I think they will last at least for 10 months before you have to recharge them.

          1 Reply Last reply
          1
          • D Offline
            D Offline
            dakipro
            wrote on last edited by
            #60

            I've been looking for some time for similar module/board,
            (was too lazy to make it myself) and somehow i never found this board.
            If I understood you are now on half the battery (after a six months) ?

            Did you had any tests with the Relay version on battery power?
            I guess it will consume quite some power if it needs to keep relay on from the battery?
            If it relay doesn't consume a lot of power then it could be very very useful to have it there (or if it is switched for short period of time and not that often)

            Project looks very good, it has all it needs for generic module, thank you for making it.

            C: OpenHAB2 with node-red on linux laptop
            GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
            GW: Arduino Mega, RFLink 433Mhz

            HenryWhiteH 1 Reply Last reply
            0
            • D dakipro

              I've been looking for some time for similar module/board,
              (was too lazy to make it myself) and somehow i never found this board.
              If I understood you are now on half the battery (after a six months) ?

              Did you had any tests with the Relay version on battery power?
              I guess it will consume quite some power if it needs to keep relay on from the battery?
              If it relay doesn't consume a lot of power then it could be very very useful to have it there (or if it is switched for short period of time and not that often)

              Project looks very good, it has all it needs for generic module, thank you for making it.

              HenryWhiteH Offline
              HenryWhiteH Offline
              HenryWhite
              wrote on last edited by
              #61

              @dakipro said:

              I've been looking for some time for similar module/board,
              (was too lazy to make it myself) and somehow i never found this board.
              If I understood you are now on half the battery (after a six months) ?

              Did you had any tests with the Relay version on battery power?
              I guess it will consume quite some power if it needs to keep relay on from the battery?
              If it relay doesn't consume a lot of power then it could be very very useful to have it there (or if it is switched for short period of time and not that often)

              Project looks very good, it has all it needs for generic module, thank you for making it.

              Yes, i expect the battery to last ~12 months with one motion sensor + temp/hum sensor installed.
              When you want to use the relay, the board normally consumes a lot more power and the battery would not even last 1 month I think, because your board has to be active all the time to receive commands for the relay.

              If you do not insist on instant relay switching, you could implement the SmartSleep() functionality of mysensors. With this the battery should last way longer, maybe even as long as without relay.

              By the way, I got myself a 3D printer and designed a casing for my usecase (motion sensor -- but the case should fit a variety of other components too):

              0_1470836685263_PHOTO_20160810_154021[1].jpg
              0_1470836715515_PHOTO_20160810_154056[1].jpg
              0_1470836826597_PHOTO_20160810_154145.jpg

              1 Reply Last reply
              1
              • D Offline
                D Offline
                dakipro
                wrote on last edited by dakipro
                #62

                Makes sense. I am just comparing different editions, it appeared to me that the relay board could be a completelly separate project/pcb, as it would not work quite well on the rechargeable battery, and has quite a different purpose/audience I guess.
                Rev 0.3 would then be trully "rechargeable" battery sensor (as in the title), and rev 1.0 would be completelly different, or does it contain same pins as 0.3 (pluss relay which can simply be ignored?).

                I would use it for motion, temp+hum, door switch and light/lux meter, is it then safe to order rev 1.0 for such a sensor?

                And to order it, i usually/only need the .brd and sch files right?

                p.s. custom housing looks very slick :)

                C: OpenHAB2 with node-red on linux laptop
                GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                GW: Arduino Mega, RFLink 433Mhz

                HenryWhiteH 1 Reply Last reply
                0
                • D dakipro

                  Makes sense. I am just comparing different editions, it appeared to me that the relay board could be a completelly separate project/pcb, as it would not work quite well on the rechargeable battery, and has quite a different purpose/audience I guess.
                  Rev 0.3 would then be trully "rechargeable" battery sensor (as in the title), and rev 1.0 would be completelly different, or does it contain same pins as 0.3 (pluss relay which can simply be ignored?).

                  I would use it for motion, temp+hum, door switch and light/lux meter, is it then safe to order rev 1.0 for such a sensor?

                  And to order it, i usually/only need the .brd and sch files right?

                  p.s. custom housing looks very slick :)

                  HenryWhiteH Offline
                  HenryWhiteH Offline
                  HenryWhite
                  wrote on last edited by HenryWhite
                  #63

                  @dakipro said:

                  Rev 0.3 would then be trully "rechargeable" battery sensor (as in the title), and rev 1.0 would be completelly different, or does it contain same pins as 0.3 (pluss relay which can simply be ignored?).

                  Rev 1.0 has nearly the same pins, except that you can only connect one switch (Rev 0.3: two switches) - but yes, you can simply ignore the relay, diode and transistor if you don't want to use a relay.
                  Nonetheless, if you are sure that you will never use the board with a relay, I suggest that you go with Rev. 0.3.

                  And to order it, i usually/only need the .brd and sch files right?

                  It depends on the pcb manufacturer, but most of the time you will need the gerber files (which can be generated with the .sch file through the CAM-processor with the .cam file (which the specific board house provides).

                  PS: I ordered my boards from elecrow.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dakipro
                    wrote on last edited by
                    #64

                    Thanks, I was ordering from oshpark before, but I see that elecrow has some nice prices as well.
                    I noticed that you have _gerber.zip for 1.0, if you by any chance find _gerber.zip for 0.3 I would appreciate if you upload it to the thread :)
                    (no, i am not lazy to convert them with eagle, but still not confortable and afreaid that I might select some wrong option :) )

                    C: OpenHAB2 with node-red on linux laptop
                    GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                    GW: Arduino Mega, RFLink 433Mhz

                    HenryWhiteH 1 Reply Last reply
                    0
                    • D dakipro

                      Thanks, I was ordering from oshpark before, but I see that elecrow has some nice prices as well.
                      I noticed that you have _gerber.zip for 1.0, if you by any chance find _gerber.zip for 0.3 I would appreciate if you upload it to the thread :)
                      (no, i am not lazy to convert them with eagle, but still not confortable and afreaid that I might select some wrong option :) )

                      HenryWhiteH Offline
                      HenryWhiteH Offline
                      HenryWhite
                      wrote on last edited by
                      #65

                      @dakipro here you go:

                      0_1470866547655_Gerber_rev0.3.zip

                      Be aware that this are the gerber files for the pcb service from elecrow. Other pcb services may have other specifications!

                      1 Reply Last reply
                      0
                      • toufouT Offline
                        toufouT Offline
                        toufou
                        wrote on last edited by
                        #66

                        Hi HenryWhite,

                        Great job, very nice.

                        I have some questions:

                        • Why do you sent input voltage to A0? is it for voltage supervision?
                        • Is it possible to have your sketch file?

                        Thanks for your sharing,
                        TouFou

                        HenryWhiteH 1 Reply Last reply
                        0
                        • toufouT toufou

                          Hi HenryWhite,

                          Great job, very nice.

                          I have some questions:

                          • Why do you sent input voltage to A0? is it for voltage supervision?
                          • Is it possible to have your sketch file?

                          Thanks for your sharing,
                          TouFou

                          HenryWhiteH Offline
                          HenryWhiteH Offline
                          HenryWhite
                          wrote on last edited by
                          #67

                          @toufou said:

                          Hi HenryWhite,

                          Great job, very nice.

                          I have some questions:

                          • Why do you sent input voltage to A0? is it for voltage supervision?
                          • Is it possible to have your sketch file?

                          Thanks for your sharing,
                          TouFou

                          Hi, yes it's for measuring the battery level.
                          You can find the schematics and all the other files in my first post.

                          1 Reply Last reply
                          0
                          • toufouT Offline
                            toufouT Offline
                            toufou
                            wrote on last edited by
                            #68

                            Hi,
                            Thanks for your reply.
                            In the first post, i see schematics, brd and gerber file, but i don't see .ino file to flash arduino pro mini.....

                            HenryWhiteH 1 Reply Last reply
                            0
                            • toufouT toufou

                              Hi,
                              Thanks for your reply.
                              In the first post, i see schematics, brd and gerber file, but i don't see .ino file to flash arduino pro mini.....

                              HenryWhiteH Offline
                              HenryWhiteH Offline
                              HenryWhite
                              wrote on last edited by
                              #69

                              @toufou said:

                              Hi,
                              Thanks for your reply.
                              In the first post, i see schematics, brd and gerber file, but i don't see .ino file to flash arduino pro mini.....

                              You can adapt the example sketches MySensors offers, it shouldn't be hard. Also the sketch will depend on what you plan to use the board for. (Motion, Switch, Temperature,...)

                              1 Reply Last reply
                              0
                              • toufouT Offline
                                toufouT Offline
                                toufou
                                wrote on last edited by toufou
                                #70

                                Ok!

                                I thought you had specific because your sensor is about 10month with arduino regulator! excellent.

                                Another question:
                                You use a motion sensor as i want. You make a reference to a hack to use it with 3.3V instead of 5V. Have you a link to see that?

                                Thanks

                                HenryWhiteH 1 Reply Last reply
                                0
                                • toufouT toufou

                                  Ok!

                                  I thought you had specific because your sensor is about 10month with arduino regulator! excellent.

                                  Another question:
                                  You use a motion sensor as i want. You make a reference to a hack to use it with 3.3V instead of 5V. Have you a link to see that?

                                  Thanks

                                  HenryWhiteH Offline
                                  HenryWhiteH Offline
                                  HenryWhite
                                  wrote on last edited by
                                  #71

                                  @toufou said:

                                  You use a motion sensor as i want. You make a reference to a hack to use it with 3.3V instead of 5V. Have you a link to see that?

                                  Yes, here's a picture (the only thing you have to do is solder vcc to the HIGH-pad of your motion sensor):
                                  0_1473068491824_123.png

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


                                  25

                                  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