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
    #518

    Yep, it was moved to the Sensebender repo during the 2.0 release:

    https://github.com/mysensors/SensebenderMicro/blob/master/Arduino/SensebenderMicro/SensebenderMicro.ino

    1 Reply Last reply
    0
    • FotoFieberF FotoFieber

      Playing with 2.0 I wanted to upgrade my sensebenders but I didn't find the sketch (neither in the main distribution nor in the examples folder).

      Is there a version 2.0 compatible sketch?

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

      @FotoFieber it is low located in the SenseBender repo in GitHub

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

      FotoFieberF 1 Reply Last reply
      0
      • AnticimexA Anticimex

        @FotoFieber it is low located in the SenseBender repo in GitHub

        FotoFieberF Offline
        FotoFieberF Offline
        FotoFieber
        Hardware Contributor
        wrote on last edited by
        #520

        @Anticimex
        Thx. This is an old version. I found a newer on my hard drive (old development branch). As I do only need temp/hum, I reduced the sketch and it is working fine.

        AnticimexA 1 Reply Last reply
        0
        • FotoFieberF FotoFieber

          @Anticimex
          Thx. This is an old version. I found a newer on my hard drive (old development branch). As I do only need temp/hum, I reduced the sketch and it is working fine.

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

          @FotoFieber @tbowmo isn't the one in the SenseBender repo supposed to be the latest&greatest?

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

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

            @Anticimex @FotoFieber

            Yup, it was moved over from development branch on the release night. So should be the latest and greatest

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jovo
              wrote on last edited by
              #523

              Hi!
              I am in process of upgrading my Sensebenders to V2.0 and like to enable the OTA function.

              Who can give me some pointers on the capabilities of OTA for this Sensebender Micro board?
              I know that has external flash for this purpose, but i am stuggling a bit finding how to use it.
              So I am keen to read information on dependencies of the Sensebender sketch as well as the controller options.
              My environment:
              6x Sensebender
              Wifi based Gateway
              Domoticz as controller

              Things I like to know:

              • Is my sensebender shipped with optiboot bootloader? (have them about 1 year now)?
              • do i require special Gateway software? (i noticed a sketch called something like GatewayESP8266OTA)
              • what can i expect from Domoticz? probably not much, so do i need to connect to another controller (e.g. MYSController) to perform an update?
              • What controller is advised for the standard bootloader (optiboot bootloader)?

              I am sure those things are discussed in the past, but I was unable to find it.
              Would be great if somebody can share a howto or wiki on this topic.

              thanks in advance

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

                @jovo

                Sensebender is delivered with "DualOptiboot" which uses the external flash.

                To enable OTA with 2.0.0, you have to compile your sketches with

                #define MY_OTA_FIRMWARE_FEATURE
                

                enabled. For controller / Gateway, you need something else than domoticz. I haven't tried OTA firmware upgrades myself yet, so I do not have any experience with what works, and what doesn't work, other than the fact that domoticz doesn't support OTA..

                TheoLT 1 Reply Last reply
                1
                • tbowmoT tbowmo

                  @jovo

                  Sensebender is delivered with "DualOptiboot" which uses the external flash.

                  To enable OTA with 2.0.0, you have to compile your sketches with

                  #define MY_OTA_FIRMWARE_FEATURE
                  

                  enabled. For controller / Gateway, you need something else than domoticz. I haven't tried OTA firmware upgrades myself yet, so I do not have any experience with what works, and what doesn't work, other than the fact that domoticz doesn't support OTA..

                  TheoLT Offline
                  TheoLT Offline
                  TheoL
                  Contest Winner
                  wrote on last edited by
                  #525

                  Today I soldered the headers to a new sensebender and try to start it. I've uploaded the 2.0 example but it can't find the gateway:

                  Started
                  Starting sensor (RNONA-, 2.0.0)
                  TSM:INIT
                  TSM:RADIO:OK
                  TSM:FPAR
                  TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                  TSM:FPAR
                  TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                  TSM:FPAR
                  TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                  TSM:FPAR
                  TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                  !TSM:FPAR:FAIL
                  !TSM:FAILURE
                  TSM:PDT
                  

                  My other sense benders worked flawelessly. But this one can't communicate. Does anyone have any idea, what might be wrong?

                  alexsh1A Q 2 Replies Last reply
                  0
                  • TheoLT TheoL

                    Today I soldered the headers to a new sensebender and try to start it. I've uploaded the 2.0 example but it can't find the gateway:

                    Started
                    Starting sensor (RNONA-, 2.0.0)
                    TSM:INIT
                    TSM:RADIO:OK
                    TSM:FPAR
                    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                    TSM:FPAR
                    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                    TSM:FPAR
                    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                    TSM:FPAR
                    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                    !TSM:FPAR:FAIL
                    !TSM:FAILURE
                    TSM:PDT
                    

                    My other sense benders worked flawelessly. But this one can't communicate. Does anyone have any idea, what might be wrong?

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

                    @TheoL I have exactly the same issue with one of the nodes though not the sensebender.
                    All other nodes work just fine.
                    Take a look:

                    https://forum.mysensors.org/topic/4723/tsp-chkupl-fail

                    1 Reply Last reply
                    0
                    • TheoLT TheoL

                      Today I soldered the headers to a new sensebender and try to start it. I've uploaded the 2.0 example but it can't find the gateway:

                      Started
                      Starting sensor (RNONA-, 2.0.0)
                      TSM:INIT
                      TSM:RADIO:OK
                      TSM:FPAR
                      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      TSM:FPAR
                      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                      !TSM:FPAR:FAIL
                      !TSM:FAILURE
                      TSM:PDT
                      

                      My other sense benders worked flawelessly. But this one can't communicate. Does anyone have any idea, what might be wrong?

                      Q Offline
                      Q Offline
                      Qu3Uk
                      wrote on last edited by
                      #527

                      @TheoL I had this problem last night, its unable to find the parent/gateway. I ended up swapping out the radio with one I'd extended the antenna on and it worked. I then attached a piece of wire to the original radio and that was worked too. I put it down to knock off components.

                      I think there is a video detailing the correct length etc.

                      1 Reply Last reply
                      0
                      • TheoLT Offline
                        TheoLT Offline
                        TheoL
                        Contest Winner
                        wrote on last edited by
                        #528

                        Solved. I had forgotten to config the correct baudrate. My network is on one 1 mbyte, because of the mixed NRF24L01 and NRF24L01+ radios.

                        1 Reply Last reply
                        0
                        • stefaanvS Offline
                          stefaanvS Offline
                          stefaanv
                          wrote on last edited by
                          #529

                          I get "not in sync" errors from avrdude if I try uploading a sketch to the sensorbender.
                          I do have correct serial communication, when I open the serial monitor, I get the info from the default sketch (which unfortunately uses the 1.4.1 API).
                          I tried with a different SenseBender board, same result. Tried with an older IDE version (1.6.9) on an other computer, same result.
                          Any suggestions ?

                          avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x20
                          avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x2d
                          avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20
                          avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f
                          avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
                          avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6c
                          avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x69
                          avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6e
                          An error occurred while uploading the sketch
                          avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x65
                          avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x21

                          alexsh1A 1 Reply Last reply
                          0
                          • stefaanvS stefaanv

                            I get "not in sync" errors from avrdude if I try uploading a sketch to the sensorbender.
                            I do have correct serial communication, when I open the serial monitor, I get the info from the default sketch (which unfortunately uses the 1.4.1 API).
                            I tried with a different SenseBender board, same result. Tried with an older IDE version (1.6.9) on an other computer, same result.
                            Any suggestions ?

                            avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x20
                            avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x2d
                            avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20
                            avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f
                            avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
                            avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6c
                            avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x69
                            avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6e
                            An error occurred while uploading the sketch
                            avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x65
                            avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x21

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

                            @stefaanv sounds like you have a wrong board in Arduino. Did you install the correct board in Arduino IDE? I'm programming the Sensebender in 1.6.9 via the FTDI adapter without any difficulties

                            stefaanvS 1 Reply Last reply
                            0
                            • alexsh1A alexsh1

                              @stefaanv sounds like you have a wrong board in Arduino. Did you install the correct board in Arduino IDE? I'm programming the Sensebender in 1.6.9 via the FTDI adapter without any difficulties

                              stefaanvS Offline
                              stefaanvS Offline
                              stefaanv
                              wrote on last edited by
                              #531

                              @alexsh1 I'm using the Uno board. Which one should I use ? Can't find anything in the SenseBender page.

                              alexsh1A 1 Reply Last reply
                              0
                              • stefaanvS stefaanv

                                @alexsh1 I'm using the Uno board. Which one should I use ? Can't find anything in the SenseBender page.

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

                                @stefaanv well, that's the problem - you must install Sensebender Micro (or I think you can use Arduino Pro Mini 3.3V) board. You MUST NOT provide more than 3.3V otherwise you may damage the board or radio. Please double check

                                Please refer to this link below to install the correct board in Arduino:

                                https://github.com/mysensors/ArduinoBoards

                                stefaanvS 1 Reply Last reply
                                1
                                • alexsh1A alexsh1

                                  @stefaanv well, that's the problem - you must install Sensebender Micro (or I think you can use Arduino Pro Mini 3.3V) board. You MUST NOT provide more than 3.3V otherwise you may damage the board or radio. Please double check

                                  Please refer to this link below to install the correct board in Arduino:

                                  https://github.com/mysensors/ArduinoBoards

                                  stefaanvS Offline
                                  stefaanvS Offline
                                  stefaanv
                                  wrote on last edited by
                                  #533

                                  @alexsh1 Thanks, got it working now.

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    jovo
                                    wrote on last edited by
                                    #534

                                    Is there anybody who can comment if the battery usage is increased in V2.0?

                                    I feel that my batteries are draining faster then with 1.4 I had installed before.

                                    Also I am seeing issues with the Force Retransmit. I dont see this working either. it just transmits when Transmit_Treshhold is kicked.

                                    My sketch is pretty default. As far as I can see, I only turned Batt_Sensor on.

                                    M 1 Reply Last reply
                                    0
                                    • J jovo

                                      Is there anybody who can comment if the battery usage is increased in V2.0?

                                      I feel that my batteries are draining faster then with 1.4 I had installed before.

                                      Also I am seeing issues with the Force Retransmit. I dont see this working either. it just transmits when Transmit_Treshhold is kicked.

                                      My sketch is pretty default. As far as I can see, I only turned Batt_Sensor on.

                                      M Offline
                                      M Offline
                                      mvader
                                      wrote on last edited by
                                      #535

                                      @jovo what is your usage? I'm getting 8+ months easily
                                      I have a sensor in my deep freeze, been there for 8+ months and still working fine.

                                      J 1 Reply Last reply
                                      0
                                      • M mvader

                                        @jovo what is your usage? I'm getting 8+ months easily
                                        I have a sensor in my deep freeze, been there for 8+ months and still working fine.

                                        J Offline
                                        J Offline
                                        jovo
                                        wrote on last edited by
                                        #536

                                        @mvader Hi,
                                        I guess you are not for 8 months on v2?
                                        I had a long time on the previous version as well.
                                        Haven't done the measurements, but I noticed my batteries were depleted quickly since v2 was on.
                                        I am more concerned about the fact that the force transmission doesn't seem to be working.

                                        alexsh1A 1 Reply Last reply
                                        0
                                        • J jovo

                                          @mvader Hi,
                                          I guess you are not for 8 months on v2?
                                          I had a long time on the previous version as well.
                                          Haven't done the measurements, but I noticed my batteries were depleted quickly since v2 was on.
                                          I am more concerned about the fact that the force transmission doesn't seem to be working.

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

                                          @jovo how exactly do you define "quicker" please? I do not think anyone had enough time to test it. My batteries dropped 0.2V for 2 months (reporting temp/humidity/pressure every minute) but that does not mean anything at all. I would need to run it for another 6 months at least to say what I think.

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


                                          7

                                          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