Announcement

Collapse
No announcement yet.

Ethernet connection problems: Can we summarize our understanding?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • apluck
    replied
    Martin, just tried setting DHCP on one of my boards. Will see how it goes. Thanks for the suggestion.

    Leave a comment:


  • mbirrell
    replied
    Originally posted by damiene77 View Post
    Could some of these connection issues that are being experienced be related to an improperly terminated Cat5 cable? and possibly this is just interference?
    Could do... anything is possible. I found my problems went away on the networking side when I set the boards to use DHCP.

    Why don't you try just use the Arduino unconnected to HomeSeer for now and get the Arduino going to manage your irrigation system... then you could go the next step and get is talking to HomeSeer.

    Leave a comment:


  • damiene77
    replied
    I'm very interested in using this plugin and an Arduino to create an irrigation system control. I'm torn at the moment because of the ethernet connection issues as I would have to locate the Arduino and relays quite a ways away from my HS3 PC and would have to utilize an ethernet based connection.

    Something that came to mind while reading up on all of this and just throwing this out there as a shot in the dark (and please don't take this as an insult on anyone's intelligence here as I'm sure all of you know a ton more than I on the subject) but I had an issue once with a computer on my network dropping connection after making my own ethernet cable. It was about 45 feet long and I thought at the time it was simply matching colors at both ends and putting the connector on....lol. Well, this was before I learned about interference over long Cat5 runs and that ethernet cable is designed to combat that interference as long as you stick to spec and pin out on the cable. After terminating to spec all of my connection issues went away. Let's just say that before I figured this out I used several fittings trying to figure out what I did wrong.

    Could some of these connection issues that are being experienced be related to an improperly terminated Cat5 cable? and possibly this is just interference?

    Leave a comment:


  • mbirrell
    replied
    Hi all,

    I had the same problem as apluck. How I fixed it was I set the Arduinos to use DHCP and configured my router to reserve the IP addresses for both Arduinos. The IP addresses that were set manually in the sketch were within the DHCP scope of my router. If you are having problems it is well worth a try.

    Regards,

    Martin

    Leave a comment:


  • fvhemert
    replied
    Originally posted by fvhemert View Post
    I have 5 arduino's connected over ethernet, all of them experiencing intermittent connectivity issues (disconnected and connect)

    Following the instructions on https://forum.arduino.cc/index.php?t...804#msg2538804 I have just added two 100 oohm resistors in parallel and started testing.

    I have setup a counter that logs connection failures, it was at 134 over a 1 week period. The counter is reset and time will tell....

    Keep you posted
    Unfortunately the situation did not improve, seeing as many connectivity errors with the boards that are modified as with the ones that are not.

    The loss of connectivity usually is very short (less than seconds) and seems to occur when the network or HS is busy. Could it be a timer in the plugin that is just too tight?

    Leave a comment:


  • apluck
    replied
    Petez, just to clarify - apluck01 is me - I tried a mega.

    My board 3 has always worked fine. It is a genuine ArduinoBoardEthernet. It is down the garden in the shed which is probably 40 or 50m as the cable runs. It has never disconnected.

    I swapped the board out for my other ArduinoBoardEthernet (board 1 which disconnects every day or so, but then reconnects straight away) a couple of days ago and so far it is working fine with no disconnects.

    Leave a comment:


  • petez69
    replied
    Originally posted by fvhemert View Post
    I have 5 arduino's connected over ethernet, all of them experiencing intermittent connectivity issues (disconnected and connect)

    Following the instructions on https://forum.arduino.cc/index.php?t...804#msg2538804 I have just added two 100 oohm resistors in parallel and started testing.

    I have setup a counter that logs connection failures, it was at 134 over a 1 week period. The counter is reset and time will tell....

    Keep you posted
    Perfect. Look forward to your findings..

    Sent from my Nexus 7 using Tapatalk

    Leave a comment:


  • fvhemert
    replied
    An easy and satisfactory solution is to come up with a couple of 100 to 120 ohm resistors to tack across the HanRun connector pins. One goes between pins 1 and 2, the other between pins 3 and 6. Leave the bogus resistor pack in place, it works to supply the necessary bias. No need to fiddle with sourcing and changing the tiny pack.
    I have 5 arduino's connected over ethernet, all of them experiencing intermittent connectivity issues (disconnected and connect)

    Following the instructions on https://forum.arduino.cc/index.php?t...804#msg2538804 I have just added two 100 oohm resistors in parallel and started testing.

    I have setup a counter that logs connection failures, it was at 134 over a 1 week period. The counter is reset and time will tell....

    Keep you posted

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I tried a new mega with a genuine Ethernet shield as board 5. The LCD doesn't work with it, and the board disconnects after a while and stays disconnected. So another fail.

    Sent from my Nexus 6 using Tapatalk

    Leave a comment:


  • petez69
    replied
    Good find Al........

    Leave a comment:


  • sparkman
    replied
    W5100 Based Shields

    Hi all,

    Saw on a few forums that many of the W5100 based ethernet shields have incorrect terminating resistors on the ethernet jack which could be causing the reliability issues. Apparently they are 510 ohm (marked as 511) instead of the required 51 ohm (marked as 510). I checked my clone shields and they all seem to have the 511's so will try one of the fixes. See https://forum.arduino.cc/index.php?t...687#msg2659687 for more details.

    Cheers
    Al

    Leave a comment:


  • petez69
    replied
    aPluck

    You mentioned you've been testing on UNOs. Grab a Mega and try same, I've found the megas to play a little nicer.

    Pete

    Leave a comment:


  • apluck
    replied
    To add another datapoint.

    My HS3 is a Windows 10 KVM guest VM running under unRaid. HS3 is reasonably busy with 500 devices.

    To eliminate the Network, unRaid, Server, and my HS3 install as problem sources, I did a clean install of Win10 on a separate physical PC attached to a separate network switch, with the only other network connection being an Arduino with the LCD attached. I forced the PC connection to downgrade to 100Mb. I did a clean install of HS3, then installed the plugin as a trial.

    The LCD had the same behaviour as on my production install. It still only updated once on powerup, then the connection failed.

    Leave a comment:


  • petez69
    replied
    aPluck

    Thanks for sharing, sadly a few of us are taking heart that its "not just me" that are experiencing issues.

    My worst experience came with a "Freetronics Etherten", it kept dropping off and it just didn't make sense yet it cost a lot of money as its considered a reputable product.

    I've currently got 4 Megas with clone ethernet boards and they seem to be rock solid and as a result I've got a pile of original and clone boards that I need to throw in the bin as they just do weird things.

    I've got a Nano with a tiny W5100 board in API mode and that seems to be solid, still testing.

    The arduino environment does need testing and tweaking to get good combinations..

    Pete

    Leave a comment:


  • apluck
    replied
    I am using v101.

    Board 1 is a genuine Uno with a genuine ethernet shield. This drops connection every couple of days but instantly reconnects. It has done this since I installed it 2 years ago.

    Board 2 is a genuine ArduinoBoardEthernet with POE. This hard crashes every few days and the board needs to be power cycled to reset it. Last week I replaced this board with a new Genuino Uno with genuine ethernet shield which so far has worked fine.

    Board 3 is a genuine ArduinoBoardEthernet with POE, bought at the same time as board 2 in May 2015. It has worked perfectly and not dropped connection once.

    Board 4 is a genuine ArduinoBoardEthernet with POE, bought at the same time as board 2 in May 2015. It drops connection every couple of days but instantly reconnects.

    Board 5 is a genuine Uno bought at the same time as board 1 with a genuine ethernet shield. It has a LCD connected to it, which updates once at powerup, and then disconnects from the plugin and doesn't update again. I tried replacing the Uno with a new Genuino Uno using the same ethernet shield and the LCD works fine.


    In summary, my 2 genuine arduinos from May 2014 don't work very well. 1 of my 3 ArduinoBoardEthernets from May 2015 works perfectly, and the other 2 don't. The new Genuino bought last week is so far working ok.

    I'm not able to trust the Arduinos, and have had to go back to my Netiom xAP boards for the more important I/O. The Netioms have been rock solid since 2007.

    Leave a comment:

Working...
X