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. Sensebender Micro

Sensebender Micro

Scheduled Pinned Locked Moved Announcements
584 Posts 84 Posters 402.0k Views 35 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.
  • AnticimexA Anticimex

    @alexsh1 yes, like I have said here and in other topics, signing often gets the blame for transmission problems because with signing the maximum message buffer is used, and larger messages are more difficult to transmit than short ones. So if you have a poor connection, odds are that a larger message will fail more often than a short one.

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

    @Anticimex said:

    @alexsh1 yes, like I have said here and in other topics, signing often gets the blame for transmission problems because with signing the maximum message buffer is used, and larger messages are more difficult to transmit than short ones. So if you have a poor connection, odds are that a larger message will fail more often than a short one.

    I do not think its signing, but I think it is implementation of signing and sending.
    I do not get st=fail after the initial 9 messages not even once. Something is just very-very odd.

    1 Reply Last reply
    0
    • ximinezX Offline
      ximinezX Offline
      ximinez
      wrote on last edited by
      #479

      I'm seeing the same failed signings when the device powers up, but it doesn't fail after those.

      alexsh1A 1 Reply Last reply
      0
      • ximinezX ximinez

        I'm seeing the same failed signings when the device powers up, but it doesn't fail after those.

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

        @ximinez said:

        I'm seeing the same failed signings when the device powers up, but it doesn't fail after those.

        Did you manage to get it sorted?

        1 Reply Last reply
        0
        • ximinezX Offline
          ximinezX Offline
          ximinez
          wrote on last edited by
          #481

          I just ignore the first fails. It works after that, and has done so for close to a month.

          1 Reply Last reply
          0
          • AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by Anticimex
            #482

            Well, if you think the signing implementation cause initial radio transmissions to fail I am afraid I will need your help in explaining how. Because I fail to see any connection between signing and radio behaviour. st=fail is a transmission problem, and signing implementation require flawless transmissions. I also suspect you both use nrf24 and I also suspect you will not see this if you use rfm69 although I use nrf24 myself for testing and I have not seen what you report. But I am sure you really experience this strange behaviour. But I maintain that it is due to some startup problems of the radio. I am afraid I cannot find anything I can change in the signing codebase to have an influence on st=ok or st=fail. But I am all ears to suggestions of course if you see something suspicious.

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            alexsh1A 1 Reply Last reply
            1
            • AnticimexA Anticimex

              Well, if you think the signing implementation cause initial radio transmissions to fail I am afraid I will need your help in explaining how. Because I fail to see any connection between signing and radio behaviour. st=fail is a transmission problem, and signing implementation require flawless transmissions. I also suspect you both use nrf24 and I also suspect you will not see this if you use rfm69 although I use nrf24 myself for testing and I have not seen what you report. But I am sure you really experience this strange behaviour. But I maintain that it is due to some startup problems of the radio. I am afraid I cannot find anything I can change in the signing codebase to have an influence on st=ok or st=fail. But I am all ears to suggestions of course if you see something suspicious.

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

              @Anticimex Interesting observation - another node with the same rf24l01+ radio from the sensebender with the same GW and signing works without st=fail. This is now clear that this is not a rf24l01+ hardware issue.

              AnticimexA 1 Reply Last reply
              0
              • alexsh1A alexsh1

                @Anticimex Interesting observation - another node with the same rf24l01+ radio from the sensebender with the same GW and signing works without st=fail. This is now clear that this is not a rf24l01+ hardware issue.

                AnticimexA Offline
                AnticimexA Offline
                Anticimex
                Contest Winner
                wrote on last edited by
                #484

                @alexsh1 Indeed. And also that it is not a signing issue since I take it you use the same FW?
                I still think it is a HW issue. You have a new node, right? So the radio has a new power source?

                Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                alexsh1A 1 Reply Last reply
                0
                • AnticimexA Anticimex

                  @alexsh1 Indeed. And also that it is not a signing issue since I take it you use the same FW?
                  I still think it is a HW issue. You have a new node, right? So the radio has a new power source?

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

                  @Anticimex said:

                  @alexsh1 Indeed. And also that it is not a signing issue since I take it you use the same FW?
                  I still think it is a HW issue. You have a new node, right? So the radio has a new power source?

                  Yes, I tried to compare apples with apples:

                  1. it is the same distance / FW
                  2. the code is different to the expend that the sensebender has got Si7021/ATSHA204a and the other sensor did not. I may try to upload a simplified code to the sensebender just to test it to make it a more equal comparison.
                  3. the power source is the same - 5V 500mA via AMS1117 + cap
                  AnticimexA 1 Reply Last reply
                  0
                  • alexsh1A alexsh1

                    @Anticimex said:

                    @alexsh1 Indeed. And also that it is not a signing issue since I take it you use the same FW?
                    I still think it is a HW issue. You have a new node, right? So the radio has a new power source?

                    Yes, I tried to compare apples with apples:

                    1. it is the same distance / FW
                    2. the code is different to the expend that the sensebender has got Si7021/ATSHA204a and the other sensor did not. I may try to upload a simplified code to the sensebender just to test it to make it a more equal comparison.
                    3. the power source is the same - 5V 500mA via AMS1117 + cap
                    AnticimexA Offline
                    AnticimexA Offline
                    Anticimex
                    Contest Winner
                    wrote on last edited by
                    #486

                    @alexsh1 You could also try soft signing on the sensebender and see if that makes a difference. Perhaps the atsha device interferes with the radio (this depends on routing and such things). I have no sensebender myself and I have not noticed the behavior you describe with nrf24 and atsha204a.

                    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                    alexsh1A 1 Reply Last reply
                    1
                    • AnticimexA Anticimex

                      @alexsh1 You could also try soft signing on the sensebender and see if that makes a difference. Perhaps the atsha device interferes with the radio (this depends on routing and such things). I have no sensebender myself and I have not noticed the behavior you describe with nrf24 and atsha204a.

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

                      @Anticimex I tried the sensebender with soft singing - still the same st=fail

                      AnticimexA YveauxY 2 Replies Last reply
                      0
                      • alexsh1A alexsh1

                        @Anticimex I tried the sensebender with soft singing - still the same st=fail

                        AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by
                        #488

                        @alexsh1 Ok. I guess that is "good news for me" as it rules out signing related hardware as well. I guess so far, the only conclusion is that rf performance is to some extent degraded on the sensebender.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                        alexsh1A 1 Reply Last reply
                        0
                        • alexsh1A alexsh1

                          @Anticimex I tried the sensebender with soft singing - still the same st=fail

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #489

                          @alexsh1 just a hunch: do both nodes have identical CPU's & clock frequency?

                          http://yveaux.blogspot.nl

                          alexsh1A 1 Reply Last reply
                          0
                          • YveauxY Yveaux

                            @alexsh1 just a hunch: do both nodes have identical CPU's & clock frequency?

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

                            @Yveaux Correct - I have used Pro Mini 3.3V 8Mhz which corresponds to the sensebender

                            ximinezX 1 Reply Last reply
                            0
                            • alexsh1A alexsh1

                              @Yveaux Correct - I have used Pro Mini 3.3V 8Mhz which corresponds to the sensebender

                              ximinezX Offline
                              ximinezX Offline
                              ximinez
                              wrote on last edited by
                              #491

                              Is there a "pre setup" available yet? The failed transmits are before sensor values are transmitted, so they aren't in the actual sketch but somewhere in the library. I'd like to try just sleeping the sensor 5-10 seconds before the initial data is transmitted and see if that makes a difference.

                              AnticimexA alexsh1A hekH 3 Replies Last reply
                              0
                              • AnticimexA Anticimex

                                @alexsh1 Ok. I guess that is "good news for me" as it rules out signing related hardware as well. I guess so far, the only conclusion is that rf performance is to some extent degraded on the sensebender.

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

                                @Anticimex Yeah it seems like a combination of things but not a signing problem

                                1 Reply Last reply
                                0
                                • ximinezX ximinez

                                  Is there a "pre setup" available yet? The failed transmits are before sensor values are transmitted, so they aren't in the actual sketch but somewhere in the library. I'd like to try just sleeping the sensor 5-10 seconds before the initial data is transmitted and see if that makes a difference.

                                  AnticimexA Offline
                                  AnticimexA Offline
                                  Anticimex
                                  Contest Winner
                                  wrote on last edited by
                                  #493

                                  @ximinez not sure. I know it has been discussed. But you can always patch the library to test.

                                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                  1 Reply Last reply
                                  0
                                  • ximinezX ximinez

                                    Is there a "pre setup" available yet? The failed transmits are before sensor values are transmitted, so they aren't in the actual sketch but somewhere in the library. I'd like to try just sleeping the sensor 5-10 seconds before the initial data is transmitted and see if that makes a difference.

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

                                    @ximinez I do not think so. Either to patch the library or you do it in the sketch. Unless I do not know some other secret place.

                                    1 Reply Last reply
                                    0
                                    • ximinezX ximinez

                                      Is there a "pre setup" available yet? The failed transmits are before sensor values are transmitted, so they aren't in the actual sketch but somewhere in the library. I'd like to try just sleeping the sensor 5-10 seconds before the initial data is transmitted and see if that makes a difference.

                                      hekH Offline
                                      hekH Offline
                                      hek
                                      Admin
                                      wrote on last edited by
                                      #495

                                      @ximinez

                                      You can add a before()-method.

                                      ximinezX 1 Reply Last reply
                                      0
                                      • hekH hek

                                        @ximinez

                                        You can add a before()-method.

                                        ximinezX Offline
                                        ximinezX Offline
                                        ximinez
                                        wrote on last edited by
                                        #496

                                        @hek said:

                                        @ximinez

                                        You can add a before()-method.

                                        It's that easy? I'll give it a try when I get around to it, unless @alexsh1 feels like trying it first :)

                                        1 Reply Last reply
                                        0
                                        • HaakonH Offline
                                          HaakonH Offline
                                          Haakon
                                          wrote on last edited by
                                          #497

                                          Hi! I have just gotten four Sensebenders and was hoping to connect PIRs to them and powering them with AA batteries. I understand from the forums that people do this. But is there a working Arduino sketch example implementing a PIR for wake-up out there? (And perhaps there is a more detailed description for such a hardware setup for us newbies?)

                                          alexsh1A 1 Reply Last reply
                                          1
                                          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