Hi. I am new to arduino and had decided to build a automated door lock using an ethernet shield. Initially everything worked perfectly, my ethernet shield was working and I could control an led using an app over the ethernet. However, when I made the connections for my door lock, which involves inputting a 12V-1A power supply to the door lock(I used a diode to protect my circuit), initially the shield worked but in a few seconds it lost internet connection and was giving 255.255.255.255 as an output to the command
Serial.println(Ethernet.localIP());
I had by mistake used the pin 10 as a general I/O pin to control my door lock. Also, I realized later that my circuit was faulty however I don't think that caused the problem since the arduino UNO is working properly.
So now my ethernet shield returns "Failed to configure Ethernet using DHCP" whenever I run the DhcpAddressPrinter example. The state of the LEDs are:
pwr-RED
LINK-Yellow
100M-Yellow
FULLD-yellow
Coll-none
The RX blinks whenever I upload a sketch. Also, my shield is not being listed on my routers DHCP client list which it was earlier.
My doubts are:
- Does using pin 10 as a general I/O destroy the shield permanently?
- If not, then what is the solution to this?