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 151.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.
  • AnticimexA Anticimex

    @tbowmo ah, I will add that then for samd targets. The personalizer uses MY_CORE_ONLY so your line perhaps is not run.

    T Offline
    T Offline
    ted
    wrote on last edited by
    #207

    @Anticimex said in 💬 Sensebender Gateway:

    MY_CORE_ONLY

    Just curious, what does "MY_CORE_ONLY" do? The library mentioned that it should be enabled " if you want to use core functions without loading the framework" . What are the core functions and what is the framework?

    AnticimexA 1 Reply Last reply
    0
    • T ted

      @Anticimex said in 💬 Sensebender Gateway:

      MY_CORE_ONLY

      Just curious, what does "MY_CORE_ONLY" do? The library mentioned that it should be enabled " if you want to use core functions without loading the framework" . What are the core functions and what is the framework?

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

      @ted core functions are things like the HAL and debug logging functionality. Framework means all the presentation message transmissions and handshaking. Basically, MY_CORE_ONLY allow you to leverage the functionality provided by the library without having the library execute things out of your control.

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

      1 Reply Last reply
      0
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by scalz
        #209

        @alexsh1
        woops, yes i made it but forgot the upload. it's now uploaded here https://www.mysensors.org/hardware/sensebender-gateway#design-files

        Enjoy :)

        alexsh1A zboblamontZ 2 Replies Last reply
        0
        • scalzS scalz

          @alexsh1
          woops, yes i made it but forgot the upload. it's now uploaded here https://www.mysensors.org/hardware/sensebender-gateway#design-files

          Enjoy :)

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

          @scalz Thank you.

          Does anyone have the PA transceiver version with Sensebender Gateway?
          Any feedback please?

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

            @alexsh1

            If you mean using a nrf24 with lna/pa, with the gateway. Then yes.. I have had it running for some months now.

            Anything in particular that you want to know?

            alexsh1A 1 Reply Last reply
            0
            • tbowmoT tbowmo

              @alexsh1

              If you mean using a nrf24 with lna/pa, with the gateway. Then yes.. I have had it running for some months now.

              Anything in particular that you want to know?

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

              @tbowmo yes, that's what I meant
              I am thinking about installing either a normal nrf24l01+ or lna/pa version. I have had some issues with power in the past with the lna/pa transceiver.
              What's your experience? What kind of power supply do you use? How better is the coverage?

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

                I haven't checked if the coverage is any better with the lna/pa version, compared to standard modules.

                Currently the gateway is connected to a RPI2, which in turn is powered by a 2A powersupply from RS Components

                I haven't had any issues with it yet, but then again.. I mainly receive data from sensor nodes, and not that much sending data to distant nodes from the gateway

                alexsh1A 1 Reply Last reply
                0
                • tbowmoT tbowmo

                  I haven't checked if the coverage is any better with the lna/pa version, compared to standard modules.

                  Currently the gateway is connected to a RPI2, which in turn is powered by a 2A powersupply from RS Components

                  I haven't had any issues with it yet, but then again.. I mainly receive data from sensor nodes, and not that much sending data to distant nodes from the gateway

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

                  @tbowmo It is probably not Sensebender topic, but more lna+pa range one.
                  I am not sure about my RPi3 as though it is powered by the 3A PSU, I have a USB z-wave stick, three transceivers, one UPS Plco (as HAT) and a 20x4 screen. I lot of power is consumed so not sure adding yet another one. (lna+pa is power hungry during peaks).

                  I'll get the nrf24l01+ lna+pa ordered and test the range. In my view rfm69 range is probably better, but I have the rfm69 gateway on moteino with a trace antenna (very small footprint and it is based on ATMega1284P so 128KB sketch flash memory - more than I need).

                  @hek - is it the intention to combine rfm69 and nrf24l01+ gateways in one in the future?
                  I understand Sensebender GW is ready for it, but it is more a software limitation???
                  I am really looking forward to combined GW.
                  I also have a separate one for rfm95 so that I can use some remote sensors.

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by hek
                    #215

                    No, I haven't heard of any near plans in the core team about doing multi radio/sub-network support in 2.0.

                    This requires some extra thoughts and would probably only fit on SAMD/ESP nodes.

                    alexsh1A 1 Reply Last reply
                    0
                    • hekH hek

                      No, I haven't heard of any near plans in the core team about doing multi radio/sub-network support in 2.0.

                      This requires some extra thoughts and would probably only fit on SAMD/ESP nodes.

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

                      @hek Which is good as the Sensebender GW is based on SAMD! So it is ready to be the first 2-in-1 GW.
                      Anyway, keep on doing a great work! I'll patiently wait until the combined GW is there.

                      1 Reply Last reply
                      0
                      • NiklasON Offline
                        NiklasON Offline
                        NiklasO
                        wrote on last edited by NiklasO
                        #217

                        Ordered from ITEAD. Nice to get rid of this stuff:
                        0_1490290480771_IMG_20170323_180333.jpg
                        Just nudging anything result in problems. ;-)
                        Time to fire up the 3D-printer.

                        1 Reply Last reply
                        0
                        • NiklasON Offline
                          NiklasON Offline
                          NiklasO
                          wrote on last edited by NiklasO
                          #218

                          Aaaand, it's up! Very good fit (the box).
                          0_1491402196442_IMG_20170405_162045.jpg

                          The box on top is just me trying out different colors of the case. ;)
                          The one on top has better look. Different brands of PLA.

                          1 Reply Last reply
                          3
                          • nick van alstN Offline
                            nick van alstN Offline
                            nick van alst
                            wrote on last edited by
                            #219

                            @NiklasO that looks very good!

                            Are you willing to share your design files with us?
                            i just ordered my gateway to get rid of cables and lose components :D a case would really make it complete!

                            1 Reply Last reply
                            0
                            • scalzS Offline
                              scalzS Offline
                              scalz
                              Hardware Contributor
                              wrote on last edited by
                              #220

                              @NiklasO
                              great :+1:
                              @nick-van-alst
                              you can get enclosure design files here https://www.mysensors.org/hardware/sensebender-gateway (on page bottom)
                              I designed different variants so pick which one you need.

                              1 Reply Last reply
                              1
                              • M meddie

                                Ok i just connected the W5100 and NRF24 Module and uploaded the GatewayW5100 Sketch and when the upload is done after reset i dont get any output on serial monitor.
                                The orange, green and red led are lighting.

                                When i upload the SensebenderGatewaySerial then i get output on serial monitor. It think the problem must be the w5100. But what going wrong?

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

                                @meddie said in 💬 Sensebender Gateway:

                                Ok i just connected the W5100 and NRF24 Module and uploaded the GatewayW5100 Sketch and when the upload is done after reset i dont get any output on serial monitor.
                                The orange, green and red led are lighting.

                                When i upload the SensebenderGatewaySerial then i get output on serial monitor. It think the problem must be the w5100. But what going wrong?

                                @meddie Did you figure out what the problem is? I have exactly the same issue

                                M tbowmoT 2 Replies Last reply
                                0
                                • alexsh1A alexsh1

                                  @meddie said in 💬 Sensebender Gateway:

                                  Ok i just connected the W5100 and NRF24 Module and uploaded the GatewayW5100 Sketch and when the upload is done after reset i dont get any output on serial monitor.
                                  The orange, green and red led are lighting.

                                  When i upload the SensebenderGatewaySerial then i get output on serial monitor. It think the problem must be the w5100. But what going wrong?

                                  @meddie Did you figure out what the problem is? I have exactly the same issue

                                  M Offline
                                  M Offline
                                  meddie
                                  wrote on last edited by
                                  #222

                                  @alexsh1
                                  hi, yes it was very simple :-D the gateway has worked fine in this time, i thought that when nothing shown in serial monitor that the gateway dont work, but it did it, after i connected the gateway to FHEM (my controller) i saw that FHEM connects t mys Gateway.
                                  So it worked all the time

                                  Greets Eddie

                                  1 Reply Last reply
                                  0
                                  • alexsh1A alexsh1

                                    @meddie said in 💬 Sensebender Gateway:

                                    Ok i just connected the W5100 and NRF24 Module and uploaded the GatewayW5100 Sketch and when the upload is done after reset i dont get any output on serial monitor.
                                    The orange, green and red led are lighting.

                                    When i upload the SensebenderGatewaySerial then i get output on serial monitor. It think the problem must be the w5100. But what going wrong?

                                    @meddie Did you figure out what the problem is? I have exactly the same issue

                                    tbowmoT Offline
                                    tbowmoT Offline
                                    tbowmo
                                    Admin
                                    wrote on last edited by
                                    #223

                                    @alexsh1

                                    Have you tried to enable the debug output in the GatewayW5100 example? I think it is disabled by default, due to the limited memory on the small atmega 328p

                                    alexsh1A 1 Reply Last reply
                                    0
                                    • tbowmoT tbowmo

                                      @alexsh1

                                      Have you tried to enable the debug output in the GatewayW5100 example? I think it is disabled by default, due to the limited memory on the small atmega 328p

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

                                      @tbowmo

                                      Yes, I did

                                      // Enable debug prints to serial monitor
                                      #define MY_DEBUG
                                      #define MY_DEBUG_VERBOSE_SIGNING
                                      
                                      1 Reply Last reply
                                      0
                                      • alexsh1A Offline
                                        alexsh1A Offline
                                        alexsh1
                                        wrote on last edited by alexsh1
                                        #225

                                        I am running Arduino IDE 1.8.1 on Windows 10
                                        Arduino AVR 1.6.18
                                        Arduino SAMD 1.6.12
                                        MySensors SAMD 1.0.5

                                        EDIT: I have tried to upload the default sketch on macbook with Arduino IDE 1.6.2
                                        It is still the same - no debug info in the terminal

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

                                          OK, I did manage to get debug working partially.
                                          The gateway reads messages, but does not work as the gateway

                                          0;255;3;0;9;MCO:BGN:STP
                                          0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
                                          0;255;3;0;9;TSF:MSG:READ,10-10-0,s=1,c=1,t=17,pt=5,l=4,sg=0:348
                                          0;255;3;0;9;TSF:MSG:READ,26-10-0,s=3,c=1,t=24,pt=5,l=4,sg=0:51219479
                                          0;255;3;0;9;TSF:MSG:READ,10-10-0,s=1,c=1,t=24,pt=5,l=4,sg=0:51219482
                                          0;255;3;0;9;TSF:MSG:READ,11-11-0,s=2,c=1,t=37,pt=7,l=5,sg=0:1717.62
                                          0;255;3;0;9;TSF:MSG:READ,11-11-0,s=0,c=1,t=37,pt=7,l=5,sg=0:5338.44
                                          0;255;3;0;9;TSF:MSG:READ,11-11-0,s=3,c=1,t=37,pt=7,l=5,sg=0:10.75
                                          0;255;3;0;9;TSF:MSG:READ,11-11-0,s=3,c=1,t=37,pt=7,l=5,sg=0:10.76
                                          0;255;3;0;9;TSF:MSG:READ,11-11-0,s=4,c=1,t=37,pt=4,l=4,sg=0:880
                                          0;255;3;0;9;TSF:MSG:READ,6-6-0,s=2,c=1,t=1,pt=7,l=5,sg=0:64.8
                                          0;255;3;0;9;TSF:MSG:READ,6-6-0,s=0,c=1,t=4,pt=7,l=5,sg=0:1015
                                          

                                          I never had a message:

                                          Gateway startup complete.
                                          

                                          EDIT: Self-test with SensebenderSerial sketch gives me this:

                                          Sensebender GateWay test routine
                                          Mysensors core version : 2.1.1
                                          GateWay sketch version : 0.2
                                          ----------------------------------
                                          
                                          - > SHA204 Failed to wakeup SHA204
                                          - > SD CARD SD CARD did not initialize!
                                           -> EEPROM PASSED
                                          -> analog : 38 Failed
                                          
                                          tbowmoT 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.0k

                                          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