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.2k 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 Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #99

    The architecture we use would place this kind of situation to the controller to solve. One gw per network. So one gw for nrf and one for rfm.
    HW is cheap, and library should be kept simple.

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

    FotoFieberF 1 Reply Last reply
    1
    • AnticimexA Anticimex

      The architecture we use would place this kind of situation to the controller to solve. One gw per network. So one gw for nrf and one for rfm.
      HW is cheap, and library should be kept simple.

      FotoFieberF Offline
      FotoFieberF Offline
      FotoFieber
      Hardware Contributor
      wrote on last edited by
      #100

      @Anticimex
      One gateway per radio, that is what I think is best. :+1:

      What I try to do, is to implement a controller with arduino due for up to three serial gateways. If there would be a solution for ethernet&rfm69 I may not have invested time in this. :laughing:

      0_1485703507553_DueMysMQTT_Steckplatine.png

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

        @FotoFieber

        Well sensebender GW supports rfm69 with ethernet ;)

        FotoFieberF alexsh1A 2 Replies Last reply
        1
        • tbowmoT tbowmo

          @FotoFieber

          Well sensebender GW supports rfm69 with ethernet ;)

          FotoFieberF Offline
          FotoFieberF Offline
          FotoFieber
          Hardware Contributor
          wrote on last edited by
          #102

          @tbowmo
          Yes, that is really nice. :+1:

          My other goal was to have a new MQTTClientGateway, as it existed with MySensors 1.1 (which is not only a gateway, but a controller too). It would have been really painful to add it to MySensors 2.1.x, as I would have to patch core files. It is much easier, to throw hardware at it. :laughing:

          1 Reply Last reply
          0
          • tbowmoT tbowmo

            @FotoFieber

            Well sensebender GW supports rfm69 with ethernet ;)

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

            @tbowmo More practical question. I have received the GW and it already has MySensors 2.1.0 software. Excellent service by Itead. Can you please help me how to map LEDs in the GW sketch? I can see that they are connected to pins 38, 41, 42, 39, 40 as LED1, LED2, LED3, LED4 and LED5. Thanks

            tbowmoT 1 Reply Last reply
            0
            • alexsh1A alexsh1

              @tbowmo More practical question. I have received the GW and it already has MySensors 2.1.0 software. Excellent service by Itead. Can you please help me how to map LEDs in the GW sketch? I can see that they are connected to pins 38, 41, 42, 39, 40 as LED1, LED2, LED3, LED4 and LED5. Thanks

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

              @alexsh1

              you should be able to use LED_BLUE, LED_GREEN etc. defines (or even just LED_1, LED_2..) in your sketch, to access the different LED's on board the gateway. That is, if you are using the SenseBender GW hardware support files in arduino (installation instructions are here https://github.com/mysensors/ArduinoBoards)

              Also, look at the board definition files, located here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.cpp
              and here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.h

              alexsh1A 1 Reply Last reply
              1
              • tbowmoT tbowmo

                @alexsh1

                you should be able to use LED_BLUE, LED_GREEN etc. defines (or even just LED_1, LED_2..) in your sketch, to access the different LED's on board the gateway. That is, if you are using the SenseBender GW hardware support files in arduino (installation instructions are here https://github.com/mysensors/ArduinoBoards)

                Also, look at the board definition files, located here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.cpp
                and here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.h

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

                @tbowmo Excellent links, many thanks. BTW the board is working with the standard arduino samd, the problem I suppose comes with things LEDs.

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

                  @alexsh1

                  You might be able to compile with the standard arduino zero BSP files. But the IO mapping is not the same at all.. I have swapped some pins to make routing a bit easier. Also the SPI channels are configured a bit differently than the standard arduino, if I remember right. So I will advise to use the mysensors gateway BSP files..

                  alexsh1A 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @alexsh1

                    You might be able to compile with the standard arduino zero BSP files. But the IO mapping is not the same at all.. I have swapped some pins to make routing a bit easier. Also the SPI channels are configured a bit differently than the standard arduino, if I remember right. So I will advise to use the mysensors gateway BSP files..

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

                    @tbowmo it is already done. Thanks to your link I have now Sensebender Gateway board added.
                    Waiting for an ethernet board now, it has stuck in the post

                    1 Reply Last reply
                    1
                    • F Offline
                      F Offline
                      Fabien
                      wrote on last edited by
                      #108

                      @tbowmo : Did you try to use this board with platformio ?

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

                        @Fabien

                        No, platformio is still on my bucketlist.. There is just not hours enough for everything :)

                        F 1 Reply Last reply
                        1
                        • tbowmoT tbowmo

                          @Fabien

                          No, platformio is still on my bucketlist.. There is just not hours enough for everything :)

                          F Offline
                          F Offline
                          Fabien
                          wrote on last edited by
                          #110

                          @tbowmo Ok I will install arduino IDE to upgrade it to 2.1.1
                          Please post here iwhen you have more information. I think I will try but I have no experience with this architecture.

                          1 Reply Last reply
                          0
                          • delivereathD Offline
                            delivereathD Offline
                            delivereath
                            wrote on last edited by
                            #111

                            Has anyone designed a case for the sensebender gateway ?

                            tbowmoT 1 Reply Last reply
                            0
                            • delivereathD delivereath

                              Has anyone designed a case for the sensebender gateway ?

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

                              @delivereath

                              I designed one in freecad for the GW and a nrf24l01 with lna/pa and external antenna.

                              But I still have some fine tuning to do before releasing it, as the lid locking mechanism didn't turn out like expected.

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

                                Tea time..

                                Here is my custom box for your RFM69 Sensebender GW ! Beautiful board though ;)

                                No nail no screw :)

                                0_1486052016552_Custom box for Sensebender GW.jpg

                                0_1486052034817_Plate for Sensebender GW.jpg

                                0_1486052057656_Bottom plate for Sensebender GW.jpg

                                Last final minor check and i release the files, sure! (i've done one for nrf too in case..)

                                alexsh1A F 2 Replies Last reply
                                6
                                • scalzS scalz

                                  Tea time..

                                  Here is my custom box for your RFM69 Sensebender GW ! Beautiful board though ;)

                                  No nail no screw :)

                                  0_1486052016552_Custom box for Sensebender GW.jpg

                                  0_1486052034817_Plate for Sensebender GW.jpg

                                  0_1486052057656_Bottom plate for Sensebender GW.jpg

                                  Last final minor check and i release the files, sure! (i've done one for nrf too in case..)

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

                                  @scalz beautiful box!!!
                                  Looking forward to print it too as soon as you publish it, but mine will be with nrf24l01+. Having been running both networks, I'm so much in favour of rfm69. It just works. No more caps to stabilise power or any other rf issues.

                                  I have decided to use Moteino Mega with a built-in antenna as rfm69 gateway though - it is very small and goes inside into an RPi box. And has got more memory than atmega328p

                                  1 Reply Last reply
                                  0
                                  • scalzS scalz

                                    Tea time..

                                    Here is my custom box for your RFM69 Sensebender GW ! Beautiful board though ;)

                                    No nail no screw :)

                                    0_1486052016552_Custom box for Sensebender GW.jpg

                                    0_1486052034817_Plate for Sensebender GW.jpg

                                    0_1486052057656_Bottom plate for Sensebender GW.jpg

                                    Last final minor check and i release the files, sure! (i've done one for nrf too in case..)

                                    F Offline
                                    F Offline
                                    Fabien
                                    wrote on last edited by
                                    #115

                                    @scalz Yeah ! I will print this one.

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

                                      Little gift.. :)

                                      Custom box for the NRF non PA version:

                                      0_1486135733912_20170203_161524.jpg

                                      0_1486135777240_20170203_161550.jpg
                                      A bit enlarged for NRF.

                                      0_1486135802750_20170203_162026.jpg

                                      And here the 3d preview for both versions with my little cheat for bicolor as i've still not added this feature to my printer
                                      0_1486135971628_assembly_rfm69_nrf_1.png
                                      You can see i've added a little slot near usb on the NRF version, it's for the leds indication in case box wouldn't be white (no need for white box, you can see it by transparency). I'll do the same for rfm69, and put variant stl with it or not.

                                      Next Nrf PA version, and that'll be fine ;)

                                      1 Reply Last reply
                                      5
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #117

                                        Thank you @scalz!

                                        0_1486143935594_20170203_182834.jpg

                                        alexsh1A 1 Reply Last reply
                                        3
                                        • hekH hek

                                          Thank you @scalz!

                                          0_1486143935594_20170203_182834.jpg

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

                                          @scalz Please share the STL files!

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


                                          11

                                          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