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 based atmega328p sensor (no SMD)

Battery based atmega328p sensor (no SMD)

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsatmega328batterynrf24l01
46 Posts 6 Posters 17.0k 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

    @GertSanders

    I am using both NRF headers depending on the I2C module I am using. Somethings the tip of nrf24l01+ is not going well with a wider sensor.
    Having said that this is not a problem and one connector can go.

    Another problem I am facing is that SDL and SDA on all sensors are differently placed. I wonder if this is possible to swap with a jumper?
    What's your view?

    GertSandersG Offline
    GertSandersG Offline
    GertSanders
    Hardware Contributor
    wrote on last edited by
    #11

    @alexsh1 In my AC board I have added jumpers to swap the position of the SDA and SCL pins. I plan to add those jumpers to a new version of this battery based node. It will give more flexibility.

    I also sometimes use a wider Temperature/Humidity sensor board (HTU21D) instead of the SI7021 boards with GY-21 marking. The I2C pins are swapped, and the width is indeed different.

    I have also reconsidered how to connect the other pins, so I'm thinking of using angled JST connectors (like the power connector for instance).

    Using only 1 header for the radio will allow more clearance between the I2C pins and the rest of the connectors.

    I'm also quite happy with the "smd" version of the NRF24L01+ boards. Very small and yet works about the same range. This removes the need for the big 2x4 header completely. I used it on my very narrow board.

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

      @GertSanders I had to use Dremel to trim down HTU21 board (I posted photos on the forum). There are no components so I do not understand why they have a wider board.
      JST connector is useless in my case as I am powering all nodes from batteries or FTDI. Potentially, you may remove it too.
      In relation to SMD nrf24l01+ I think it is brilliant. I have been using one with your narrow board and another one with sensebender. They really save a lot of safe for the header and the board itself. Alternatively, you may be designing the board with a built-in nrf24l01+., but it would require some SMD soldering.

      GertSandersG 1 Reply Last reply
      0
      • alexsh1A alexsh1

        @GertSanders I had to use Dremel to trim down HTU21 board (I posted photos on the forum). There are no components so I do not understand why they have a wider board.
        JST connector is useless in my case as I am powering all nodes from batteries or FTDI. Potentially, you may remove it too.
        In relation to SMD nrf24l01+ I think it is brilliant. I have been using one with your narrow board and another one with sensebender. They really save a lot of safe for the header and the board itself. Alternatively, you may be designing the board with a built-in nrf24l01+., but it would require some SMD soldering.

        GertSandersG Offline
        GertSandersG Offline
        GertSanders
        Hardware Contributor
        wrote on last edited by
        #13

        @alexsh1 said:

        nrf24l01+

        Soldering a nrf24l01+ is beyond my capacity for the moment, I do not plan to do that. But the modules with 1.27mm pins (the "smd" variant) are feasable.

        Someone already made a board with built in nrf24l01+ and PCB antenna:
        https://www.openhardware.io/view/31/MySensors-Stable-Node

        I'm now going to make a variant of the narrow board for the LNA+PA smd version. These boards also use the same 1.27mm spacing and castelated pins, but the pin connection is different, so not compatible with the smaller non PA+LNA smd boards.

        I have seen small nrf24l01+ smd boards with the same pinout as the larger PA+LNA smd nrf24l01+ boards. So maybe we should "standardise" on that pinout.

        Small smd version pinout (the one I use):

        VCC (1.9 - 3.6V)
        GND
        CE
        CSN
        SCK
        MOSI
        MISO
        IRQ

        Larger PA+LNA smd version:

        VCC (2.2 - 3.6V)
        CE
        CSN
        SCK
        MOSI
        MISO
        IRQ
        GND

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

          @GertSanders Yeah, I understand - this is a very small chip.

          I looked at this board with built-in nrf24l01+ but my SMD skills would not allow me to do it. I may get away with a few components, but not with the whole board. I am looking at a few soldering/rework stations right now to allow me to do SMD, but currently I do not have tools needless to say about skills.

          With regards to nrf24l01+ SMD, I purchased a pack of 6 from Aliexpress and they have the following pin-out:
          VCC
          GND
          CE
          CSN
          SCK
          MOSI
          MISO
          IRQ

          These are the same boards you used as well (or similar in terms of pin outs) and I suggest to stick to that. LNA+PA SMD is a special one - how many would really need it? I have LNA-PA installed on my GW and can install one one the node if I have to, but out of all my nodes I only have normal and SMD ones.

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

            @GertSanders The other point is that your node is small and compact enough (my limitation was the 2xAA case in terms of length and width). Is it really necessary to go fully into the SMD?

            GertSandersG 1 Reply Last reply
            0
            • alexsh1A alexsh1

              @GertSanders The other point is that your node is small and compact enough (my limitation was the 2xAA case in terms of length and width). Is it really necessary to go fully into the SMD?

              GertSandersG Offline
              GertSandersG Offline
              GertSanders
              Hardware Contributor
              wrote on last edited by GertSanders
              #16

              @alexsh1 . No, I do not plan for this board to be full smd. The smd version of the atmega328 is also wider then the DIP version. So for very narrow boards, it would not make sense to use the AU variant of the cpu. The narrow board will stay a DIP based - mostly throughhole board. So will this board.

              I am tempted to try a version with 0805 size smd resistors, which are still soldarable by hand, and yet much smaller then 1/4W (7mm) resistors I use now. But again, no real use case right now.

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

                @GertSanders

                This is what I mean in terms of size...
                0_1456923449282_2016-03-02 12.19.51.jpg

                GertSandersG 1 Reply Last reply
                0
                • alexsh1A alexsh1

                  @GertSanders

                  This is what I mean in terms of size...
                  0_1456923449282_2016-03-02 12.19.51.jpg

                  GertSandersG Offline
                  GertSandersG Offline
                  GertSanders
                  Hardware Contributor
                  wrote on last edited by GertSanders
                  #18

                  @alexsh1 Nice box :-)

                  Related to size: I plan to keep the board size within 50 x 24mm so that I can get 2 nodes out of a 50x50mm board. It also corresponds exactly to the size of a 2xAAA battery holder, which is a little smaller then the 2xAA battery holder you use.

                  Here is the preview of where I am at now. This still needs to be routed, but for the moment I'm looking at placing components in the most efficient way (and trying to imagine how I would route wires around this node in tight spaces.

                  I'm also planning to include ATSHA204 and flash to make it a full MySensors compatible node (minus the MYSX connector, not sure what to do with that yet).

                  0_1456935537305_V3 layout.jpg

                  The working file schematic is still in "movement":+1:

                  0_1456936199626_Schema v3.jpg

                  1 Reply Last reply
                  0
                  • crusher70C Offline
                    crusher70C Offline
                    crusher70
                    wrote on last edited by
                    #19

                    Just a quick hello to say your Battery based atmega328p sensor (no SMD) and the companion boards are exactly what I was looking for. Ordered 10 of each today and cant wait to get cracking on building them.
                    Great work btw

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

                      @GertSanders you decided to keep JST I see. A few more jumpers here :)
                      Also do you assume soldering ntf24l01+ directly onto the board or via pins?

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

                        @GertSanders Have you been thinking about powering it with a different source?
                        I have come across 26650, which is a super rechargeable battery (5000mAh) and very compact.

                        You can also get a 26650 solderable holder:
                        http://www.aliexpress.com/item/Battery-Spacer-1x-26650-Radiating-Shell-Battery-Plastic-Heat-Holder-74942/32474894329.html?spm=2114.01010208.3.1.RCtfZL&ws_ab_test=searchweb201556_1,searchweb201644_2_505_506_503_504_10032_10020_502_10001_10002_10017_10005_10006_10003_10021_10004_10022_10018_10019,searchweb201560_8,searchweb1451318400_-1,searchweb1451318411_-1&btsid=50206b99-16c9-4bae-90b2-16d91690ed9d

                        GertSandersG 1 Reply Last reply
                        0
                        • alexsh1A alexsh1

                          @GertSanders Have you been thinking about powering it with a different source?
                          I have come across 26650, which is a super rechargeable battery (5000mAh) and very compact.

                          You can also get a 26650 solderable holder:
                          http://www.aliexpress.com/item/Battery-Spacer-1x-26650-Radiating-Shell-Battery-Plastic-Heat-Holder-74942/32474894329.html?spm=2114.01010208.3.1.RCtfZL&ws_ab_test=searchweb201556_1,searchweb201644_2_505_506_503_504_10032_10020_502_10001_10002_10017_10005_10006_10003_10021_10004_10022_10018_10019,searchweb201560_8,searchweb1451318400_-1,searchweb1451318411_-1&btsid=50206b99-16c9-4bae-90b2-16d91690ed9d

                          GertSandersG Offline
                          GertSandersG Offline
                          GertSanders
                          Hardware Contributor
                          wrote on last edited by
                          #22

                          @alexsh1 said:

                          26650

                          Fully charged these batteries are 4.2V, which is too high for the radio. In terms of cost, they require a special Li-Ion battery loader. Cutout voltage is aroud 2.5V. Capacity wise they would allow a node to work 3 years. Personally I'm happy with something over 1 year at 10th of the cost.

                          Related to your other question on the mounting of the NRF: if a battery is needed, I would need 1.27mm header to solder the radio in place, as one battery terminal sits below the NRF module. Without a battery holder mounted under the board, this is not needed. Personally I'm still looking for a positioning of the NRF module on the PCB directly and which allows the mounting of the batteryholder under the PCB. The NRF as it is positioned in the screenshot needs to move.
                          JST connectors seems a good choice in terms of cost, size and avoids wrong connections due to the tab in the connector (but you can still make mistakes on the wired end of course).

                          alexsh1A 1 Reply Last reply
                          0
                          • GertSandersG GertSanders

                            @alexsh1 said:

                            26650

                            Fully charged these batteries are 4.2V, which is too high for the radio. In terms of cost, they require a special Li-Ion battery loader. Cutout voltage is aroud 2.5V. Capacity wise they would allow a node to work 3 years. Personally I'm happy with something over 1 year at 10th of the cost.

                            Related to your other question on the mounting of the NRF: if a battery is needed, I would need 1.27mm header to solder the radio in place, as one battery terminal sits below the NRF module. Without a battery holder mounted under the board, this is not needed. Personally I'm still looking for a positioning of the NRF module on the PCB directly and which allows the mounting of the batteryholder under the PCB. The NRF as it is positioned in the screenshot needs to move.
                            JST connectors seems a good choice in terms of cost, size and avoids wrong connections due to the tab in the connector (but you can still make mistakes on the wired end of course).

                            alexsh1A Offline
                            alexsh1A Offline
                            alexsh1
                            wrote on last edited by
                            #23

                            @GertSanders said:

                            @alexsh1 said:

                            26650

                            Fully charged these batteries are 4.2V, which is too high for the radio. In terms of cost, they require a special Li-Ion battery loader. Cutout voltage is aroud 2.5V. Capacity wise they would allow a node to work 3 years. Personally I'm happy with something over 1 year at 10th of the cost.

                            Well, not exactly. Have a look here: http://forum.mysensors.org/topic/3309/powering-nodes-3-3v-with-18650-26650/7
                            The cost of LDO is about Eur 1 for 20 pieces including shipping from HK :)
                            No charger is needed (and I have one away) -> TP4056 with Battery protection is the answer. Just plug it into the USB to charge. The cost is Eur 2-3. The only cost here is battery itself. With PCB it is around Eur 10 vs 2xAA (or 2xAAA), which is what? Eur 4-5? Fine, but this is rechargeable and you can use it in other projects.

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

                              @GertSanders : nice board and concept :) in my latest mytinycamel (I re-routed it recently) I have mysxconnector and 3xi2c , 24x49 but 0603 smd...and on this one radio module is on bottom...(I would like it on top but mytinycamel is a little bit room eater..but it's a cool power sequence so for fun!) I will try to upload it (and other stuff) maybe this week-end. I have routed something for lora too...32bits ;), still smd..
                              @alexsh1 : I think it's a matter of taste :) for instance, mytinycamel (my board) is not so expensive, and I can use only one 1.5v AA or AAA and last for years! put two in //, or don't ask me with a cheap lr14 type C 8000mah I have not tested yet lol! primary batt (aa/aaa/C) are cheap, in lithium version very low self discharge..not rechargeable but you have very often an aa/aaa batt somewhere ;) dilemma everywhere!

                              alexsh1A 1 Reply Last reply
                              0
                              • scalzS scalz

                                @GertSanders : nice board and concept :) in my latest mytinycamel (I re-routed it recently) I have mysxconnector and 3xi2c , 24x49 but 0603 smd...and on this one radio module is on bottom...(I would like it on top but mytinycamel is a little bit room eater..but it's a cool power sequence so for fun!) I will try to upload it (and other stuff) maybe this week-end. I have routed something for lora too...32bits ;), still smd..
                                @alexsh1 : I think it's a matter of taste :) for instance, mytinycamel (my board) is not so expensive, and I can use only one 1.5v AA or AAA and last for years! put two in //, or don't ask me with a cheap lr14 type C 8000mah I have not tested yet lol! primary batt (aa/aaa/C) are cheap, in lithium version very low self discharge..not rechargeable but you have very often an aa/aaa batt somewhere ;) dilemma everywhere!

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #25

                                @scalz LR14 Type C is a huge battery. 26650 is not. Though I agree it is a matter of taste/view. I have been using 18650/26650 to power up some projects and they performed well and universal - can be recharged and used for a power hungry projects and in my torch.

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

                                  @alexsh1 : lr14 diam 25.5 and length 49.5. 26650 is 26x 67...so lr14 is smaller (but need a switch reg). I agree too, 26650 is a nice rechargeable one for hungry projects ;)

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

                                    @scalz You are right re size - perhaps I was comparing it with type D. However, in terms of capacity, would you get a proper 5,000 mAh (not Trustfire capacity lol) out of lr14? We are not comparing apples with apples here as 26650 is 3.7V (and not 1.5V)

                                    For super power demanding projects I use this one:
                                    http://www.gearbest.com/rc-model-accessories/pp_143333.html?currency=GBP&gclid=CNupk7T0pMsCFcO4GwodKFAO6g

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

                                      BTW, for projects now I'd favour AA sized 3.2V LiFePo4 (1 battery) or AA-sized 1.6V NiZN (2xbatteries) or AA-sized 1.5V Lithium rechargeable (2xbatteries)

                                      This is concerning 3.3V power supply obviously.

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

                                        @alexsh1 : cool :) not comparable, I know, lol..I just wanted to share other alternatives (26650 sized) as lr14 are very cheap in pack and can last very long time (with a booster 0.7v-1.5 to 3V) and you always have 3v during the whole life, can use every drop of power. but booster is not the best efficient for big hungry application. other 9v batt are nice too ;) and lipo can vent or good quality are expensive (good quality = true mAh, secure and low selfdischarge. but as you said it's rechargeable). And I am designing a lipo node too so.. :)
                                        sorry for ot ..

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

                                          @scalz I suggest we move this discussion to http://forum.mysensors.org/topic/3309/powering-nodes-3-3v-with-18650-26650/2

                                          6 x 1.5V LR14 on Amazon are £7 meantime 26650 3.7V 5000mAh is £9. Obviously one needs 2 for a project so its it £2.2 vs £9, but I am looking at it from a different angle. 26650 is a universal buy for me as well as an investment - I can power a project with, say, a motor or solenoid or connect a solar panel to charge the battery.
                                          This is just my 2 cents

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


                                          19

                                          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