I am trying to create a small controller board based on the Atmega328p, which will control some relay's. I need this board to have Ethernet connectivity, so i can control the relay's through the network. I have began creating a schematic for a PCB with a voltage regulator circuit, an Atmega328p IC, the relays and associated components etc, and now i need to add the Ethernet connectivity bit. I have looked at the schematic for the Arduino Ethernet shield, (Which i thought was based on a Wiznet chip?), however i have got nowhere staring at this, unfortunately.
What i would like some help on is what Ethernet "chip" to use, and how to connect this to the Atmega328p main IC on the board. Requirements are that ideally the Ethernet chip would be through-hole, not SMD, as this will save a bit of bother assembling the PCB, but SMB is fine if it's the only option. Also i need it to work with the standard Arduino Ethernet library, or at least have its own well documented library or whatever so i can use it properly, as i have practically no experience in Ethernet with microcontrollers.
As an example, this Instructable uses a ENC28J60, which seems to be a through-hole Ethernet controller, however i do not know how the Arduino code would work for this, if the standard library supports this, etc...
See the attached schematic in case it is any help. Feel free to point out any errors in the schematic in case i have not spotted them... (It is still a work in progress...)
Thanks
Version1.pdf (37.4 KB)