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.
  • T timropp

    Well that didn't go well... assembling my first micro. Soldered on some pins for the FTDI connection, added power (2xAA holder), and soldered on the radio with cap. Then I put in batteries and brought up my domoticz page to see if it showed up. Started to smell something, looked down, and there's smoke coming from the battery holder. Grabbed the whole thing and yanked the wire free then dropped it in the sink. Not sure where I screwed up, but I sure shorted something!

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

    @timropp sounds like you shorted batteries somewhere

    1 Reply Last reply
    0
    • T Offline
      T Offline
      timropp
      wrote on last edited by
      #509

      Nope, didn't find the problem. Must be some solder that shorted the batteries out but I don't see it. Oh well... main problem is that was my only 2AA holder on hand, and it melted right through the end of it, so now I have to wait on more before I can try again. Bummer :)

      VeraEdge UI7 with Mysensors ethernet gateway

      1 Reply Last reply
      0
      • alexsh1A Offline
        alexsh1A Offline
        alexsh1
        wrote on last edited by
        #510

        You can feed it with just two wires connected to the USB FTDI TTL converter / programmer - have a look at this https://www.mysensors.org/hardware/micro
        Available Pins - GND, GND, VCC (on the right)

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

          I am having an odd issue with one of my sensebender boards.
          I have flashed 5 in a row, same sketch, same everything.
          all look fine (and in english) in the serial monitor. but this one board displays different.
          it does seem to work. but i can't figure out why it's showing up different in the monitor.
          any ideas?

          Óåîóåâåîäåò Íéãòï Æ× 1.5óåîä: 2-2-0-0 ó=255,ã=0,ô=17,ðô=0,ì=3,óç=0,óô=ïë:1.5
          óåîä: 2-2-0-0 ó=255,ã=3,ô=6,ðô=1,ì=1,óç=0,óô=ïë:0
          óåîóïò óôáòôåä, éä=2, ðáòåîô=0, äéóôáîãå=1
           - Ïîìéîå!
          óåîä: 2-2-0-0 ó=255,ã=3,ô=11,ðô=0,ì=17,óç=0,óô=ïë:Óåîóåâåîäåò Íéãòï
          óåîä: 2-2-0-0 ó=255,ã=3,ô=12,ðô=0,ì=3,óç=0,óô=ïë:1.5
          óåîä: 2-2-0-0 ó=1,ã=0,ô=6,ðô=0,ì=0,óç=0,óô=ïë:
          óåîä: 2-2-0-0 ó=2,ã=0,ô=7,ðô=0,ì=0,óç=0,óô=ïë:
          óåîä: 2-2-0-0 ó=3,ã=0,ô=1,ðô=0,ì=0,óç=0,óô=ïë:
          óåîä: 2-2-0-0 ó=4,ã=0,ô=16,ðô=0,ì=0,óç=0,óô=ïë:
          éóÍåôòéã: 0
          ÔåíðÄéææ :174.85
          ÈõíÄéææ  :154.00
          Ô: 74.85
          È: 54
          óåîä: 2-2-0-0 ó=1,ã=1,ô=0,ðô=7,ì=5,óç=0,óô=ïë:74.8
          óåîä: 2-2-0-0 ó=2,ã=1,ô=1,ðô=2,ì=2,óç=0,óô=ïë:54
          óåîä: 2-2-0-0 ó=255,ã=3,ô=0,ðô=1,ì=1,óç=0,óô=ïë:97
          ÏÔÁ Æ× õðäáôå åîáâìåä
          óåîä: 2-2-0-0 ó=4,ã=1,ô=23,ðô=2,ì=2,óç=0,óô=ïë:99
          Ìéçèô: 99
          ÔåíðÄéææ :0.01
          ˆõíÄéææ  :0.00
          Ìéçèô: 99
          
          
          tbowmoT 1 Reply Last reply
          0
          • M mvader

            I am having an odd issue with one of my sensebender boards.
            I have flashed 5 in a row, same sketch, same everything.
            all look fine (and in english) in the serial monitor. but this one board displays different.
            it does seem to work. but i can't figure out why it's showing up different in the monitor.
            any ideas?

            Óåîóåâåîäåò Íéãòï Æ× 1.5óåîä: 2-2-0-0 ó=255,ã=0,ô=17,ðô=0,ì=3,óç=0,óô=ïë:1.5
            óåîä: 2-2-0-0 ó=255,ã=3,ô=6,ðô=1,ì=1,óç=0,óô=ïë:0
            óåîóïò óôáòôåä, éä=2, ðáòåîô=0, äéóôáîãå=1
             - Ïîìéîå!
            óåîä: 2-2-0-0 ó=255,ã=3,ô=11,ðô=0,ì=17,óç=0,óô=ïë:Óåîóåâåîäåò Íéãòï
            óåîä: 2-2-0-0 ó=255,ã=3,ô=12,ðô=0,ì=3,óç=0,óô=ïë:1.5
            óåîä: 2-2-0-0 ó=1,ã=0,ô=6,ðô=0,ì=0,óç=0,óô=ïë:
            óåîä: 2-2-0-0 ó=2,ã=0,ô=7,ðô=0,ì=0,óç=0,óô=ïë:
            óåîä: 2-2-0-0 ó=3,ã=0,ô=1,ðô=0,ì=0,óç=0,óô=ïë:
            óåîä: 2-2-0-0 ó=4,ã=0,ô=16,ðô=0,ì=0,óç=0,óô=ïë:
            éóÍåôòéã: 0
            ÔåíðÄéææ :174.85
            ÈõíÄéææ  :154.00
            Ô: 74.85
            È: 54
            óåîä: 2-2-0-0 ó=1,ã=1,ô=0,ðô=7,ì=5,óç=0,óô=ïë:74.8
            óåîä: 2-2-0-0 ó=2,ã=1,ô=1,ðô=2,ì=2,óç=0,óô=ïë:54
            óåîä: 2-2-0-0 ó=255,ã=3,ô=0,ðô=1,ì=1,óç=0,óô=ïë:97
            ÏÔÁ Æ× õðäáôå åîáâìåä
            óåîä: 2-2-0-0 ó=4,ã=1,ô=23,ðô=2,ì=2,óç=0,óô=ïë:99
            Ìéçèô: 99
            ÔåíðÄéææ :0.01
            ˆõíÄéææ  :0.00
            Ìéçèô: 99
            
            
            tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #512

            @mvader

            What baudrate are you using? It seems like it's to much off, for the ftdi to decode it correctly. Have you tried to lower it to, let's say 9600 baud? And does it still do this?

            M 1 Reply Last reply
            0
            • tbowmoT tbowmo

              @mvader

              What baudrate are you using? It seems like it's to much off, for the ftdi to decode it correctly. Have you tried to lower it to, let's say 9600 baud? And does it still do this?

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

              @tbowmo said:

              @mvader

              What baudrate are you using? It seems like it's to much off, for the ftdi to decode it correctly. Have you tried to lower it to, let's say 9600 baud? And does it still do this?

              Serial.begin(115200);
              I have not tried 9600, but i've done 5 today all the same code.. no problems.
              i have 4 others deployed from when i first bought these (when they came out) same code for them as well..
              could be a bum board..idk. when i fired it up, i could see it in the controller software though. so it does seem to work. it just gives me that in the serial monitor.. strange for sure :) I'll let you know how 9600 works out.

              AnticimexA 1 Reply Last reply
              0
              • M mvader

                @tbowmo said:

                @mvader

                What baudrate are you using? It seems like it's to much off, for the ftdi to decode it correctly. Have you tried to lower it to, let's say 9600 baud? And does it still do this?

                Serial.begin(115200);
                I have not tried 9600, but i've done 5 today all the same code.. no problems.
                i have 4 others deployed from when i first bought these (when they came out) same code for them as well..
                could be a bum board..idk. when i fired it up, i could see it in the controller software though. so it does seem to work. it just gives me that in the serial monitor.. strange for sure :) I'll let you know how 9600 works out.

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

                @mvader what baffles me is that numbers seem to encode ok but alphabetical characters do not. You don't use some exotic ascii encoding in your terminal? (not likely if you can switch to a different SenseBender and get sane output I suppose)

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

                  @mvader

                  115200 is on the edge of what is possible with the 8Mhz that the sensebender is using. And it's a uncalibrated RC oscillator that's in use. So this one might be a bit off to the lower side (run 7.5Mhz for example) which could throw off your serial port a bit.

                  (But as @Anticimex mentions, it does look weird that the numbers are readable..)

                  AnticimexA 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @mvader

                    115200 is on the edge of what is possible with the 8Mhz that the sensebender is using. And it's a uncalibrated RC oscillator that's in use. So this one might be a bit off to the lower side (run 7.5Mhz for example) which could throw off your serial port a bit.

                    (But as @Anticimex mentions, it does look weird that the numbers are readable..)

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

                    @tbowmo @mvader it can still be a timing problem. Numbers in the ascii table have the most significant bits zero (they are in the range 0x3x and below) and since regular UART protocols transmit lsb first, the first bits may be within legal timing while the later bits are not, so the higher the ascii value, the higher the risk for corruption.

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

                    1 Reply Last reply
                    1
                    • FotoFieberF Offline
                      FotoFieberF Offline
                      FotoFieber
                      Hardware Contributor
                      wrote on last edited by
                      #517

                      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 1 Reply Last reply
                      0
                      • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          18

                                          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