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.
  • 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
                  • scalzS scalz

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

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

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

                    @scalz Thank you Sir. I am going to probably wait for the PLA version as It has been working a bit better for me.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Disca
                      wrote on last edited by
                      #125

                      Few things about the software side of this. When you plug it into your computer it appears as a "Sensebender GW", with a custom USB VID/PID. You have to override the drivers and use the "Atmel Corp. EDBG CMSIS-DAP" serial port drivers or you will have no serial port at all to communicate with the board.

                      Second issue, with the latest Arduino software (1.8.1), and the MySensors SAMD board package installed and MySensor library installed you get an error relating to a missing core "arduino:arduino". Solution to that one is to install the main Arduino SAMD board package which adds the necessary libraries. Secondly, after doing that you will now get another error regarding a missing "Sam.h" file, to fix that you have to manually edit the platform.txt file in "\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.3" with the contents of the one from "\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.11" - just being careful to copy over the name and version lines from the top of the Mysensors platform.txt file. After that you are good to go and can finally program the board or get some data out of it :-)

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

                        We are preparing a new release of the board definitions for our samd. Which fixes the issues with arduino samd 1.6.11.

                        It should also contain a driver .inf file for Windows 7/8, for those that needs it (it's not needed on Linux, mac or Windows 10). I had completely forgotten that windows usually needs this inf file to operate correct (I have been using Linux the last 17 years for all my private projects)

                        I hope the package will be out tomorrow (sunday) , as I just need to do a couple of tests to verify things.

                        D 1 Reply Last reply
                        0
                        • Viktor ZemanV Offline
                          Viktor ZemanV Offline
                          Viktor Zeman
                          wrote on last edited by
                          #127

                          Do you have any example sketch for this gateway? I want to use in my GW radio + wifi module.

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

                            @Viktor-Zeman

                            It only support wired ethernet, and USB. For wifi we have ESP8266 gateways instead.

                            There are example sketches available in mysensors (see SensebenderGatewaySerial, or just plain GatewayW5100 would work if it's just ethernet module that you want to use)

                            1 Reply Last reply
                            0
                            • tbowmoT tbowmo

                              We are preparing a new release of the board definitions for our samd. Which fixes the issues with arduino samd 1.6.11.

                              It should also contain a driver .inf file for Windows 7/8, for those that needs it (it's not needed on Linux, mac or Windows 10). I had completely forgotten that windows usually needs this inf file to operate correct (I have been using Linux the last 17 years for all my private projects)

                              I hope the package will be out tomorrow (sunday) , as I just need to do a couple of tests to verify things.

                              D Offline
                              D Offline
                              Disca
                              wrote on last edited by
                              #129

                              @tbowmo Great, took a an hour or two to work out what was going on. Not used MySensors before so presumed it was something I was doing wrong. I have an RFM69HW soldered on the sensebender GW now with the serial sketch loaded and it appears to be working!

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

                                for info, a new Mysensors SAMD board definition file have been released (1.0.4)

                                Includes the following changes:
                                Arduino SAMD 1.6.11 supported (the latest arduino board definitions for SAMD)
                                Various bits and pieces regarding pin definitions are fixed (a couple of missing defines)
                                Windows driver .inf file added.

                                D M 3 Replies Last reply
                                1
                                • tbowmoT tbowmo

                                  for info, a new Mysensors SAMD board definition file have been released (1.0.4)

                                  Includes the following changes:
                                  Arduino SAMD 1.6.11 supported (the latest arduino board definitions for SAMD)
                                  Various bits and pieces regarding pin definitions are fixed (a couple of missing defines)
                                  Windows driver .inf file added.

                                  D Offline
                                  D Offline
                                  Disca
                                  wrote on last edited by
                                  #131

                                  @tbowmo Compiles fine now with 1.0.4, not convinced the drivers are being automatically picked up though. I can force install them by selecting the inf but presumably you want it automatic when someone plugs in the gateway?

                                  I notice in the arduino SAMD package they have a post-install.bat to seemingly install the inf file - possibly needed?

                                  It could also be that i've just messed things up with my manual driver install stuff yesterday. I'm on Windows 7 by the way.

                                  1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    for info, a new Mysensors SAMD board definition file have been released (1.0.4)

                                    Includes the following changes:
                                    Arduino SAMD 1.6.11 supported (the latest arduino board definitions for SAMD)
                                    Various bits and pieces regarding pin definitions are fixed (a couple of missing defines)
                                    Windows driver .inf file added.

                                    D Offline
                                    D Offline
                                    Disca
                                    wrote on last edited by
                                    #132

                                    @tbowmo Also, I notice on Linux (Raspberry Pi 3 running Debian) the device appears as an ACM device rather than the usual TTY device that some might expect. It works fine though so no issues but may confuse alot of people - worth making a note somewhere.

                                    1 Reply Last reply
                                    0
                                    • tbowmoT tbowmo

                                      for info, a new Mysensors SAMD board definition file have been released (1.0.4)

                                      Includes the following changes:
                                      Arduino SAMD 1.6.11 supported (the latest arduino board definitions for SAMD)
                                      Various bits and pieces regarding pin definitions are fixed (a couple of missing defines)
                                      Windows driver .inf file added.

                                      M Offline
                                      M Offline
                                      MLs
                                      wrote on last edited by
                                      #133

                                      @tbowmo

                                      (for info, a new Mysensors SAMD board definition file have been released (1.0.4))

                                      Where?

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

                                        @MLs reload board definition from IDE

                                        I have a little annoying bug : I can't reset de gateway. When resetting, I loose communication with my computer (linux) same after loading a new sketch (last version with IDE 1.8.1 and def 1.0.4))

                                        [13727.746445] usb 1-1: new full-speed USB device number 9 using xhci_hcd
                                        [13727.892970] usb 1-1: New USB device found, idVendor=1209, idProduct=6949
                                        [13727.892974] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                                        [13727.892977] usb 1-1: Product: Sensebender GW
                                        [13727.892980] usb 1-1: Manufacturer: MySensors.org
                                        [13727.895690] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
                                        [13749.066589] usb 1-1: USB disconnect, device number 9
                                        

                                        So I can't check debug messages from init.

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

                                          @MLs

                                          Check out the setup instructions here

                                          and perhaps this

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


                                          20

                                          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