I am trying to send a web request using a W5100 Shield and a Nano board, but I haven’t been able to get the Ethernet to connect to the network.
I have five unopened boards of each. After trying for a long time without success, I tested with new boards in case there was a hardware defect, but the result did not change. There is no issue with the jumper cables either. The connections are as follows:
It does not properly connect to the network, and I get outputs such as 0.0.0.0 or 255.255.255.0. I also tried connecting directly via ICSP SPI pins, but the issue was not resolved.
A small note:
The following LEDs are lit on the W5100 Shield: PWR, LINK, 100M, FULLD, COLL, L
Hey @xfpd, thanks for pointing that out. I just checked the WebClient example, and I noticed it calls Ethernet.begin(mac) without a fixed IP in some cases, relying on DHCP. I wonder if forcing a static IP in the original post might be causing the 0.0.0.0 issue, maybe trying DHCP first could help narrow it down.
I would start with a library example and "jenga" my way to the answer. I've tried to understand the layers of protocol, but can only repeat them, not understand them, probably out of lack-of-use.