Home

Awesome

EtherSia

A minimal IPv6 library for an Arduino with an ENC28J60, W5500 or W5100 Ethernet controller.

Features

Design Decisions

  1. Optimised for Arduino - not a general purpose library
  2. Should be easy to use - this is what Arduino is all about
  3. Should work within the constraints of an Uno - 32k ROM and 2k RAM
  4. Should follow the Style Guide and avoid using complex C features like Pointers and Callbacks
  5. Decouple the core from protocols where possible, to allow for program size optimisations
  6. Only use statically allocated memory to avoid leaks and keep memory usage down

Limitations

If you need a more fully functional IPv6 stack, then take a look at Contiki.

EtherSia is an IPv6 only library. If you are looking for an IPv4 library for ENC28J60, then take a look at EtherCard.

Compatibility

EtherSia should work on any Arduino board with ENC28J60, W5500 or W5100 based network interface. There are the results of boards I have tested with:

BoardClassTested?CS PinHardware MAC Address
Arduino Ethernet ShieldEtherSia_W5100Working10None
Arduino Ethernet Shield 2EtherSia_W5500Working10None
Nanode v5EtherSia_ENC28J60Working8UNI/O 11AA02E48
Nanode RF / ClassicEtherSia_ENC28J60-8MCP79411
Nano ShieldEtherSia_ENC28J60Working10None
Velleman KA04/VMA04EtherSia_ENC28J60-10None
Ciseco Ethernet Shield K016EtherSia_ENC28J60-10None
Snootlab Gate 0.5EtherSia_ENC28J60-10None
Testing on LinuxEtherSia_LinuxSocketWorking--

License: 3-clause BSD license