3
0
Fork 0
xnode/lib-ext/ethercard.git
2022-11-13 01:46:38 +01:00
..
examples Added project 2022-11-13 01:46:38 +01:00
.gitignore Added project 2022-11-13 01:46:38 +01:00
CONTRIBUTING.md Added project 2022-11-13 01:46:38 +01:00
dhcp.cpp Added project 2022-11-13 01:46:38 +01:00
dns.cpp Added project 2022-11-13 01:46:38 +01:00
docu.dox Added project 2022-11-13 01:46:38 +01:00
Doxyfile Added project 2022-11-13 01:46:38 +01:00
Doxylogo.png Added project 2022-11-13 01:46:38 +01:00
Doxymods.css Added project 2022-11-13 01:46:38 +01:00
enc28j60.cpp Added project 2022-11-13 01:46:38 +01:00
enc28j60.h Added project 2022-11-13 01:46:38 +01:00
EtherCard.cpp Added project 2022-11-13 01:46:38 +01:00
EtherCard.h Added project 2022-11-13 01:46:38 +01:00
net.h Added project 2022-11-13 01:46:38 +01:00
README.md Added project 2022-11-13 01:46:38 +01:00
tcpip.cpp Added project 2022-11-13 01:46:38 +01:00
udpserver.cpp Added project 2022-11-13 01:46:38 +01:00
webutil.cpp Added project 2022-11-13 01:46:38 +01:00

EtherCard

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/.

Library Installation

  1. Download the ZIP file from https://github.com/jcw/ethercard/archive/master.zip
  2. From the Arduino IDE: Sketch -> Import Library... -> Add Library...
  3. 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.

Physical Installation

PIN Connections (Using Arduino UNO):

VCC -   3.3V
GND -    GND
SCK - Pin 13
SO  - Pin 12
SI  - Pin 11
CS  - Pin  8 # 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
# The default CS pin defaults to 8, so you have to set it on a mega:
ether.begin(sizeof Ethernet::buffer, mymac, 53)

Support

For questions and help, see the forums (at JeeLabs.net).
The issue tracker has been moved back to Github again.