All Projects → jandrassy → EthernetENC

jandrassy / EthernetENC

Licence: other
Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to EthernetENC

Syslog
An Arduino library for logging to Syslog server in IETF format (RFC 5424) and BSD format (RFC 3164)
Stars: ✭ 105 (+81.03%)
Mutual labels:  arduino-library, arduino-ethernet
Grove LoRa 433MHz and 915MHz RF
No description or website provided.
Stars: ✭ 26 (-55.17%)
Mutual labels:  arduino-library
faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (-5.17%)
Mutual labels:  arduino-library
FirebaseJson
🗃 JSON parser and builder for ESP8266, ESP32, Teensy3.x and Teensy4.x, SAM, SAMD and STM32 (128 k flash or more)
Stars: ✭ 29 (-50%)
Mutual labels:  arduino-library
recon
The RECON project creates library for Nios II Microcontroller System and Tool chain. The library includes a collection of hardware configurations and Arduino-style software APIs.
Stars: ✭ 21 (-63.79%)
Mutual labels:  arduino-library
discord-arduino-bot
Easy to discord control your arduino with commands
Stars: ✭ 13 (-77.59%)
Mutual labels:  arduino-library
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (-51.72%)
Mutual labels:  arduino-library
Somfy Remote Lib
Emulate a Somfy remote using a 433.42 MHz transmitter.
Stars: ✭ 43 (-25.86%)
Mutual labels:  arduino-library
HCSR04
Arduino library for HC-SR04, HC-SRF05, DYP-ME007, BLJ-ME007Y, JSN-SR04T ultrasonic ranging sensor
Stars: ✭ 27 (-53.45%)
Mutual labels:  arduino-library
SparkFun MicroView Arduino Library
An Arduino library for the MicroView - a chip-sized Arduino with a built-in OLED, available from SparkFun Electronics
Stars: ✭ 20 (-65.52%)
Mutual labels:  arduino-library
TP Arduino DigitalRain Anim
A library that represents Digital Rain Animation on color displays that support TFT_eSPI
Stars: ✭ 80 (+37.93%)
Mutual labels:  arduino-library
AD9833-Library-Arduino
Library to control the AD9833 waveform generator
Stars: ✭ 88 (+51.72%)
Mutual labels:  arduino-library
BMP180 Breakout Arduino Library
Arduino libraries for the BMP180 pressure sensor breakout board
Stars: ✭ 30 (-48.28%)
Mutual labels:  arduino-library
KY-040-Encoder-Library---Arduino
Arduino library for the KY-040 Encoder
Stars: ✭ 37 (-36.21%)
Mutual labels:  arduino-library
SparkFun VL53L1X Arduino Library
A library for the laser based VL53L1X Time Of Flight distance sensor capable of detecting a target 4m away!
Stars: ✭ 57 (-1.72%)
Mutual labels:  arduino-library
TelnetStream
Arduino Stream implementation over Telnet for OTA logging and debugging
Stars: ✭ 101 (+74.14%)
Mutual labels:  arduino-library
NASSCOM-MHRD-IOT-Practical-Module 1-2
Arduino on TinkerCad
Stars: ✭ 26 (-55.17%)
Mutual labels:  arduino-library
Arduino-BLE-MIDI
MIDI over Bluetooth Low Energy (BLE-MIDI) 1.0 for Arduino
Stars: ✭ 133 (+129.31%)
Mutual labels:  arduino-library
Adafruit TSL2591 Library
This is an Arduino library for the TSL2591 digital luminosity (light) sensors.
Stars: ✭ 46 (-20.69%)
Mutual labels:  arduino-library
ArduinoSpritzCipher
Spritz encryption system portable C library, CSPRNG, cryptographic hash and MAC functions, symmetric-key data encryption, and general-purpose functions. It's also an Arduino library.
Stars: ✭ 67 (+15.52%)
Mutual labels:  arduino-library

Buy Me A Coffee

EthernetENC is the Ethernet library for ENC28J60. It is a modern version of the UIPEthernet library.

