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.
  • 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
                                • Mitja BlazinsekM Offline
                                  Mitja BlazinsekM Offline
                                  Mitja Blazinsek
                                  wrote on last edited by
                                  #538

                                  i have some problems with sensbender micro it all work fine it shows temp and hum in mycontroller bu then i try to program the board to test my FTDI programmer, for test i was try to upload default sketch but since then it showing me only node in mycontroller without any sensors :(

                                  this is my log from debug:

                                  0 MCO:BGN:INIT NODE,CP=RNONA--,VER=2.1.1
                                  4 TSM:INIT
                                  4 TSF:WUR:MS=0
                                  12 TSM:INIT:TSP OK
                                  14 TSF:SID:OK,ID=5
                                  16 TSM:FPAR
                                  53 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  2062 !TSM:FPAR:NO REPLY
                                  2064 TSM:FPAR
                                  2101 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  4110 !TSM:FPAR:NO REPLY
                                  4112 TSM:FPAR
                                  4149 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  6158 !TSM:FPAR:NO REPLY
                                  6160 TSM:FPAR
                                  6197 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  8206 !TSM:FPAR:FAIL
                                  8208 TSM:FAIL:CNT=1
                                  8210 TSM:FAIL:PDT
                                  18214 TSM:FAIL:RE-INIT
                                  18216 TSM:INIT
                                  18225 TSM:INIT:TSP OK
                                  18227 TSF:SID:OK,ID=5
                                  18229 TSM:FPAR

                                  1 Reply Last reply
                                  0
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #539

                                    That looks like there is no communication with gateway. Did you check gw log? You could also update mysensors to latest 2.2

                                    1 Reply Last reply
                                    0
                                    • Mitja BlazinsekM Offline
                                      Mitja BlazinsekM Offline
                                      Mitja Blazinsek
                                      wrote on last edited by
                                      #540

                                      but before it was working im using sensebender gateway and i see node in controler, i update my sensors and still nothing

                                      1 Reply Last reply
                                      0
                                      • Mitja BlazinsekM Offline
                                        Mitja BlazinsekM Offline
                                        Mitja Blazinsek
                                        wrote on last edited by
                                        #541

                                        OK i found the problem i just needed to clear the eeprom and it works i remembered that i had this problem before with binary switch sample

                                        1 Reply Last reply
                                        2
                                        • Mitja BlazinsekM Offline
                                          Mitja BlazinsekM Offline
                                          Mitja Blazinsek
                                          wrote on last edited by
                                          #542

                                          sory still not workinkg i was thinking that i solve the problem but i didn't now i was try to connect other sensebender micro and it's working with no problem and i noticed that the red led flash on micro when i connect power i dont se that led on previous not working micro is it possible that i burn micro when programming, bu ti upload program with no problems i also had 3,3V jumper on the programer :(

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


                                          14

                                          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