Arduino Library – Ethercard
ETHERCARD
Driver voor ENC28J60
Installatie van Arduino IDE libraries: Arduino info
Informatie (ENG):
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
Requirements
- Hardware: This library only supports the ENC28J60 chip.
- Hardware: Only AVR-based microcontrollers are supported, such as:
- Arduino Uno
- Arduino Mega
- Arduino Leonardo
- Arduino Nano/Pro/Fio/Pro-mini/LiliPad/Duemilanove
- Any other Arduino clone using an AVR microcontroller should work
- Hardware: Non-AVR boards are NOT currently supported (101/Zero/Due) #211
- Hardware: Depending on the size of the buffer for packets, this library uses about 1k of Arduino RAM. Large strings and other global variables can easily push the limits of smaller microcontrollers.
- Hardware: This library uses the SPI interface of the microcontroller, and will require at least one dedicated pin for CS, plus the SO, SI, and SCK pins of the SPI interface.
- Software: Any Arduino IDE >= 1.0.0 should be fine
Library Installation
- Download the ZIP file from https://github.com/jcw/ethercard/archive/master.zip
- Rename the downloaded file to
ethercard.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.
Physical Installation
PIN Connections (Using Arduino UNO):
1 2 3 4 5 6 7 |
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
1 2 3 4 5 6 |
VCC - 3.3V GND - GND SCK - Pin 52 SO - Pin 50 SI - Pin 51 CS - Pin 53 # Selectable with the ether.begin() function |
Download ethercard @ github * jcw
[#/arduino/libraries/ethercard” ]