The modernization includes:

  • Ethernet 2.0.0 Arduino library functions
  • compatible include file names EthernetClient.h, EthernetServer.h and EthernetUdp.h
  • support of many Arduino architectures by using the SPI library
  • SPI transactions to share the SPI bus with devices with different communication settings
  • SPI communication at 20 MHz if the MCU supports it, else on the maximum supported by the MCU
  • client.flush() to send the packet immediately
  • calls yield() in blocking functions
  • has UDP backlog to receive more than one message at time
  • Arduino 1.5 library format built with dot_a_linkage option for optimal build result
Notes for ESP (click to expand)
  • For esp8266 Arduino there is a much better option for enc28j60 than using this library. Use the lwIP_enc28j60 library bundled with esp8266 Arduino boards support package 3. (There is also a lwIP_w5500 and lwIP_w5100 library.)
  • For ESP32 it is better than using a MAC layer module like the enc28j60 to use a PHY layer LAN module like LAN8720 supported by the ESP32 MAC peripheral and the Arduino boards support package.

The documentation of Arduino Ethernet library applies for classes and functions descriptions.

Limitations:

  • UDP.beginMulticast is not supported, because the uIP stack doesn't support multicast
  • UDP broadcasts receiving is turned off on ENC to lower the processing load on the library

This library doesn't have examples, because examples of the Arduino Ethernet library apply. You can find them in the Arduino IDE Examples menu Ethernet section. Only change #include <Ethernet.h> to #include <EthernetENC.h>. Some examples require a little change.

This library is based on the Norbert Truchsess's arduino-uip original source code repository and uses experience from the development of the multi-architecture support by Cassy. Applicable fixes and enhancements from development of EthernetENC were transfered to Cassy's UIPEthernet.

You can find more information in project's Wiki.

Original notes by Norbert Truchsess

UIPEthernet is written as a wrapper around the mature uIP Stack by Adam Dunkels, which provides the low-level implementation for all supported protocols. To overcome the memory-constrains (a 'regular' uIP-application does all processing in RAM) the ENC28J60 internal memory is used for all stream buffers (in and out). Only 400-600 Bytes of Arduinos RAM are used (depending on the number of concurrently open connections). As of Flash-memory a ATmega368-based Arduino is the minimum requirenment.

uIP was written by Adam Dunkels of the Networked Embedded Systems group at the Swedish Institute of Computer Science.

This library was inspired by the SerialIP implementation by Adam Nielsen [email protected], actually I took this code as a starting point, but in the latest versions there are very few lines left.

Licenses

UIPEthernet.h
UIPEthernet.cpp
UIPServer.h
UIPServer.cpp
UIPClient.h
UIPClient.cpp
UIPUdp.h
UIPUdp.cpp
utility/mempool.h
utility/mempool.cpp

Copyright (c) 2013 Norbert Truchsess <[email protected]>
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

--------------

utility/enc28j60.h

Author        : Pascal Stang (c)2005
Modified by Norbert Truchsess
Copyright: GPL V2

--------------

utility/Enc28J60Network.h
utility/Enc28J60Network.cpp

Copyright (c) 2013 Norbert Truchsess <[email protected]>
All rights reserved.

inspired and based on enc28j60.c file from the AVRlib library by Pascal Stang.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

--------------

utility/uip.c
utility/uip_arp.h
utility/uip_arp.c
utility/uip_arch.h
utility/uip.h
utility/uipopt.h

Copyright (c) 2001-2003, Adam Dunkels <[email protected]>, <[email protected]>.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3. Neither the name of the Institute nor the names of its contributors
   may be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

--------------

Dhcp.h
Dhcp.cpp

DHCP Library v0.3 - April 25, 2009
Author: Jordan Terrell - blog.jordanterrell.com
- as included in Arduinos stock Ethernet-library, no special licence mentioned here

--------------

Dns.h
Dns.cpp

(c) Copyright 2009-2010 MCQN Ltd.
Released under Apache License, version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].