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. OpenHardware.io
  3. 💬 Sensebender Gateway

💬 Sensebender Gateway

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsgatewaysamd
382 Posts 59 Posters 152.3k Views 53 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by
    #342

    @8667

    Is it over the air encryption / signing that you are aiming after? Then that is possible with the gateway, it has the ATSHA204 onboard for signing capabilities. And it also works with the W5100 module attached. The Gateway have 256Kb of flash onboard, so it has "enough" room for both network stack, and signing.

    1 Reply Last reply
    0
    • rzyliusR Offline
      rzyliusR Offline
      rzylius
      wrote on last edited by
      #343

      Are there performance limitations to be considered for mysensors and SensebenderGW specifically. Will the gateway handle the load of signed communications if rules will be firing messages to different sensors like 1-2-5-10 per second?

      AnticimexA 1 Reply Last reply
      0
      • rzyliusR rzylius

        Are there performance limitations to be considered for mysensors and SensebenderGW specifically. Will the gateway handle the load of signed communications if rules will be firing messages to different sensors like 1-2-5-10 per second?

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

        @rzylius if you use the atsha204a chip, it is the single wire interface that limits your throughput. I have no figures, so best is to just test how fast you can push messages through. Of course there is overhead in the OTA handshaking as well. That would probably be the bottleneck if you use software based signing.

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

        1 Reply Last reply
        0
        • rzyliusR Offline
          rzyliusR Offline
          rzylius
          wrote on last edited by
          #345

          I see in logs, that the whole process of signing and communicating to the node takes a bit more than one second. I do not know how to make a stress test properly, so I hoped that somebody else did it :) my question is if gateway will handle load by putting messages in some pipeline, or I should try to make sure that messages are fired with some spaces.

          AnticimexA 1 Reply Last reply
          0
          • rzyliusR rzylius

            I see in logs, that the whole process of signing and communicating to the node takes a bit more than one second. I do not know how to make a stress test properly, so I hoped that somebody else did it :) my question is if gateway will handle load by putting messages in some pipeline, or I should try to make sure that messages are fired with some spaces.

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

            @rzylius The signing process is blocking, so it should not accept messages if a signed message exchange is in progress. But I have not tested that extensively with "aggressive" controllers.

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

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

              im trying to program in arduino ide, installed board... bu when compiling it write mi an error 'The current selected board needs the core 'arduino:arduino' that is not installed.'

              mfalkviddM 1 Reply Last reply
              0
              • Mitja BlazinsekM Mitja Blazinsek

                im trying to program in arduino ide, installed board... bu when compiling it write mi an error 'The current selected board needs the core 'arduino:arduino' that is not installed.'

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by mfalkvidd
                #348

                @mitja-blazinsek You'll need to install the Arduino SAMD board as well. I have just now updated the readme.

                1 Reply Last reply
                1
                • D Offline
                  D Offline
                  dklinkman
                  wrote on last edited by dklinkman
                  #349

                  Just got my Sensebender GW and soldered it up. Adapted the serial sketch to Ethernet and it almost worked. Found some posts on this topic that helped me locate and fix my config error. Now all is well. Thanks! --edit-- added photo

                  0_1517098910890_IMG_0889.JPG

                  -d

                  1 Reply Last reply
                  2
                  • D Offline
                    D Offline
                    dklinkman
                    wrote on last edited by dklinkman
                    #350

                    @dklinkman said in 💬 Sensebender Gateway:

                    Sensebender

                    And I got a Sensebender Micro soldered up and running also!! Just temp and humid so far. Too cool

                    --edit-- picture

                    0_1517282246688_20180129_215848.jpg

                    1 Reply Last reply
                    0
                    • SoloamS Offline
                      SoloamS Offline
                      Soloam
                      Hardware Contributor
                      wrote on last edited by
                      #351
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • 8 Offline
                        8 Offline
                        8667
                        wrote on last edited by
                        #352

                        Is it possible to use the sensebender board as MQTT gateway? Not Ethernet?

                        1 Reply Last reply
                        0
                        • SoloamS Offline
                          SoloamS Offline
                          Soloam
                          Hardware Contributor
                          wrote on last edited by
                          #353

                          Yes it is! I use I'm using it as a MQTT gateway for some time

                          1 Reply Last reply
                          1
                          • C Offline
                            C Offline
                            Christian Schulte genannt Trux
                            wrote on last edited by
                            #354

                            First: Great work! My GW is working very well!
                            I wanted to know for what I can use the SD-Card.
                            My idea is to fetch the logs in the serial and write them to the SD-Card.
                            But I don't know where. Is there a point in the mySensors core where I can fetch all logs?

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              rolandow
                              wrote on last edited by
                              #355

                              Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

                              alexsh1A 1 Reply Last reply
                              0
                              • R rolandow

                                Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

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

                                @rolandow said in 💬 Sensebender Gateway:

                                Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

                                Sesnebender GW can be ordered from Itead:

                                https://www.itead.cc/mysensors-gateway.html

                                Other openhardware.io projects maybe ordered either (1) directly from a link; pcb only (2) you can download eagle files and upload them to pcb manufactures like oshpark.com (3) you can purchase the final product. So a generic answer to your question is it depends :)

                                I do not think there is a guide here, but if you go to oshpark.com there is a guide how to order a pcb. Parts (BOM) can be ordered from Aliexpress, eBay or more reputable supplies like digi-key or mouser

                                1 Reply Last reply
                                1
                                • G Offline
                                  G Offline
                                  Gerator
                                  wrote on last edited by
                                  #357

                                  Hi!
                                  I'm trying to use sensebender GW as ethernet gateway. I loaded the stock W5100 sketch compiled with samd 1.6.21 defs but it didn't worked. I have been trying out different things and realized that it works with 1.6.12 defs. Now it's working but I'm stuck with an old version. Anyone with the same problem? Maybe I'm missing something?
                                  Also I found out ethernet library in 1.0.5 defs is outdated. I have been trying to use stock one (v2.0) without success. Anyone has tried?
                                  Thanks.

                                  1 Reply Last reply
                                  0
                                  • pepsonP Offline
                                    pepsonP Offline
                                    pepson
                                    wrote on last edited by
                                    #358

                                    hi
                                    when i try compile sketch only with change radio to rfm69hw i have this:
                                    Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                                    SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                          ^
                                    

                                    SensebenderGatewaySerial:95:36: error: 'LED_RED' was not declared in this scope

                                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                    ^
                                    

                                    SensebenderGatewaySerial:95:45: error: 'LED_GREEN' was not declared in this scope

                                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                             ^
                                    

                                    SensebenderGatewaySerial:95:56: error: 'LED_YELLOW' was not declared in this scope

                                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                        ^
                                    

                                    SensebenderGatewaySerial:95:68: error: 'LED_ORANGE' was not declared in this scope

                                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                                    ^
                                    

                                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'void preHwInit()':

                                    SensebenderGatewaySerial:116:10: error: 'MY_SWC1' was not declared in this scope

                                    pinMode(MY_SWC1, INPUT_PULLUP);

                                          ^
                                    

                                    SensebenderGatewaySerial:117:10: error: 'MY_SWC2' was not declared in this scope

                                    pinMode(MY_SWC2, INPUT_PULLUP);

                                          ^
                                    

                                    SensebenderGatewaySerial:130:17: error: 'LED_BLUE' was not declared in this scope

                                    digitalWrite(LED_BLUE, led_state);
                                    
                                                 ^
                                    

                                    SensebenderGatewaySerial:145:16: error: 'LED_GREEN' was not declared in this scope

                                    digitalWrite(LED_GREEN, HIGH);

                                                ^
                                    

                                    SensebenderGatewaySerial:149:16: error: 'LED_YELLOW' was not declared in this scope

                                    digitalWrite(LED_YELLOW, HIGH);

                                                ^
                                    

                                    SensebenderGatewaySerial:154:16: error: 'LED_ORANGE' was not declared in this scope

                                    digitalWrite(LED_ORANGE, HIGH);

                                                ^
                                    

                                    SensebenderGatewaySerial:167:17: error: 'LED_RED' was not declared in this scope

                                    digitalWrite(LED_RED, HIGH);
                                    
                                                 ^
                                    

                                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testSDCard()':

                                    SensebenderGatewaySerial:219:33: error: 'MY_SDCARD_CS' was not declared in this scope

                                    if (!card.init(SPI_HALF_SPEED, MY_SDCARD_CS)) {

                                                                 ^
                                    

                                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testEEProm()':

                                    SensebenderGatewaySerial:249:2: error: 'SerialUSB' was not declared in this scope

                                    SerialUSB.print(" -> EEPROM ");

                                    ^

                                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testAnalog()':

                                    SensebenderGatewaySerial:267:30: error: 'MY_BAT_DETECT' was not declared in this scope

                                    int bat_detect = analogRead(MY_BAT_DETECT);

                                                              ^
                                    

                                    exit status 1
                                    'LED_BLUE' was not declared in this scope

                                    What is error ? please help me

                                    magpernM 1 Reply Last reply
                                    0
                                    • pepsonP Offline
                                      pepsonP Offline
                                      pepson
                                      wrote on last edited by
                                      #359

                                      I also can not install board in Arduino IDE 1.8.9

                                      1 Reply Last reply
                                      0
                                      • pepsonP Offline
                                        pepsonP Offline
                                        pepson
                                        wrote on last edited by
                                        #360

                                        please help
                                        https://forum.mysensors.org/topic/10548/solved-sensbender-gateway-gives-a-lot-of-hu/2

                                        1 Reply Last reply
                                        0
                                        • pepsonP pepson

                                          hi
                                          when i try compile sketch only with change radio to rfm69hw i have this:
                                          Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                                          SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                ^
                                          

                                          SensebenderGatewaySerial:95:36: error: 'LED_RED' was not declared in this scope

                                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                          ^
                                          

                                          SensebenderGatewaySerial:95:45: error: 'LED_GREEN' was not declared in this scope

                                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                   ^
                                          

                                          SensebenderGatewaySerial:95:56: error: 'LED_YELLOW' was not declared in this scope

                                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                              ^
                                          

                                          SensebenderGatewaySerial:95:68: error: 'LED_ORANGE' was not declared in this scope

                                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                                          ^
                                          

                                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'void preHwInit()':

                                          SensebenderGatewaySerial:116:10: error: 'MY_SWC1' was not declared in this scope

                                          pinMode(MY_SWC1, INPUT_PULLUP);

                                                ^
                                          

                                          SensebenderGatewaySerial:117:10: error: 'MY_SWC2' was not declared in this scope

                                          pinMode(MY_SWC2, INPUT_PULLUP);

                                                ^
                                          

                                          SensebenderGatewaySerial:130:17: error: 'LED_BLUE' was not declared in this scope

                                          digitalWrite(LED_BLUE, led_state);
                                          
                                                       ^
                                          

                                          SensebenderGatewaySerial:145:16: error: 'LED_GREEN' was not declared in this scope

                                          digitalWrite(LED_GREEN, HIGH);

                                                      ^
                                          

                                          SensebenderGatewaySerial:149:16: error: 'LED_YELLOW' was not declared in this scope

                                          digitalWrite(LED_YELLOW, HIGH);

                                                      ^
                                          

                                          SensebenderGatewaySerial:154:16: error: 'LED_ORANGE' was not declared in this scope

                                          digitalWrite(LED_ORANGE, HIGH);

                                                      ^
                                          

                                          SensebenderGatewaySerial:167:17: error: 'LED_RED' was not declared in this scope

                                          digitalWrite(LED_RED, HIGH);
                                          
                                                       ^
                                          

                                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testSDCard()':

                                          SensebenderGatewaySerial:219:33: error: 'MY_SDCARD_CS' was not declared in this scope

                                          if (!card.init(SPI_HALF_SPEED, MY_SDCARD_CS)) {

                                                                       ^
                                          

                                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testEEProm()':

                                          SensebenderGatewaySerial:249:2: error: 'SerialUSB' was not declared in this scope

                                          SerialUSB.print(" -> EEPROM ");

                                          ^

                                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testAnalog()':

                                          SensebenderGatewaySerial:267:30: error: 'MY_BAT_DETECT' was not declared in this scope

                                          int bat_detect = analogRead(MY_BAT_DETECT);

                                                                    ^
                                          

                                          exit status 1
                                          'LED_BLUE' was not declared in this scope

                                          What is error ? please help me

                                          magpernM Offline
                                          magpernM Offline
                                          magpern
                                          wrote on last edited by magpern
                                          #361

                                          @pepson said in 💬 Sensebender Gateway:

                                          hi
                                          when i try compile sketch only with change radio to rfm69hw i have this:
                                          Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                                          SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                                          You cannot use the SensebenderGatewaySerial sketch on an Atmega2560. The SensbenderGatewaySerial sketch is for the SAMD board called Sensebender Gateway.

                                          If you have the real Sensebender Gateway you should use this one
                                          0_1564697307746_8465ebd2-b844-48b0-9efa-e8aa2cbec9d8-image.png

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


                                          17

                                          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