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.
  • F flopp

    Now I see, there are pads for battery and pads for out. Looks good

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

    @flopp said:

    Now I see, there are pads for battery and pads for out. Looks good

    Correct. The old Tp4056 modules do not have the OUT terminals (and therefore won't fit on the pcb I designed in this thread)

    @akumar said:

    On a low power node this could work.

    Why should it only work on a low power node?

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

      hi.

      "Why should it only work on a low power node?"

      with time we will have more and more things to charge every week/day (phone, watch, iot...), so I would say : for less maintenance ? lol

      more seriously, it is a nice project I will follow it ;) I have one board to order (not ordered yet) with a li charger but mine is definitely not diy (too small chip so it is for stencil use).
      Mobile phone batt is a very nice idea :smiley: I am a more confident than cheap lipo..and I have some old cheap galaxy s2 batt..How do you plan to hook the battery to your board?

      HenryWhiteH 1 Reply Last reply
      0
      • scalzS scalz

        hi.

        "Why should it only work on a low power node?"

        with time we will have more and more things to charge every week/day (phone, watch, iot...), so I would say : for less maintenance ? lol

        more seriously, it is a nice project I will follow it ;) I have one board to order (not ordered yet) with a li charger but mine is definitely not diy (too small chip so it is for stencil use).
        Mobile phone batt is a very nice idea :smiley: I am a more confident than cheap lipo..and I have some old cheap galaxy s2 batt..How do you plan to hook the battery to your board?

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

        @scalz said:

        How do you plan to hook the battery to your board?

        As smartphone batteries are usually fully enclosed, I will just stick the battery (I will use the galaxy s4 batteries) under the pcb.

        The whole package should fit nicely in a 75x75x40 distribution box, which will only cost a few cents in your local hardware store.
        Only downside of the boxes is that they are a bit ugly :D
        But since I don't have a 3D printer yet i will go with that solution and maybe paint the boxes black or white.

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

          cool.
          I am building my 3d printer actually because I want custom things (not too much ugly) ;)
          I was talking about how to wire between the batt and the board. So you will solder wire on it?
          but it is not a big a problem I think, if I use these sort of batt, maybe I will try to find some contacts and handle this in the custom box.

          see you soon :)

          HenryWhiteH 1 Reply Last reply
          0
          • scalzS scalz

            cool.
            I am building my 3d printer actually because I want custom things (not too much ugly) ;)
            I was talking about how to wire between the batt and the board. So you will solder wire on it?
            but it is not a big a problem I think, if I use these sort of batt, maybe I will try to find some contacts and handle this in the custom box.

            see you soon :)

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

            @scalz said:

            I am building my 3d printer actually because I want custom things (not too much ugly) ;)

            I thought about that too, but then I saw how much calibration, try&error etc. you need to assemble your own 3D printer. And after that it's still a hassle to get prints with good quality.
            Because of that I will just save money for the ultimaker 2.. :D

            @scalz said:

            I was talking about how to wire between the batt and the board. So you will solder wire on it?

            Yes, I will solder the contacts of the battery directly to the tp4056 module. Because you don't have to replace the battery (until it breaks) this method should be fine.

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

              :+1: it makes sense too.

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

                "Because of that I will just save money for the ultimaker 2"

                yep but calibration, try&errors, settings.. are always there, even if you have a 2000 dollars printers. no plug and play, it is some kind of myth for the moment that people don't know before buy one. but lot of people are working to improve commercial or diy printer.
                For instance, I did some orders on 3dhub. Some were printed with prusa or ultimaker, pla or abs... And sometimes I got better quality from a prusa owner than ultimaker owner. One box was dark burnt on ultimaker, it was not good. So it is a matter to well know the stuff ;)
                and then it is very proprietary (filament, settings, software...).
                I have talked about this with some fablabs people who have expensive printer (ultimaker, zortrax for instance) and diy corexy printer. That is why I am building my corexy which cost to me 300€ and I know every angle of it ;). Some learning curve, which expensive printer have too, but then no more proprietary&co problem..just my point of view...

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Heizelmann
                  wrote on last edited by
                  #40

                  If the module also should be operated while charging and the DHT11 sits directly on the board close to the battery charger the sensor would show significantly higher temperatures caused by the TP4056 battery charger which becomes really hot during charging.

                  On an experiment on a breadboard with comparable distance I measured a temperature of the TP4056 of about 70 degree Celsius in the first phase of charging and the sensor reading rises from about 20 to 22 degrees.

                  HenryWhiteH 1 Reply Last reply
                  0
                  • H Heizelmann

                    If the module also should be operated while charging and the DHT11 sits directly on the board close to the battery charger the sensor would show significantly higher temperatures caused by the TP4056 battery charger which becomes really hot during charging.

                    On an experiment on a breadboard with comparable distance I measured a temperature of the TP4056 of about 70 degree Celsius in the first phase of charging and the sensor reading rises from about 20 to 22 degrees.

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

                    @Heizelmann you're right, the module gets pretty warm.
                    Here I found some more measurements for the Tp4056: http://lygte-info.dk/review/Review Charger TP4056 UK.html

                    Although the board is designed to bend the DHT22 over the prototyping area so that it is horizontal and not vertical aligned, I think I could swap positions of the prototyping area and the mounting point for the DHT22.

                    To keep the Tp4056 cooler, you could add a small heatsink to it or replace the resistor so that it charges with lower current.

                    1 Reply Last reply
                    0
                    • akumarA akumar

                      So if I sum up, powering this node with a single Lipo cell will work by connecting the Lipo to the raw pin on the arduino. This will work from 4.2v to 3.4v. This is not that good for the battery life.
                      Using 2*AA batteries with a boost converter seems a lot easier...
                      I'm almost giving up on this idea : I liked the flat form factor of the lipos and they were solar pannel friendly. Is there a way to use a voltage regulator from 4.2v to 3.4v and then switch the circuit to a boost converter from 3.3v to 2.8v ?

                      F Offline
                      F Offline
                      flopp
                      wrote on last edited by flopp
                      #42

                      @akumar said:

                      So if I sum up, powering this node with a single Lipo cell will work by connecting the Lipo to the raw pin on the arduino. This will work from 4.2v to 3.4v. This is not that good for the battery life.
                      Using 2*AA batteries with a boost converter seems a lot easier...
                      I'm almost giving up on this idea : I liked the flat form factor of the lipos and they were solar pannel friendly. Is there a way to use a voltage regulator from 4.2v to 3.4v and then switch the circuit to a boost converter from 3.3v to 2.8v ?

                      Maybe this can be used. But I use 0.1mA when "sleeping"
                      https://www.pololu.com/product/2122

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flopp
                        wrote on last edited by
                        #43

                        http://www.aliexpress.com/item/10pcs-2-in-1-Tinysine-Charge-Pump-Step-Down-Step-Up-Boost-Buck-2-5V-3V/32366514629.html?spm=2114.01020208.3.1.FuE3W9&ws_ab_test=searchweb201556_2,searchweb201644_2_10001_10002_10005_10006_10003_10004_62,searchweb201560_2,searchweb1451318400_6148

                        1 Reply Last reply
                        0
                        • akumarA Offline
                          akumarA Offline
                          akumar
                          wrote on last edited by
                          #44

                          @flopp : cool module ! This could do the trick. The 0.1 mA could be taken care of by powering the module via a MOSFET controlled by the arduino. It would then power the sensors and the radio only when needed.

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

                            Again, to prove my point that you don't need to go below 3.3V (at least with modern smartphone batteries), I just measured my Galaxy S5's battery at 4% battery state. The measured voltage is 3.65V.

                            F 1 Reply Last reply
                            0
                            • HenryWhiteH HenryWhite

                              Again, to prove my point that you don't need to go below 3.3V (at least with modern smartphone batteries), I just measured my Galaxy S5's battery at 4% battery state. The measured voltage is 3.65V.

                              F Offline
                              F Offline
                              flopp
                              wrote on last edited by
                              #46

                              @HenryWhite
                              Wow, what are your low/max limit?

                              4% seems to be very low if your low limit is 3.3.

                              HenryWhiteH 1 Reply Last reply
                              0
                              • F flopp

                                @HenryWhite
                                Wow, what are your low/max limit?

                                4% seems to be very low if your low limit is 3.3.

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

                                @flopp said:

                                @HenryWhite
                                Wow, what are your low/max limit?

                                I must admit i didn't understand that :smile:

                                At 2% battery state (according to what is shown in the android UI) the s5 battery still outputs 3.43V (measured with multimeter and compared to android app "Ampere")
                                Even at 1% the voltage is still above 3.3V:
                                2016-01-13 19_17_14-Screenshot_2016-01-13-19-10-52.png

                                But: I just discovered that the galaxy s5's battery is a 3.85V li-ion battery with a charging voltage of 4.4V instead of 4.2V..

                                But even then, the 3.8V S4 battery which I'm going to use for my sensors will approximately reach less than 3.3V not before the battery is under 5% charging state I think.

                                1 Reply Last reply
                                0
                                • HenryWhiteH HenryWhite

                                  Hi!
                                  Since a bunch of people already made a custom MySensors PCB, I decided to get used to Eagle and create my own board to fit my needs :smiley:
                                  The key difference compared to other custom PCBs is the Lithium Ion Charging Circuit with micro USB connector. So you can just grab a flat smartphone battery with 1000 mAh or more and stick it under the PCB! This way you never have to worry about changing batteries, and even if your configuration consumes a lot of power, you can quickly recharge your sensor through the micro USB connector of the Li-Ion Charging Module.

                                  The board is currently only designed to work with the Arduino Pro Mini 3.3V version.

                                  Version 0.1 is tested, I received the PCBs on 01/26/2016. Everything works fine (good radio range), there is only one little problem with the connection of the battery (but it is fixable; see post 52 in this thread for a fix)

                                  So here are the specifications and features of my board:

                                  • designed for cheap 3.3V Arduino Pro mini clones from china, for example this one
                                  • 5x5cm
                                  • uses jumper bridge to simply connect and disconnect the battery
                                  • easy attaching of motion sensor (use 3.3V mod), DHT22 for Temp and Humidity Measurement and one switch (for example button- or reedswitch)
                                  • small prototyping area on the backside
                                  • uses TP4056 Li-Ion single cell Micro USB 1A charging circuit with battery protection (disconnects the power automatically if voltage drops below 2.4V
                                    ------> make sure you get the NEW version of the TP4056 with battery protection circuit!
                                    remember to charge your li-ion 1-cell rechargeable battery with maximum 1C, so if you want to use a battery below 1000 mAh you need to make modifications to the module or the charging current will be way to high, which could result in an explosion (worst case)
                                  • I suggest to use the board with a smartphone battery, as they usually are very small and flat and have a high capacity for small money. I will use the galaxy s4 battery because it fits nearly perfect under the board and has 2600 mAh.
                                  • Now with additional relay, properly connected using 2N2222A transistor, flyback diode, 1kΩ resistor and terminal block for easy attaching of "switchable things" to the relay

                                  Schematics (Rev 1.0)
                                  0_1453762885667_schematics_v1.0.png

                                  Board view (Rev 1.0)
                                  0_1453762894187_board_v1.0.png
                                  3D board view (Rev 1.0)
                                  0_1453762899960_3dview_v1.0.png

                                  Build files

                                  Rev 1.0:

                                  • Now with additional relay, properly connected using 2N2222A transistor, flyback diode, 1kΩ resistor and terminal block for easy attaching of "switchable things" to the relay
                                  • proper alignment of DHT22

                                  Eagle files: 0_1453762986505_Sensorboard_v1.0.zip
                                  Gerber files: 0_1453763061782_Sensorboard_v1.0_Gerber.zip

                                  Rev 0.3: swapped footprints of DHT22 and prototyping area to prevent false temp measurements when charging the battery; connected TP4056 OUT to arduino's RAW instead of VCC_IN (so the internal voltage regulator is used)
                                  sensorboard_v0.3.sch
                                  sensorboard_v0.3.brd

                                  Rev 0.2: added footprint for 47uF SMD capacitor standard 1210 (i guess many other smd caps will fit too)
                                  sensorboard_v0.2.sch
                                  sensorboard_v0.2.brd

                                  Rev. 0.1
                                  untitled.sch untitled.brd

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

                                  I just added revision 0.3 to the first post:

                                  @HenryWhite said:

                                  Rev 0.3: swapped footprints of DHT22 and prototyping area to prevent false temp measurements when charging the battery; connected TP4056 OUT to arduino's RAW instead of VCC_IN (so the internal voltage regulator is used)
                                  sensorboard_v0.3.sch
                                  sensorboard_v0.3.brd

                                  1 Reply Last reply
                                  1
                                  • H Offline
                                    H Offline
                                    Heizelmann
                                    wrote on last edited by
                                    #49

                                    Thanks for Rev 03. Another optimization would be to turn the DHT22 180 degrees. Then the open front would face outside. Better for air circulation if put into a case with only a small open slot for the DHT.

                                    1 Reply Last reply
                                    0
                                    • HenryWhiteH Offline
                                      HenryWhiteH Offline
                                      HenryWhite
                                      wrote on last edited by
                                      #50
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • HenryWhiteH Offline
                                        HenryWhiteH Offline
                                        HenryWhite
                                        wrote on last edited by HenryWhite
                                        #51

                                        Here it is: Revision 1.0

                                        Changes:

                                        • Now with additional relay, properly connected using 2N2222A transistor, flyback diode, 1kΩ resistor and terminal block for easy attaching of "switchable things" to the relay
                                        • proper alignment of DHT22

                                        Schematics (Rev 1.0)
                                        0_1453762885667_schematics_v1.0.png
                                        Board view (Rev 1.0)
                                        0_1453762894187_board_v1.0.png
                                        3D board view (Rev 1.0)
                                        0_1453762899960_3dview_v1.0.png
                                        Build files
                                        Eagle files: 0_1453762986505_Sensorboard_v1.0.zip
                                        Gerber files: 0_1453763061782_Sensorboard_v1.0_Gerber.zip

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

                                          I just received my ordered PCBs (Revision 0.1) from Elecrow. The PCBs are very well made for that low price! (I got 14PCBs for 14$)

                                          It fits nicely in a 75x75mm electric box (not the prettiest housing, but very cheap and easily processable for drilling holes for the connections; plus you can paint it to make it more beautiful :smile: )

                                          Since it is revision 0.1, I had to cut one pcb trace (V+ from POWER to Arduino's V_IN) and connect V+ from POWER manually with Arduino's RAW input.

                                          Soldering directly to the battery went better than I thought!

                                          0_1453847229416_IMG_1533.JPG
                                          0_1453847244354_IMG_1534.JPG
                                          0_1453847256810_IMG_1538.JPG
                                          0_1453847273862_IMG_1539.JPG
                                          0_1453847289150_IMG_1540.JPG
                                          0_1453847303296_IMG_1543.JPG
                                          0_1453847315474_IMG_1544.JPG
                                          0_1453847333555_IMG_1545.JPG
                                          0_1453847345295_IMG_1546.JPG
                                          0_1453847360925_IMG_1547.JPG
                                          0_1453847375217_IMG_1548.JPG

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


                                          21

                                          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