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. Troubleshooting
  3. I need basic advice on getting my ethernet gateway to work

I need basic advice on getting my ethernet gateway to work

Scheduled Pinned Locked Moved Troubleshooting
ethernet gatewa
7 Posts 4 Posters 2.1k Views 2 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.
  • S Offline
    S Offline
    spork
    wrote on last edited by spork
    #1

    Hi all. I'm getting really frustrated with trying to build a gateway and I feel like I'm about to walk away from this, which is too bad because I was really exited about this mysensors thing.

    I'm trying to build a ethernet gateway. I'm following the instructions exactly. First I tried with an Arduino Nano clone, and when that didn't work I switched to my genuine Arduino Uno. I have the W5100 ethernet module and everything is wired exactly according to the directions.
    I've made the prescribed changes to the MyConfig.h file, and I've uploaded the sketch without any issue now that I rolled back to Arduino IDE 1.6.5.

    I plug in the ethernet cable and the usb for power, and I don't see this device anywhere on the network. I've tried a few different ip addresses and still nothing. When I use the default IP, the ping request times out, when I use anything in 192.168.1.xxx to match my network I get the message "destination host unreachable."

    What can I do to troubleshoot this?

    By the way, running Windows 8.1 if that matters.

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

      Well, the usual problems is

      1. Mis-wiring
      2. Under powering of ethernet module
      3. Wrong configuration.

      You can eliminate the last by running the W5100gateway sketch from the development branch. It's configured to run with SoftSPI from start.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spork
        wrote on last edited by
        #3

        I loaded the development branch but there is nothing in the setup or loop functions. Should there be something there?

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

          @spork said:

          Should there be something there?

          No, that's correct.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            spork
            wrote on last edited by
            #5

            How would I be able to tell if I was underpowering the Ethernet module?

            alexsh1A 1 Reply Last reply
            0
            • mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @spork said:

              How would I be able to tell if I was underpowering the Ethernet module?

              weird things happen :-)
              When a circuit is under-powered, it stops behaving according to the specification and basically anything can happen so troubleshooting becomes infuriating.

              The best tip I know is to read the specifications on the module you've bought and make sure you have a power supply that exceeds the requirements by a wide margin.

              1 Reply Last reply
              0
              • S spork

                How would I be able to tell if I was underpowering the Ethernet module?

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

                @spork said:

                How would I be able to tell if I was underpowering the Ethernet module?

                I have built the ethernet GW recently (genuine Arduino Uno and W5100) and it works like a charm. Try to power it up from an iPhone/iPad charger - they are powerful enough. By the way, Arduino Uno + W5100 + nrf24l01+ take about 250mA

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


                5

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                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