Sensebender Micro



  • @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.



  • @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.



  • @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.



  • 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


  • Mod

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



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



  • 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



  • 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 😞


  • Mod

    You could try with a basic blink sketch and see if you can blink an led



  • nothing happened just upload blink code but no blinking 😞

    // the setup function runs once when you press reset or power the board
    void setup() {
      // initialize digital pin LED_BUILTIN as an output.
      pinMode(LED_BUILTIN, OUTPUT);
    }
    
    // the loop function runs over and over again forever
    void loop() {
      digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
      delay(1000);                       // wait for a second
      digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
      delay(1000);                       // wait for a second
    }```

  • Mod

    have you tried another led?



  • it work when i try button example, had no diode at the hand


  • Mod

    maybe the led on the sensebender is broken... at least you figured it still works


  • Admin

    @mitja-blazinsek

    Try toggling A2 instead og BUILTIN_LED. Or try the default Sensebender Micro sketch, found here.

    With the default sketch loaded, you could try holding A0 low, while applying power to the Sensebender Micro, this will start a selftest routine, blinking the LED at the end.



  • can anyone help me every sensor it work fine first time in mycontroler but but when i reprogram it with same code it doesn't register anymore in my controller like i remember i have this same problem about year ago with binary switch bu i can't remember what was solution for problem that why sensebender micro doesn't work i just try hum. sensor with nano working fine after reprogram with same code my controller doesn't recognize anymore 😞 do i have clear anything in my controller i already try to delete node and sensor but no affect


  • Mod

    Do you see correct communication on node and gw logs?



  • 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:INIT:STATID=15
    37 TSF:SID:OK,ID=15
    39 TSM:FPAR
    75 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2082 !TSM:FPAR:NO REPLY
    2084 TSM:FPAR


  • Mod

    @mitja-blazinsek said in Sensebender Micro:

    2082 !TSM:FPAR:NO REPLY

    That's clearly a communication problem, look at the gateway what do you see



  • Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:


  • why mycontroller don't register node and sensor if he receive message


  • Mod

    @mitja-blazinsek I think there must be something else in the gateway log, please add more entries



  • Jan 30, 2018 05:00:30 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Jan 30, 2018 05:00:28 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Jan 30, 2018 05:00:26 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Jan 30, 2018 05:00:24 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:PNG:SEND,TO=0
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Jan 30, 2018 05:00:14 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    	Jan 30, 2018 05:00:14 PM	Notice	Gateway	 mysensors	Sent	Internal	[Discover]
    	Jan 30, 2018 05:00:12 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
    	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:```

  • Mod

    @mitja-blazinsek said in Sensebender Micro:

    Jan 30, 2018 05:00:30 PM Notice Node mysensors 0 Received Internal [Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0

    That is a transmission error, so either the node is not receiving well or the gateway doesn't have a good power source for radio



  • couldn't be radio second sensebender micro working fin bu that micro is out of the box didn't touch em fist one that i was programming with officially code don't work anymore also nano that i programm default Door/Window/Button and relay sketch on it bouth doesent work since i was start programing i realy dont know anymore try ewerything but mycontroler dont show nothing anymore no senors no nodes except original sensebender micro


  • Mod

    If you get NACK in the debug it means it failed the communication, so of course it will not show any data on controller.



  • but why fail i upload officially sketches from my sensors also try same radio from sensebender that works also try blink test on sensebender and it works so what else could be i have everything latest version my controler mysensor libary...


  • Mod

    Could be noisy power supply, not adequate decoupling capacitor on the radio, radio interference from other devices nearby (wifi or else)



  • i try at least three different radios with and without capacitors gw an sensors are close (20cm) and like i said sensbender worked fine till i try to upload program on it


  • Mod

    Did you try a completely different radio module from another manufacturer?


  • Contest Winner

    @mitja-blazinsek how do you supply power to the radio module?



  • yust plug in socket on sensbender micro



  • is it possible that si some problem with my arduino IDE maybe some library tomorrow i will try to reinstall arduino



  • @MITJA BLAZINSEK - So I built my first Sensebender Micro this weekend and it works great. Radio works at distance (>10Meters). Advertises temp and hum at proper intervals. Plus battery level occasionally. And I can update the firmware via Arduino IDE (v1.8.1) and USB. Everyone's path and experience is different so here's what I did.

    The build was simple. I just added the socket for the radio. Oh and a piece of right angle pin header for the FTDI interface.

    For powering I currently use a FTDI Basic 3v3 from Sparkfun. Provides power plus USB serial for programming and debugging. I have a few 2xAAA cell holders on order for powering from battery.

    Once built I also plugged in a radio. I have tried the generic NRF24 low and high power versions with no problems either way. The high power is the PA LNA type with the external antenna. The low power is what is in the picture down below.

    Setting up the Arduino IDE was a bit of a chore but the instructions at > link < are very good.

    At the end make sure you use the Boards Manager to install the MySensors AVR Boards (add MySensors to the search) so you can choose the "Sensebender Micro" as your 'board'. This last step isn't explicitly mentioned on the link. If that board isn't selected your results will be disappointing. I know from experience.

    For the MySensors library be sure to install the latest release which is 2.2.0. I had to use the drop down list for the MySensors library in the Library Manager to install that version. But I l already had a lower version installed, plus a development release installed manually, and this was right around the official 2.2.0 release date, so who knows.

    I run Windows 7 Professional SP1 and the Arduino IDE version 1.8.1. Updating the firmware via USB works fine. I have not tried OTA updates yet though I plan to. That should be interesting.

    Your mileage may vary. I hope this helps anyone dipping their toe for the first time.

    0_1517458778536_20180129_215848.jpg

    -d



  • i did all this i try even downgrade my sensor library and its same the interest thing that even other boards not working (arduino nano) a had some assembled and programmed nano that i play with about 6month ago and it work fine, then try to upload relay code on it and nothing everything (didn't touch wiring) i try to program it doesn't work even if it was working before, so i think it must be something with my arduino ide



  • reinstal arduino, libary, clear eprom nothing gonna lose my mind i think i'm gonna throw everything in trash 😑


  • Contest Winner

    @mitja-blazinsek how do you power your board? USB from pc? That might not work. Try a USB power supply instead. Or a different pc. Or a completely different power source, like batteries.



  • i just try this and its same
    is it possible that is anythig with gw i'm using official sensebender gw


  • Admin

    @Mitja-Blazinsek

    Just to be sure, you haven't used a customized channel / network address on the gateway, that you forgot to set on the nodes?


  • Admin

    You could also try moving the node further away (5-10 m) from the gateway.



  • i try new serial gw on nano but same problem i delete all nodes and when i turn on some sensors my controller find it only one node without name. My only working sensor (one of the woking sensebender out the box) display 2 nodes one without name and node with sensebender micro name what for is that first node ID 0
    screen shot how it display every sensor:
    0_1517487241245_Untitled.jpg



  • now even sensbender micro that it work on sensbender gw don't work on my gw it work only if i connect sensbender gw
    0_1517488112114_Untitled1.jpg



  • look like everything that i programmed not working about half years ago when i start with my sensors everything that i try work bu when i have time to play with mysensors again nothing worked make me crazy i have full box of sensors and boards but nothing cant get to work only sensbender gw and sensbender micro that i didn't touch i think that must be something with arduino ide



  • ok my gw now work sorry i forget to connect radio vcc ☺ but everything else not working every sensor i try triple check wiring bothing 😑


  • Mod

    without any debug info nobody can help you



  • 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSF:SID:OK,ID=56
    37 TSM:FPAR
    73 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2081 !TSM:FPAR:NO REPLY
    2083 TSM:FPAR
    2119 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4127 !TSM:FPAR:NO REPLY
    4129 TSM:FPAR
    4165 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6173 !TSM:FPAR:NO REPLY
    6175 TSM:FPAR
    6211 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8219 !TSM:FPAR:FAIL
    8220 TSM:FAIL:CNT=1
    8222 TSM:FAIL:DIS
    8224 TSF:TDI:TSL
    18226 TSM:FAIL:RE-INIT```

  • Mod

    ok, and gateway?



  • This post is deleted!


  • 	Feb 01, 2018 06:11:30 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
    	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Feb 01, 2018 06:11:28 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
    	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Feb 01, 2018 06:11:26 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
    	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
    	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
    	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    	Feb 01, 2018 06:11:24 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
    	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK
    	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:PNG:SEND,TO=0
    	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
    	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC```


  • SOLVED!!!!! it make me crazy but finally i found on forum
    @dallienl said in πŸ’¬ Building an Ethernet Gateway:

    Had lots of issues getting this to work. The issue seems to be with the ethernet part, as I only have an ethernet board attached I removed the lines for the radio and the pin redirection. Still the code kept restarting all the time or just not being able to connect the controller.

    AVR version of the Arduino 1.8.0 kit needs to be downgraded. I had 1.6.16 and downgraded to 1.6.11.

    Open Arduino. Tools > Board: xxxxx > Boards manager... > Click "Arduino AVR Boards" > Select Version > 1.6.11

    Recompile and you are good.

    so i had to downgraded AVR version of the Arduino 1.8.0 kit and thats it πŸ™‚ i knew its smothing in arduino IDE


  • Admin

    I deployed 5 sensebender nodes just after release in 2015, all with 2 AA batteries from ikea.1 died within a couple of years, because it was placed outdoors. But the rest kept going, and all have been going until this year. So 8 years of battery time on one set of batteries..

    I think that is excellent battery life.. πŸ˜‰


Log in to reply
 

Suggested Topics

  • 3
  • 10
  • 109
  • 164
  • 110
  • 109

59
Online

11.4k
Users

11.1k
Topics

112.7k
Posts