I had everything set up and it was working! And then like 5 minutes later, it just stopped.
The actual chip on the ethernet shield was very warm.... I was using my laptop to power the Arduino uno with the shield. I don't understand why that would burn up the shield, but is it possible that I did?
Okay so let me explain what I was doing. All I had wired up to it was some relays connected to the digital pins.
Really I was just testing things out. First, I ran the simple WebServer example code to make sure I was connected. This example code used Arduino Uno with the Ethernet Shield as a server to host a simple website.
I then modified that sample code to make a more complicated website that had buttons that could turn on and off relays that were connected to the digital pins.
So the only wiring up I had, was the usb cord powering the Arduino, the Ethernet cord connected between my laptop and the Ethernet Shield for communication, and some relays connected to the digital pins.
I did get it to work for a little while. But when I tried to make more improvements to the website and upload the code, it wouldn't connect. I tried to go back and reupload the old code, but it still wouldn't connect.
After struggle for a few hours to figure out what went wrong, I decided that it might have just overheated the electronics in the shield. Like I said the chip was pretty warm. I'm kind of surprised that it would burn up that easily, but I can't figure out what else it would be, and I'm honestly at the point of giving up on it.
I'm thinking about moving to a raspberry pi instead. It might be better for hosting websites, but raspberry pis are so just freaking expensive....
I was wondering if there was a way that I could confirm that I overheated and ruined the electronics before I put this project to rest and move on.
RPi's use 3.3V logic so use level converters connecting any modules which use 5V logic
if you are looking for low cost modules with Ethernet onboard look at the ESP32 based WS32-ETH01 or the ESP32-EVB development board
Chips get warm / hot to a varying degree. What is normal or not is in the datasheet, but in general if you touch it with your fingertip without getting a burn, chances are it's within the working temperature. Then there's IC's that need a heatsink to stay cool, but that's out of scope here.
Oh my goodness, I got it to work. THANK YOU SO MUCH!!! It was a problem unrelated to the hardware. I've been using ChatGPT extensively, and it kept saying that there may have been thermal damage in the shield. Thanks for confirming that that wasn't the case!!!!
Yes sorry. I don't totally understand what I did wrong (that's why I didn't say anything), but I think it was something wrong with my IP addresses.
I have windows. I was in Control Panel -> Network and Internet -> Network Connections.
I then right-clicked on the ethernet adapter that was connected to my Arduino, then went to Properties -> Internet Protocol Version 4 (TCP/IPv4) - > properties.
I chose 'Use the following IP address'.
This is where I was manually inputting the IP address and subnet mask. This would put the Arduino and computer on the same local network. (I was connecting the Arduino and computer directly with no router).
For some odd reason, without me knowing, my computer would erase those IP addresses that I put in when hit 'OK' and clicked out.
I tried going to 'Advanced TCP/IP Settings' and inputted the address there instead, and that seem to do the trick. I don't know why. I don't really know computers that well.
Again I didn't know any of this when I posted my original question. I thought that the actual physical shield might be bad. From what you said, I was able to rule that out as a possibility, and started looking elsewhere for the cause of the problem. And to the best of my understanding, it was the IP address that was the problem.