Skip to content
  • 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
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

πŸ’¬ 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.
  • 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
                                • scalzS Offline
                                  scalzS Offline
                                  scalz
                                  Hardware Contributor
                                  wrote on last edited by
                                  #119

                                  @alexsh1 why, i don't understand :stuck_out_tongue_winking_eye:

                                  Here it is : http://www.thingiverse.com/thing:2084269

                                  alexsh1A 2 Replies Last reply
                                  0
                                  • scalzS Offline
                                    scalzS Offline
                                    scalz
                                    Hardware Contributor
                                    wrote on last edited by scalz
                                    #120

                                    I'm proud to say enclosure files have been integrated in the MySensors Sensebender GW project and git.
                                    So you can find the files here at Mysensors.

                                    Enjoy :)

                                    1 Reply Last reply
                                    1
                                    • M Offline
                                      M Offline
                                      MLs
                                      wrote on last edited by MLs
                                      #121

                                      Hey it should look like this?

                                      But you see the gap between the W5100 and Sensebende Gateway.

                                      0_1486208943376_Sensebender GW 006.JPG

                                      0_1486208957253_Sensebender GW 007.JPG

                                      0_1486208970805_Sensebender GW 008.JPG

                                      0_1486208982183_Sensebender GW 009.JPG

                                      Sorry for a very poor camera

                                      //Mattias

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

                                        @MLs

                                        Yes, according to the build instructions here, you can also raise the socket a bit over the pcb.

                                        The problem is that the ethernet connector is higher than a normal IDC socket, which means you can't insert the board fully in the socket. I have searched for a higher variant of the socket, but haven't found a suitable candidate..

                                        alexsh1A 1 Reply Last reply
                                        0
                                        • tbowmoT tbowmo

                                          @MLs

                                          Yes, according to the build instructions here, you can also raise the socket a bit over the pcb.

                                          The problem is that the ethernet connector is higher than a normal IDC socket, which means you can't insert the board fully in the socket. I have searched for a higher variant of the socket, but haven't found a suitable candidate..

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

                                          @tbowmo What I did was soldering the socket a bit higher. Not a problem with some soldering skills...

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


                                          13

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular