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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by tbowmo
    #154

    @Fabien

    D4 is the yellow LED, and the only place it is used is in the onboard selftest routine.

    In my setup, D5 turns on when plugging in the device. If I hit reset one time, it momentarily switches off D5, and then back on. if I hit reset twice, it stays off (bootloader is activated)

    The above is done on my RFM69 debug gateway, so the sketch is for RFM69, but otherwise a standard SensebenderGatewaySerial sketch

    Have you checked dmesg, when plugging in, and when hitting the reset button?

    Have you tried with another USB cable? Have you tried with another computer?

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

      I try with 2 different USB cable and 2 computer (1 laptop and 1 desktop). Same problem. With a charger too. And sorry for the mistake, it's D5 (orange)
      On log

      [ 4788.031324] usb 1-8: USB disconnect, device number 6
      
      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fabien
        wrote on last edited by
        #156

        0_1486421335378_IMG_20170206_234714.jpg
        Thank you @scalz !
        You must have a very well calibrated printer to print it correctly. First try fails (oozing due to overtemp)
        Other side tomorrow !

        1 Reply Last reply
        1
        • D Disca

          @MLs mmm not sure then, it works for me on Windows 7 with 1.8.1 (slightly newer version?)

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

          @Disca

          Where did you find the drivers for sensebender GW for Windows 7?

          //Mattias

          tbowmoT 1 Reply Last reply
          0
          • M MLs

            @Disca

            Where did you find the drivers for sensebender GW for Windows 7?

            //Mattias

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

            @MLs

            Check the product page on mysensors.org

            https://www.mysensors.org/hardware/sensebender-gateway

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

              @Fabien

              D5 is used by arduino to signal USB serial rx/TX activity.

              Can you post the log lines from dmesg, from when you insert the usb cable, to after you have pressed the reset button?

              1 Reply Last reply
              0
              • tbowmoT tbowmo

                @MLs

                Check the product page on mysensors.org

                https://www.mysensors.org/hardware/sensebender-gateway

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

                @tbowmo

                I tried to update the drivers in Device Manager / sense bender GW but it failed to install the computer said.

                Therefore, I asked one who wrote that he was using Windows 7

                //Mattias

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

                  @MLs
                  I'm also still using win7 x64 for my dev and that worked for me.

                  Auto install through the Device Manager does not work, nor right-clicking and installing the .inf through Explorer.

                  You have to force the install and select the location of the .inf in Device Manager. Then it will ask you if you agree about the driver supplier. Of course you're! And you should be able to see it in Device Manager.

                  M 1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Dany
                    wrote on last edited by
                    #162

                    There are example program for W5100? The original GatewayW5100 program uses SOFTSPI, different NRF CE/CSN pins? Will work with this hardware properly?

                    tbowmoT 1 Reply Last reply
                    0
                    • scalzS scalz

                      @MLs
                      I'm also still using win7 x64 for my dev and that worked for me.

                      Auto install through the Device Manager does not work, nor right-clicking and installing the .inf through Explorer.

                      You have to force the install and select the location of the .inf in Device Manager. Then it will ask you if you agree about the driver supplier. Of course you're! And you should be able to see it in Device Manager.

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

                      @scalz

                      Heh've tried both in the device manager and manually. Device Manager, I get an error message.

                      0_1486469926862_Enhetshanteraren.png

                      And manually, nothing happens.

                      0_1486469936775_Manuelt.png

                      //Mattias

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

                        @MLs
                        yep that's what i explained.
                        you need to force it in Device Manager. How you're doing in Device manager actually is rather auto, imho ;)
                        You can try in Device manager to right click on the bad detected device, here Sensebender Gw, and in properties, update driver. At a moment, it should prompt an "Open file" Dialog box (you need to choose the right option in the dialog) and then select your .inf file. And it will ask if you're ok to install a driver from a third party.

                        1 Reply Last reply
                        0
                        • D Dany

                          There are example program for W5100? The original GatewayW5100 program uses SOFTSPI, different NRF CE/CSN pins? Will work with this hardware properly?

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

                          @Dany

                          The standard GatewayW5100 example sketch will work on the sensebender gateway. There are conditional compile statements in that sketch, that disables softspi when compiling to the gateway target, and use a hardware SPI instead.

                          Remember to choose the correct target in your Arduino IDE

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

                            @MLs
                            Okay, simpler, forget what i told you, and follow my steps below. I've unstalled mine to show you ;)
                            Then if it can be useful for others. Nothing fancy here, it can be used for lot of others drivers.

                            Step 1: plugin the GW, as you can see it's not detected, and no additional com port.
                            0_1486474793485_SBDGW win7 driver install step 1.png

                            Step 2: right clic, and update driver
                            0_1486474882132_SBDGW win7 driver install step 2.png

                            Step 3: click on the 2nd option for searching a driver on your machine
                            0_1486474932523_SBDGW win7 driver install step 3.png

                            Step 4: Again 2nd option here (you want to search for a driver on your computer)
                            0_1486474985503_SBDGW win7 driver install step 4.png

                            Step 5: This is a Virtual Serial Com port needed for the GW. So choose COM/LPT for the driver type
                            0_1486475057428_SBDGW win7 driver install step 5.png

                            Step 6: Now it is asking where the driver (.inf) is stored
                            0_1486475102981_SBDGW win7 driver install step 6.png

                            Step 7: You can now see that Windows knows what this is about. And tells you this driver is not "signed". No problem we know @tbowmo has done a great job. So, Next!
                            0_1486475141843_SBDGW win7 driver install step 7.png

                            Step 8: Windows here warns again, saying he doesn't know this driver, so it may not work well. No way, it will work well ;) Click "Yes" to install it.
                            0_1486475226673_SBDGW win7 driver install step 8.png

                            Step 9: Looks good
                            0_1486475299591_SBDGW win7 driver install step 9.png

                            Step 10: Tada! Here you can see now the GW is well detected and setup on COM port 24
                            0_1486475356373_SBDGW win7 driver install step 10.png

                            I can't do better!
                            I think you'll get it :)

                            M 1 Reply Last reply
                            3
                            • scalzS scalz

                              @MLs
                              Okay, simpler, forget what i told you, and follow my steps below. I've unstalled mine to show you ;)
                              Then if it can be useful for others. Nothing fancy here, it can be used for lot of others drivers.

                              Step 1: plugin the GW, as you can see it's not detected, and no additional com port.
                              0_1486474793485_SBDGW win7 driver install step 1.png

                              Step 2: right clic, and update driver
                              0_1486474882132_SBDGW win7 driver install step 2.png

                              Step 3: click on the 2nd option for searching a driver on your machine
                              0_1486474932523_SBDGW win7 driver install step 3.png

                              Step 4: Again 2nd option here (you want to search for a driver on your computer)
                              0_1486474985503_SBDGW win7 driver install step 4.png

                              Step 5: This is a Virtual Serial Com port needed for the GW. So choose COM/LPT for the driver type
                              0_1486475057428_SBDGW win7 driver install step 5.png

                              Step 6: Now it is asking where the driver (.inf) is stored
                              0_1486475102981_SBDGW win7 driver install step 6.png

                              Step 7: You can now see that Windows knows what this is about. And tells you this driver is not "signed". No problem we know @tbowmo has done a great job. So, Next!
                              0_1486475141843_SBDGW win7 driver install step 7.png

                              Step 8: Windows here warns again, saying he doesn't know this driver, so it may not work well. No way, it will work well ;) Click "Yes" to install it.
                              0_1486475226673_SBDGW win7 driver install step 8.png

                              Step 9: Looks good
                              0_1486475299591_SBDGW win7 driver install step 9.png

                              Step 10: Tada! Here you can see now the GW is well detected and setup on COM port 24
                              0_1486475356373_SBDGW win7 driver install step 10.png

                              I can't do better!
                              I think you'll get it :)

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

                              @scalz

                              Thanks for a super instruction but it is the file itself that the computer says from. It says that the folder contains the no driver

                              And the driver in the folder I chose I downloaded here

                              https://github.com/mysensors/ArduinoHwSAMD/blob/master/driver/mysensors-samd.inf

                              // Mattias

                              M 1 Reply Last reply
                              0
                              • M MLs

                                @scalz

                                Thanks for a super instruction but it is the file itself that the computer says from. It says that the folder contains the no driver

                                And the driver in the folder I chose I downloaded here

                                https://github.com/mysensors/ArduinoHwSAMD/blob/master/driver/mysensors-samd.inf

                                // Mattias

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

                                @MLs

                                When I downloaded the drivers so I make the following step.
                                Right-click at the file and save target as.

                                //Mattias

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

                                  On the raw file?

                                  https://raw.githubusercontent.com/mysensors/ArduinoHwSAMD/master/driver/mysensors-samd.inf

                                  M 1 Reply Last reply
                                  0
                                  • hekH hek

                                    On the raw file?

                                    https://raw.githubusercontent.com/mysensors/ArduinoHwSAMD/master/driver/mysensors-samd.inf

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

                                    @hek

                                    https://github.com/mysensors/ArduinoHwSAMD/tree/master/driver

                                    I click on the link below the folder drivers

                                    0_1486482224917_Namnlös.png

                                    //Mattias

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

                                      No, that will download a github html page.

                                      Use the link I posted (and save as). It will be the raw content.

                                      M 2 Replies Last reply
                                      0
                                      • hekH hek

                                        No, that will download a github html page.

                                        Use the link I posted (and save as). It will be the raw content.

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

                                        @hek

                                        I'll try it tomorrow is not so strange that it did not work for me then.

                                        //Mattias

                                        1 Reply Last reply
                                        0
                                        • hekH hek

                                          No, that will download a github html page.

                                          Use the link I posted (and save as). It will be the raw content.

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

                                          @hek

                                          Now, I also got the computer to recognize the card. Thanks for all help.

                                          The problem was that even when I used save as, the computer renaming the file as a .txt file "mysensors-samd.inf.txt" and not a "mysensors-samd.inf"

                                          Again, thanks for all the help.

                                          //Mattias

                                          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