EtherCard is a driver for the ENC28J60 chip, compatible with Arduino IDE.
Adapted and extended from code written by Guido Socher and Pascal Stang.
License: GPL2
The documentation for this library is at http://jeelabs.net/pub/docs/ethercard/.
-
Download the ZIP file from https://github.com/Snootlab/ethercard/archive/master.zip
-
From the Arduino IDE: Sketch -> Include Library... -> Add .ZIP Library...
-
Restart the Arduino IDE to see the new "EtherCard" library with examples
See the comments in the example sketches for details about how to try them out.
### PIN Connections (Using Arduino UNO):
VCC - 3.3V
GND - GND
SCK - Pin 13
SO - Pin 12
SI - Pin 11
CS - Pin 10 # Selectable with the ether.begin() function
### PIN Connections using an Arduino Mega
VCC - 3.3V
GND - GND
SCK - Pin 52
SO - Pin 50
SI - Pin 51
CS - Pin 53 # Selectable with the ether.begin() function
ether.begin(sizeof Ethernet::buffer, mymac, 53)
For questions and help, see the forums (at JeeLabs.net).
The issue tracker has been moved back to Github again.