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. [SOLVED] Problems with Ethernet Gateway (Arduino Ethernet Shield)

[SOLVED] Problems with Ethernet Gateway (Arduino Ethernet Shield)

Scheduled Pinned Locked Moved Troubleshooting
67 Posts 12 Posters 34.6k Views 3 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.
  • hekH hek

    @korttoma

    I have now updated the ethernet sketch and instructions on www.mysensors.org to give a bit clearer instructions on how to use W5100 module and SoftSPI.

    korttomaK Offline
    korttomaK Offline
    korttoma
    Hero Member
    wrote on last edited by
    #55

    @hek said:

    I have now updated the ethernet sketch and instructions on www.mysensors.org to give a bit clearer instructions on how to use W5100 module and SoftSPI.

    greate! But you forgot one thing ;)

    RF24_config.h

    const uint8_t SOFT_SPI_MISO_PIN = 15;
    const uint8_t SOFT_SPI_MOSI_PIN = 14;
    const uint8_t SOFT_SPI_SCK_PIN = 16;
    
    M 1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #56

      @korttoma

      Not sure why you had to change the defines in the config file? Pleas explain.
      If look at my table you'll see that A0-A2 differs a bit from yours.

      1 Reply Last reply
      0
      • korttomaK Offline
        korttomaK Offline
        korttoma
        Hero Member
        wrote on last edited by
        #57

        @hek said:

        Not sure why you had to change

        I changed because @niccodemi instructed us to. Maybe this only needs to be done with some other hardware then the one I'm using. Maybe he can explain. (I hope I will remeber that my setup differs from the official instructions when the time comes to update to the next version down the road.)

        @hek said:

        look at my table

        I checked it again and your right it seems to be correct according to the config file, my bad.

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

          my bad

          :) No problem. If @niccodemi had some good reason I'll update config and docs.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            niccodemi
            wrote on last edited by
            #59

            @hek please check below post; where should pins be changed if not in config file?

            http://forum.mysensors.org/topic/466/ethernet-gateway-problem/24

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

              Ahh.. then we should be fine with the defaults. @Anticimex did his own modification in config to fit his gateway.

              AnticimexA 1 Reply Last reply
              0
              • hekH hek

                Ahh.. then we should be fine with the defaults. @Anticimex did his own modification in config to fit his gateway.

                AnticimexA Offline
                AnticimexA Offline
                Anticimex
                Contest Winner
                wrote on last edited by
                #61

                @hek Yes, basically, when using SOFT_SPI, you need to decide what pins to use and set the config accordingly. I believe things has been standardized a bit since I meddled with that, because I abandoned the SOFT_SPI approach as soon as I managed to manipulate SPI_EN. Saves me both wires, program space and energy :)

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

                1 Reply Last reply
                0
                • JTBJ Offline
                  JTBJ Offline
                  JTB
                  wrote on last edited by
                  #62

                  I have problems with this setup. No matter what I try i get this printout from the Humidity sensor node:

                  req node id
                  send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
                  sensor started, id 255
                  req node id
                  send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
                  T: 20.70
                  req node id
                  send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
                  H: 31.70

                  Appreciate any tips and help!

                  1 Reply Last reply
                  0
                  • bjornhallbergB Offline
                    bjornhallbergB Offline
                    bjornhallberg
                    Hero Member
                    wrote on last edited by
                    #63

                    I just switched to the ethernet gateway to try out native Domoticz support and quickly experienced the SPI issue that everyone has been talking about. Can someone explain how the MQTT gateway was able to run for several months with no issues, but the moment I flash the ETHERNET gateway on the same hardware everything goes belly up after a few hours?

                    1 Reply Last reply
                    0
                    • korttomaK korttoma

                      @hek said:

                      I have now updated the ethernet sketch and instructions on www.mysensors.org to give a bit clearer instructions on how to use W5100 module and SoftSPI.

                      greate! But you forgot one thing ;)

                      RF24_config.h

                      const uint8_t SOFT_SPI_MISO_PIN = 15;
                      const uint8_t SOFT_SPI_MOSI_PIN = 14;
                      const uint8_t SOFT_SPI_SCK_PIN = 16;
                      
                      M Offline
                      M Offline
                      mainali
                      wrote on last edited by
                      #64

                      @korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.

                      korttomaK 3 Replies Last reply
                      0
                      • M mainali

                        @korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.

                        korttomaK Offline
                        korttomaK Offline
                        korttoma
                        Hero Member
                        wrote on last edited by
                        #65

                        @mainali said:

                        Can you post the link to the updated code and the instruction of using NRF with ethernet module.

                        I think everything you need to know is described here -> http://www.mysensors.org/build/ethernet_gateway

                        1 Reply Last reply
                        0
                        • M mainali

                          @korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.

                          korttomaK Offline
                          korttomaK Offline
                          korttoma
                          Hero Member
                          wrote on last edited by
                          #66
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • M mainali

                            @korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.

                            korttomaK Offline
                            korttomaK Offline
                            korttoma
                            Hero Member
                            wrote on last edited by
                            #67
                            This post is deleted!
                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            18

                            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