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 401.8k 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by hek
    #180

    Does the failed messages reach their destination (gateway in your case)? As you might know it is the ack that never reaches the sensbender node which could be a result of power issues on the gateway side.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fabien
      wrote on last edited by
      #181

      no, message are not recieve. I find someting :
      When I touch the NRF24 antenna (just a little it sifficient), it works. fine.
      Strange, same radio on other sensebender doesn't need this and other radio on this sensebender need to bo "touch".
      I try with 10uF additionnal on NRF but no change ...

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by hek
        #182

        Do you use a socket or is the NRF module directly soldered onto the sensbender?

        (a bad connection in socket could be a problem... and when you press NRF module it has connection again)

        1 Reply Last reply
        0
        • F Offline
          F Offline
          Fabien
          wrote on last edited by
          #183

          Yes it's directly sold (and very hard to change with metallised hole). I will give a last try with another radio ...

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Fabien
            wrote on last edited by
            #184

            Ok end of story ... sensebender card is dead ! 2 metallized hole were destroy by solder/unsoldering NRF modules.
            Hope my last Sensebender will work. And if there is a batch with light version I will reuse T/H sensor

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gloob
              wrote on last edited by
              #185

              @Fabien it seems that you have the same problem as me. I ordered a new set of radio modules to test if it is the fault of the radios. I will give feedback here about my progress.

              I aleady tried to add capacitors on the radio module but this did not help.
              There is also no difference if I power the micro from the FTDI or the battery connector.

              1 Reply Last reply
              0
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #186

                @Fabien

                Unfortunately I don't think there will be a light edition coming out at the moment. Currently the savings is way too small (I'm estimating a savings of 4-5$ compared to the full sensebender edition).

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #187

                  @Fabien

                  Here are some quite nice repair guides
                  http://www.circuitrework.com/guides/guides.shtml

                  More specifically
                  http://www.circuitrework.com/guides/5-1.shtml

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    Fabien
                    wrote on last edited by
                    #188

                    @gloob it's not a radio problem. Same radio works on the others boards.
                    @hek I will try to repair the board ...

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mvader
                      wrote on last edited by mvader
                      #189

                      looking for some help programming this thing.
                      I had a pl2303 usb programmer, but it had no DTR, so i orders a new usb programmer
                      this one is a cp2102 with a DTR line.
                      but still the same problem. it never uploads the code.
                      i have the right board, processor and port chosen.
                      i have tried all the programmers in the IDE but none work.
                      it just says "uploading" and then eventually errors out.
                      any suggestions?

                      EDIT: nm i read something about switching tx and rx and i figured what the heck and surprise it worked..
                      sketch uploaded..

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tlund
                        wrote on last edited by
                        #190

                        Hi @tbowmo

                        Thanks for bringing this great project to the community.

                        I'm trying to understand the sensebender's power profile, especially the sleep current.

                        I have previously done some measurements with the atmega328p (pro mini) + NRF. In addition to that I have also looked at the datasheets for the other components on the sensebender.

                        It seems the theoretical low sleep current consumption is something like this:

                        * nrf24l01+    900nA
                        * atmega328p     5uA (with WD)
                        * si7021        60nA
                        * atsha204      30nA
                        * at23df512c   300nA
                          =  Total     6.3uA
                        

                        The SBMicro seems to draw ~50uA in sleep mode with the default configuration.

                        I managed to put the flash memory into "ultra deep sleep"(*), causing the total consumption to drop to ~27uA. So there is still around 20uA that is not accounted for.

                        I've also tried putting the atsha204 into sleep, but that did not make any difference (also confirmed by the specs).

                        Are there some other settings/sleep modes that have not been enabled yet? What about the atmega itself?

                        Do any of you have the a sensebender prototype with separate components, and can test sleep current by removing components one
                        by one? (Before I start cutting traces on my own sensebenders in order to zero in on the target component).

                        Is there something I'm missing?

                        Datasheets:
                        ATSHA204
                        AT25DF512C
                        Si7021 A20

                        (*) in setup(): flash.initialize(); flash.ultra_deep_sleep() <- From datasheet

                        1 Reply Last reply
                        0
                        • tbowmoT Offline
                          tbowmoT Offline
                          tbowmo
                          Admin
                          wrote on last edited by
                          #191

                          @tlund

                          Interesting figures.. are you sure that you've got a genuine nrf24 chip on the radio? Could be a fake with higher power consumption.

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tlund
                            wrote on last edited by
                            #192

                            @tbowmo

                            My NRF's are the same $1 nrf's listed in the mysensors store, so probably fake. But I have still measured them to draw ~900nA in powerDown.

                            But I think I have found the culprint now. It seems the extra 20uA is caused by Arduino 1.6.5 (it may be that my installation is faulty).

                            My test setup:

                            • pro mini
                            • nrf
                            • a simple sketch that does gw.sleep(60s)

                            1st test: sketch compiled & uploaded via Arduino 1.0.5-r2: 6uA
                            2nd test: sketch compiled & uploaded via Arduino 1.6.5: 24uA

                            1 Reply Last reply
                            0
                            • tbowmoT Offline
                              tbowmoT Offline
                              tbowmo
                              Admin
                              wrote on last edited by
                              #193

                              @tlund

                              Hmm could it be some optimization that causes the atmega to not go into deepest sleep mode?

                              Maybe someone should have a look at the assembler output from a build with both versions of arduino

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                Fabien
                                wrote on last edited by
                                #194

                                I'm back with bad news ... My 5th sensebender have a lot of st:fail like the first one. But now I know why !
                                There is only one same things between the two board which fails : The FTDI connector. It's 90° connector and pins are just below the antenna. And I think tunning is not ok.
                                So, when I go to work I try to remove the FTDI connector and see if connection is better !
                                IMG_20150629_160855.jpg

                                1 Reply Last reply
                                0
                                • tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by
                                  #195

                                  @Fabien

                                  That ftdi connector could have some effect on the antenna. I specifically made the area below the antenna empty, so that it wouldn't make any problems with the antenna.

                                  1 Reply Last reply
                                  1
                                  • F Offline
                                    F Offline
                                    Fabien
                                    wrote on last edited by
                                    #196

                                    So now the good news. I "repair" my 1st SenseBender (only two wire but one on the ATMega) and it works (with the same radio wich failed). I remove the FTDI header and everythings is ok. So now I'm sure the problem is the FTDI header near the antenna. And be carefull, we can have the same problem with battery for example. I suppose minimal distance is about 3.2 cm (lambda/4).
                                    But now I have a question : How can I update sketch without header (0° header doesn't fit in case). OTA ? Is ther a tutorial for OTA update with out of the box SenseBenderMicro ?

                                    Thank for your help !

                                    1 Reply Last reply
                                    1
                                    • G Offline
                                      G Offline
                                      gloob
                                      wrote on last edited by
                                      #197

                                      I have the FTDI headers on the opposite site and I also get this transmission errors.
                                      I ordered a new batch of NRF24L01+ modules and will check if the problem still exists.

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        mvader
                                        wrote on last edited by
                                        #198

                                        I have my FTDI headers on the other side as well and have no transmission errors.
                                        I am using genuine NRF+ radios though.
                                        could be the fakes causing a problem

                                        1 Reply Last reply
                                        0
                                        • tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #199

                                          I have a male connector on my FTDI thingie, so I just put it in the mounting holes on the micro, and hold it to one of the sides, so it makes contact.

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


                                          24

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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