derez Expert Licensed User Longtime User May 20, 2016 #1 Got my W5100 from Aliexpress, mounted it on Arduino UNO. Coming to this part of the example: Code: If eth.InitializeDHCP(MacAddress) = False Then Log("Error connecting to network.") Return Else Log("Connected to network. My ip address: ", eth.LocalIp) End If the logging stops, no errors, nothing is printed. Changed to this init: Code: eth.Initialize(MacAddress,Array As Byte(192, 168, 0, 116)) Log("IP= " ,eth.LocalIp) This doesn't stop but I get IP= 0.0.0.0 and no connection later on. Checked my router -it does not appear there. Checked another router - the same. changed mac addresses (invented) - nothing. Checked with an Arduino example (DHCPAddressPrint) - nothing. Also - leds on the connector do not light or flash. Comclusion - the board is faulty. Any possible thing that can be done and I may have overlooked ? Last edited: May 20, 2016
Got my W5100 from Aliexpress, mounted it on Arduino UNO. Coming to this part of the example: Code: If eth.InitializeDHCP(MacAddress) = False Then Log("Error connecting to network.") Return Else Log("Connected to network. My ip address: ", eth.LocalIp) End If the logging stops, no errors, nothing is printed. Changed to this init: Code: eth.Initialize(MacAddress,Array As Byte(192, 168, 0, 116)) Log("IP= " ,eth.LocalIp) This doesn't stop but I get IP= 0.0.0.0 and no connection later on. Checked my router -it does not appear there. Checked another router - the same. changed mac addresses (invented) - nothing. Checked with an Arduino example (DHCPAddressPrint) - nothing. Also - leds on the connector do not light or flash. Comclusion - the board is faulty. Any possible thing that can be done and I may have overlooked ?
Cableguy Expert Licensed User Longtime User May 20, 2016 #2 Have you also changed your ethernet câble? Upvote 0
derez Expert Licensed User Longtime User May 20, 2016 #3 Yes tried with two and other devices work fine with this cable. Upvote 0
rwblinn Well-Known Member Licensed User Longtime User May 20, 2016 #4 May this discussion is of any help? Upvote 0
derez Expert Licensed User Longtime User May 20, 2016 #5 rwblinn said: May this discussion is of any help? Click to expand... Thanks. After the long discussion there the result is a HW problem in a board. Upvote 0
rwblinn said: May this discussion is of any help? Click to expand... Thanks. After the long discussion there the result is a HW problem in a board.
C cloner7801 Active Member Licensed User Longtime User Aug 29, 2016 #6 derez said: Thanks. After the long discussion there the result is a HW problem in a board. Click to expand... Hi I have same problem How can you fix this problem? Upvote 0
derez said: Thanks. After the long discussion there the result is a HW problem in a board. Click to expand... Hi I have same problem How can you fix this problem?
derez Expert Licensed User Longtime User Aug 29, 2016 #7 The problem was the cable. The Ethernet shield is more sensitive then other devices, so check first with a good quality cable. Upvote 0
The problem was the cable. The Ethernet shield is more sensitive then other devices, so check first with a good quality cable.
C cloner7801 Active Member Licensed User Longtime User Aug 29, 2016 #8 derez said: The problem was the cable. The Ethernet shield is more sensitive then other devices, so check first with a good quality cable. Click to expand... I change my cable but it again say "Error connecting to network." Upvote 0
derez said: The problem was the cable. The Ethernet shield is more sensitive then other devices, so check first with a good quality cable. Click to expand... I change my cable but it again say "Error connecting to network."