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. Howto debug ethernet gateway W5100

Howto debug ethernet gateway W5100

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 2 Posters 3.6k 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.
  • DomoJimboD Offline
    DomoJimboD Offline
    DomoJimbo
    wrote on last edited by
    #3

    Hi again,

    This is exaclty what I did, I put a Serial.println("Boot") in setup function, then I am now sure that my gateway reboots just after receiving a frame from any of my sensors.
    The question now is why ?!
    Is there a soft reboot somewhere in the mysensors lib or ethernet lib and why ?
    Any idea ?
    I have put a huge 220µF cap on the 3.3V supply of the nrf, without more success.

    PS:
    I can ping the gateway, both DHCP and direct IP works.

    sundberg84S 2 Replies Last reply
    0
    • DomoJimboD DomoJimbo

      Hi again,

      This is exaclty what I did, I put a Serial.println("Boot") in setup function, then I am now sure that my gateway reboots just after receiving a frame from any of my sensors.
      The question now is why ?!
      Is there a soft reboot somewhere in the mysensors lib or ethernet lib and why ?
      Any idea ?
      I have put a huge 220µF cap on the 3.3V supply of the nrf, without more success.

      PS:
      I can ping the gateway, both DHCP and direct IP works.

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #4

      @DomoJimbo - did you define #debug
      If you did you should see alot of debug messages.

      Good you have used capacitor... maybe you should try different sizes? My wild guess is power issues as well.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • DomoJimboD DomoJimbo

        Hi again,

        This is exaclty what I did, I put a Serial.println("Boot") in setup function, then I am now sure that my gateway reboots just after receiving a frame from any of my sensors.
        The question now is why ?!
        Is there a soft reboot somewhere in the mysensors lib or ethernet lib and why ?
        Any idea ?
        I have put a huge 220µF cap on the 3.3V supply of the nrf, without more success.

        PS:
        I can ping the gateway, both DHCP and direct IP works.

        sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by
        #5

        @DomoJimbo - what power supply do you use? Does any regulator have capacitors?

        Controller: Proxmox VM - Home Assistant
        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

        1 Reply Last reply
        0
        • DomoJimboD Offline
          DomoJimboD Offline
          DomoJimbo
          wrote on last edited by
          #6

          For now, I have a FTDMI usb as power supply, then I guess I have a budget of 500mA under 5V.
          I have put a 220µF cap on GND VCC direclty of the NRF. I use an adapter like this : http://www.uctronics.com/3-3v-wireless-adapter-board-compatible-with-2-4g-nrf24l01-module-for-arduino.html?feedback=1
          My cap is between the adap and the nrf.

          Yes I turned on debug message. I will provide them this evening... but the init seems ok as I can ping and moreover I see sensors data coming. I have put a Serial.println in setup, then I see that the arduino reboots just after receiving data.

          What is the recommanded cap value ?

          sundberg84S 1 Reply Last reply
          0
          • DomoJimboD DomoJimbo

            For now, I have a FTDMI usb as power supply, then I guess I have a budget of 500mA under 5V.
            I have put a 220µF cap on GND VCC direclty of the NRF. I use an adapter like this : http://www.uctronics.com/3-3v-wireless-adapter-board-compatible-with-2-4g-nrf24l01-module-for-arduino.html?feedback=1
            My cap is between the adap and the nrf.

            Yes I turned on debug message. I will provide them this evening... but the init seems ok as I can ping and moreover I see sensors data coming. I have put a Serial.println in setup, then I see that the arduino reboots just after receiving data.

            What is the recommanded cap value ?

            sundberg84S Offline
            sundberg84S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by sundberg84
            #7

            @DomoJimbo - 47 or 4,7uF on the radio.
            What IDE/Boards version do you use? There is a bug in the latest IDE which causes resets if I remember right...
            Use boards def below x.x.11 and try if that works for you.
            https://forum.mysensors.org/topic/4462/gatewayw5100-unable-to-get-working-w-v2-0-0-solved/5

            Controller: Proxmox VM - Home Assistant
            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

            DomoJimboD 1 Reply Last reply
            0
            • sundberg84S sundberg84

              @DomoJimbo - 47 or 4,7uF on the radio.
              What IDE/Boards version do you use? There is a bug in the latest IDE which causes resets if I remember right...
              Use boards def below x.x.11 and try if that works for you.
              https://forum.mysensors.org/topic/4462/gatewayw5100-unable-to-get-working-w-v2-0-0-solved/5

              DomoJimboD Offline
              DomoJimboD Offline
              DomoJimbo
              wrote on last edited by
              #8

              @sundberg84
              I use a fake arduino nano, and the latest IDE (1.6.12)
              => I will try with an older version (1.6.7) as suggested by the thread.
              Thanks a lot, I won't have never look in that direction !

              sundberg84S 1 Reply Last reply
              0
              • DomoJimboD DomoJimbo

                @sundberg84
                I use a fake arduino nano, and the latest IDE (1.6.12)
                => I will try with an older version (1.6.7) as suggested by the thread.
                Thanks a lot, I won't have never look in that direction !

                sundberg84S Offline
                sundberg84S Offline
                sundberg84
                Hardware Contributor
                wrote on last edited by sundberg84
                #9

                @DomoJimbo - note that the IDE version is not the problems, its the board def version you need to downgrade. Sorry for being unclear.

                Controller: Proxmox VM - Home Assistant
                MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                1 Reply Last reply
                0
                • DomoJimboD Offline
                  DomoJimboD Offline
                  DomoJimbo
                  wrote on last edited by
                  #10

                  I am not sure to well understand, and I am sure that I don't know how to do it (downgrade the board def)!
                  Would you please help me ?

                  I though it was the IDE itself...
                  I have just checked the file boards.txt, but it is the same in 1.6.7 and 1.6.12...
                  Please help me !

                  sundberg84S 1 Reply Last reply
                  0
                  • DomoJimboD DomoJimbo

                    I am not sure to well understand, and I am sure that I don't know how to do it (downgrade the board def)!
                    Would you please help me ?

                    I though it was the IDE itself...
                    I have just checked the file boards.txt, but it is the same in 1.6.7 and 1.6.12...
                    Please help me !

                    sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #11

                    @DomoJimbo - If you go inte the menu, select boards and the first menu is board manager. Open it up and select arduino (not sure what the standard is, but you will see). At the bottom corner there is a dropdown box. Select version and the "install" button will enable. Press it.

                    Controller: Proxmox VM - Home Assistant
                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                    1 Reply Last reply
                    0
                    • DomoJimboD Offline
                      DomoJimboD Offline
                      DomoJimbo
                      wrote on last edited by
                      #12

                      Great thank you, I think I have find it:

                      0_1478169750434_upload-e4e3e999-35b5-488c-9e57-96a6216bccd3

                      I will give it a try this evening, I will let you know.

                      1 Reply Last reply
                      0
                      • DomoJimboD Offline
                        DomoJimboD Offline
                        DomoJimbo
                        wrote on last edited by
                        #13

                        You saved my evening ! it works now like a charm.

                        Thanks a lot for your help

                        sundberg84S 1 Reply Last reply
                        2
                        • DomoJimboD DomoJimbo

                          You saved my evening ! it works now like a charm.

                          Thanks a lot for your help

                          sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #14

                          @DomoJimbo - great to hear!

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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


                          15

                          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