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. Announcements
  3. MySensors battey board revision 1.0

MySensors battey board revision 1.0

Scheduled Pinned Locked Moved Announcements
65 Posts 20 Posters 47.1k Views 6 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.
  • axillentA Offline
    axillentA Offline
    axillent
    Mod
    wrote on last edited by
    #33

    OTA is a very promising thing
    for the battery board selecting any external chip is also a question of power consumed

    the idea with flash is good because it builds the ability of transactional while you able to safely recover from any situation.
    but from other hand. you can safely recover even without flash if your second party will take care
    look how upload from USB is organized. It do not have a transactional mechanism, it cannot recover by itself
    if upload failed the only way to recover is to upload again
    why we need OTA to be more safe than regular USB update?

    but while you a thinking on this i found an issue in the board schematics. I have to add one diod and one 10k resistor to isolate D0 of the MCU from the parasite power coming from the external FTDI programmer. Otherwise the parasite power can destroy nordic chip

    sense and drive

    1 Reply Last reply
    0
    • axillentA Offline
      axillentA Offline
      axillent
      Mod
      wrote on last edited by
      #34

      I have news

      prototype of the board fully tested except radio
      stepup is working fine, power switching is working
      programming using external FTDI is working, schematics corrected to get rid from parasite power
      al I/O is fine
      battery and solar voltage measurement is working
      temperature sensor is excellent
      it was not simple to solder, the package is unbelievably small - 1.7 x 1.2 mm, 6 pins

      next and last is radio, going to solder it today
      фото 1.JPG

      sense and drive

      1 Reply Last reply
      2
      • Z Offline
        Z Offline
        Zeph
        Hero Member
        wrote on last edited by
        #35

        Interesting that you are choosing GROVE connectors. Are they easy to find (other than SEEEDStudio)?

        This makes for an almost drop in alternative to the DevDuino's :http://www.seeedstudio.com/wiki/DevDuino_sensor_node

        axillentA 1 Reply Last reply
        0
        • Z Zeph

          Interesting that you are choosing GROVE connectors. Are they easy to find (other than SEEEDStudio)?

          This makes for an almost drop in alternative to the DevDuino's :http://www.seeedstudio.com/wiki/DevDuino_sensor_node

          axillentA Offline
          axillentA Offline
          axillent
          Mod
          wrote on last edited by
          #36

          @Zeph

          @Zeph said:

          Interesting that you are choosing GROVE connectors. Are they easy to find (other than SEEEDStudio)?

          GROVE is just a convention on pin assignment. The physical connectors are standard 4 pin 2.0mm pitch (arduino is using 2.54mm)
          Two pins are used for GND + VCC and two pins for data/analogue arduino pins
          I have them purchased from aliexpress

          This makes for an almost drop in alternative to the DevDuino's :http://www.seeedstudio.com/wiki/DevDuino_sensor_node
          we are different.

          we have compact, ready to use double power sensor node
          devduino is using an external radio, v1 is using low capacity CR2032, v2 is using two AAA batteries
          we are using radio on board, single AAA battery with step up and a solar connector with automatic switch

          CR2032 is just 80-120mAh
          AAA alkiline is about 800-1000mAh

          two batteries on devduino is 1600-2000mAh but it will work until discharge of a cell to 0.9-1.65V (supplying 1.8-3.3 V) depending on the frequency used
          we can run until discharge to 0.7V regardless frequency used. Single cell reduces space needed and stepup allows to draws a maximum

          sense and drive

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zeph
            Hero Member
            wrote on last edited by Zeph
            #37

            Sorry, I by "almost a drop in replacement" I meant that somebody using a DevDuino could (almost) unplug it, plug in your board, upload the code, and go, if they use the same radio and connectors. (Or vice versa). That flexibility could be good.

            I didn't mean that your design was the same or had no advantages! Thanks for listing the key differences, tho.

            And - it's "almost" compatible, software wise. I think the data connector has different pin numbers. Not sure about the radio pins (other than dedicated SPI).

            But I think that with a change in pin defs, most code could be moved between them, and with the same connectors, a physical switch could be simple.

            axillentA 1 Reply Last reply
            0
            • Z Zeph

              Sorry, I by "almost a drop in replacement" I meant that somebody using a DevDuino could (almost) unplug it, plug in your board, upload the code, and go, if they use the same radio and connectors. (Or vice versa). That flexibility could be good.

              I didn't mean that your design was the same or had no advantages! Thanks for listing the key differences, tho.

              And - it's "almost" compatible, software wise. I think the data connector has different pin numbers. Not sure about the radio pins (other than dedicated SPI).

              But I think that with a change in pin defs, most code could be moved between them, and with the same connectors, a physical switch could be simple.

              axillentA Offline
              axillentA Offline
              axillent
              Mod
              wrote on last edited by axillent
              #38

              @Zeph if you have developed a sketch for DevDuino you will just need to change a pin assignment to move it to MySensors board
              it is a good practice to use #define for the definition of your hardware pins and move this to abstract level, for example:

              #define RADIO_CE    8
              #define RADIO_CSN   9
              #define PIR_SENSOR  3
              

              to change this assignment you just need to change this few lines

              sense and drive

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                Zeph
                Hero Member
                wrote on last edited by
                #39

                Yes, that's about what I thought. Thanks.

                Looking forward to your board being available. I had ordered a couple DevDuinos, but now I'm holding off on ordering more since seeing yours - and for me the option of being able to swap out which is used could be handy.

                Looking forward to hearing more about availability and final pricing, when you have it.

                Oh, did you use the same temp sensor?

                axillentA 1 Reply Last reply
                0
                • Z Zeph

                  Yes, that's about what I thought. Thanks.

                  Looking forward to your board being available. I had ordered a couple DevDuinos, but now I'm holding off on ordering more since seeing yours - and for me the option of being able to swap out which is used could be handy.

                  Looking forward to hearing more about availability and final pricing, when you have it.

                  Oh, did you use the same temp sensor?

                  axillentA Offline
                  axillentA Offline
                  axillent
                  Mod
                  wrote on last edited by
                  #40

                  @Zeph

                  @Zeph said:

                  Oh, did you use the same temp sensor?

                  devduino is using analogue sensor with accuracy ± 2 ° C in range -40 ° C +125 ° C

                  we are using very low consumption digital sensor with accuracy ± 0.5 ° C with MCU wake up function on alert
                  range -25 ° C +85 ° C

                  sense and drive

                  Z 1 Reply Last reply
                  0
                  • axillentA axillent

                    @Zeph

                    @Zeph said:

                    Oh, did you use the same temp sensor?

                    devduino is using analogue sensor with accuracy ± 2 ° C in range -40 ° C +125 ° C

                    we are using very low consumption digital sensor with accuracy ± 0.5 ° C with MCU wake up function on alert
                    range -25 ° C +85 ° C

                    Z Offline
                    Z Offline
                    Zeph
                    Hero Member
                    wrote on last edited by
                    #41

                    @axillent
                    I feel like the straight man, feeding you lines :-)

                    Seriously, it's great to have the differences listed for everybody to see.

                    axillentA 1 Reply Last reply
                    0
                    • Z Zeph

                      @axillent
                      I feel like the straight man, feeding you lines :-)

                      Seriously, it's great to have the differences listed for everybody to see.

                      axillentA Offline
                      axillentA Offline
                      axillent
                      Mod
                      wrote on last edited by
                      #42

                      @Zeph YAW :)

                      sense and drive

                      1 Reply Last reply
                      0
                      • DammeD Offline
                        DammeD Offline
                        Damme
                        Code Contributor
                        wrote on last edited by
                        #43

                        How's the progress with the radio?

                        I was thinking about the small stuff soldering, Me myself don't have that much trouble with the multi-pin chips.
                        For QFN (I hate them) I usually pre-solder the pads and use lot of flux and heat gun.
                        For TQFP I usually solder just one pin in 2 corners, and then I put a thin strip of solder along the pins and just drag my iron across. and if it's a mess, you used too much solder and to little flux :)
                        I hate soldering smd resistors and stuff, the smaller the more ass they get.. :P

                        axillentA 1 Reply Last reply
                        0
                        • DammeD Damme

                          How's the progress with the radio?

                          I was thinking about the small stuff soldering, Me myself don't have that much trouble with the multi-pin chips.
                          For QFN (I hate them) I usually pre-solder the pads and use lot of flux and heat gun.
                          For TQFP I usually solder just one pin in 2 corners, and then I put a thin strip of solder along the pins and just drag my iron across. and if it's a mess, you used too much solder and to little flux :)
                          I hate soldering smd resistors and stuff, the smaller the more ass they get.. :P

                          axillentA Offline
                          axillentA Offline
                          axillent
                          Mod
                          wrote on last edited by
                          #44

                          @Damme I get first success on testing soldered radio, but more tests are needed

                          I use similar technique for QFN and TQFP
                          goof flux is a must

                          And why you hate this little friendly SMD staff?) I like them. 0603 is optimal size, easy to solder, not too little.
                          0402 needs much more care

                          sense and drive

                          1 Reply Last reply
                          0
                          • axillentA axillent

                            I'm opening this topic for the discussion of the Mysensors board.
                            We are very close to production this why an open discussion is very important to fix critical things and to understand your interest on the board.
                            The price will very depends on volumes. But lets come to that later.
                            Preliminary characteristics:

                            50x50 mm size
                            on board AAA battery holder
                            very efficient step to power up at 3.3V from any single AAA (alkaline or Ni-MH/CD)
                            atmega328p running at 1MHz from internal oscillator with ability to speed up to 8MHz on the fly
                            NRF24L01 with antenna
                            solar power switch, connect external solar panel 0.8-5.5V and solar will be the main power while solar voltage is higher than battery
                            one I2C GROVE connector which can be used as a connector to A5/A4
                            one GROVE analogue connector to A0/A1
                            one GROVE digital connector to D2/D3
                            high precision very low power I2C temperature sensor with ability to wake up MCU at temperature alertt
                            one red LED

                            to program you will need an external USB<->UART like you need to program pro-mini

                            daulagariD Offline
                            daulagariD Offline
                            daulagari
                            Hero Member
                            wrote on last edited by
                            #45

                            @axillent

                            Looks like a very nice board and the ability to also power it using a solar cell and the very efficient step up converter makes it quite interesting to me.

                            One question: Would it be possible to use a rechargeable AAA battery and if there is enough (solar) power, recharge the battery?

                            axillentA 1 Reply Last reply
                            0
                            • daulagariD daulagari

                              @axillent

                              Looks like a very nice board and the ability to also power it using a solar cell and the very efficient step up converter makes it quite interesting to me.

                              One question: Would it be possible to use a rechargeable AAA battery and if there is enough (solar) power, recharge the battery?

                              axillentA Offline
                              axillentA Offline
                              axillent
                              Mod
                              wrote on last edited by
                              #46

                              @daulagari sure you can use rechargeable AAA as power source

                              it is decided not to add charging function
                              if you will use dual power (and if your sketch will be optimal from power saving) regular alkaline can lasts for 1-2 years
                              at the same time rechargeable AAA because of often charging-recharging circle (every day because of solar) it can last in one year
                              number of recharging circles are limited and also Ni-Mh/Cd they last faster in such way because of "memory" effect

                              sense and drive

                              1 Reply Last reply
                              0
                              • daulagariD Offline
                                daulagariD Offline
                                daulagari
                                Hero Member
                                wrote on last edited by
                                #47

                                @axillent: Still a bit puzzled as the combination of support operation from an external (solar) supply but no charging support seems not logical to me.

                                Understood that the number of recharging cycles of rechargeable batteries is limited but batteries still have about 10 times the capacity of supercaps so also if the capacity is reduced to 10% of the initial capacity because of the number of recharging cycles they are still a better choice.

                                On Wikipedia I read that charging at C/300 or even C/40 seems to be safe over long time and that can be done using a diode and resistor I think.

                                But ... also if there is no charging support, I am interested to buy a few ;-)

                                axillentA 1 Reply Last reply
                                0
                                • daulagariD daulagari

                                  @axillent: Still a bit puzzled as the combination of support operation from an external (solar) supply but no charging support seems not logical to me.

                                  Understood that the number of recharging cycles of rechargeable batteries is limited but batteries still have about 10 times the capacity of supercaps so also if the capacity is reduced to 10% of the initial capacity because of the number of recharging cycles they are still a better choice.

                                  On Wikipedia I read that charging at C/300 or even C/40 seems to be safe over long time and that can be done using a diode and resistor I think.

                                  But ... also if there is no charging support, I am interested to buy a few ;-)

                                  axillentA Offline
                                  axillentA Offline
                                  axillent
                                  Mod
                                  wrote on last edited by
                                  #48

                                  @daulagari
                                  the logic is that none rechargeable battery can lasts for 1-2 years
                                  rechargeable battery can lasts for 1-2 years too
                                  and what is a reason to pay more for rechargeable one?

                                  it is theory, but it is based on deep thinking. If we will see a practical reasoning for recharging function it will be added to revision 2

                                  sense and drive

                                  1 Reply Last reply
                                  0
                                  • Z Offline
                                    Z Offline
                                    Zeph
                                    Hero Member
                                    wrote on last edited by
                                    #49

                                    Interesting analysis.

                                    We get into a mindset that solar + battery implies recharging the battery from solar. That is, we think of the solar as the power and the battery as a buffer for dark periods.

                                    You are using the solar as a battery extender for a primary battery. It can run for very long periods in total darkness (much less cloudy days), but when it does get solar you can go longer between battery changes.

                                    And your point is that the rechargeable batteries need to be changed every year or two anyway, so if you can get that long with a primary cell (cheaper and bridges longer gaps without solar), why bother?

                                    Sounds good to me - I await practical experience. Do you yet have one or more test units accumulating data and testing the approach? On cool things about JeeLabs is that with each new design he puts up some long term test units, wirelessly logging the results. Over time he gets years worth of practical results to report and analyze.

                                    axillentA 1 Reply Last reply
                                    0
                                    • Z Zeph

                                      Interesting analysis.

                                      We get into a mindset that solar + battery implies recharging the battery from solar. That is, we think of the solar as the power and the battery as a buffer for dark periods.

                                      You are using the solar as a battery extender for a primary battery. It can run for very long periods in total darkness (much less cloudy days), but when it does get solar you can go longer between battery changes.

                                      And your point is that the rechargeable batteries need to be changed every year or two anyway, so if you can get that long with a primary cell (cheaper and bridges longer gaps without solar), why bother?

                                      Sounds good to me - I await practical experience. Do you yet have one or more test units accumulating data and testing the approach? On cool things about JeeLabs is that with each new design he puts up some long term test units, wirelessly logging the results. Over time he gets years worth of practical results to report and analyze.

                                      axillentA Offline
                                      axillentA Offline
                                      axillent
                                      Mod
                                      wrote on last edited by
                                      #50

                                      @Zeph thanks for the feedback
                                      I'm wondering on triple power sources - main is solar, buffer is super capacitor and none rechargeable as back-up
                                      super-capacitor is a best choice for night time run while charging at daylight time
                                      super capacitors are not cheap, but while we will have a production experience I think we will manage its price down

                                      sure it will be good to track performance. May be Henrik can think of adding some statistics logging to MyCloud service and this can be seed from the whole community in the future

                                      sense and drive

                                      1 Reply Last reply
                                      0
                                      • daulagariD Offline
                                        daulagariD Offline
                                        daulagari
                                        Hero Member
                                        wrote on last edited by
                                        #51

                                        @axillent:

                                        the logic is that none rechargeable battery can lasts for 1-2 years
                                        rechargeable battery can lasts for 1-2 years too

                                        After the 1-2 years the none rechargeable battery is empty and should be brought to the recycling point but my own experience is that rechargeable batteries are not gone in two years.

                                        See Nickel–metal hydride battery#Telecommunications, it looks to me NiMH batteries can be designed for 10 year operation. Also normal available batteries claim they retain 65-70% capacity after five years in storage and like written earlier, I think we can do with 10% of the original capacity.

                                        No problem for me if this has to wait, I can always add something myself, and yes, let logging prove what's right. Only thing I find a pity is that it will take two but probably much more year to prove things ;-)

                                        Z 1 Reply Last reply
                                        0
                                        • daulagariD daulagari

                                          @axillent:

                                          the logic is that none rechargeable battery can lasts for 1-2 years
                                          rechargeable battery can lasts for 1-2 years too

                                          After the 1-2 years the none rechargeable battery is empty and should be brought to the recycling point but my own experience is that rechargeable batteries are not gone in two years.

                                          See Nickel–metal hydride battery#Telecommunications, it looks to me NiMH batteries can be designed for 10 year operation. Also normal available batteries claim they retain 65-70% capacity after five years in storage and like written earlier, I think we can do with 10% of the original capacity.

                                          No problem for me if this has to wait, I can always add something myself, and yes, let logging prove what's right. Only thing I find a pity is that it will take two but probably much more year to prove things ;-)

                                          Z Offline
                                          Z Offline
                                          Zeph
                                          Hero Member
                                          wrote on last edited by
                                          #52

                                          @daulagari said:

                                          After the 1-2 years the none rechargeable battery is empty and should be brought to the recycling point but my own experience is that rechargeable batteries are not gone in two years.

                                          I've read that NiCD can sometimes do better for solar landscape lights than NiMH, because the type of cycle favors it, but often they say to plan to replace the batteries every couple of years anyway - between the charge cycling and the outdoor temperature cycling (cold and hot).

                                          Perhaps this is different, being very shallow discharge compared to lighting. Really only testing will let us know for sure, and I'd be glad to see the results of that.

                                          And yes, it's hard to wait a year or two for results. (It's hard to get most homebrewers to let their products age, too). But the time to start the test is now, and results will start trickling in. It used to be kind of fun when JeeLabs would post something like "Well, unit #1 is at 420 days and unit #2 is at 287 days, and here are the results so far". Sort of like slow gardening.

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


                                          15

                                          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