ENC28J60 and EtherCard
-
Hallo. I would like to use EtherCard lib with ENC28J60: is it possible? The only example I see on Build section is created by using UIPEthernet lib. Is there any code example to create a gateway with EtherCard library? Is anyone using ENC28J60 based gateway together with EtherCard?
I some haveing some problem with UIPEthernet since I receive ETH:FAIL and I cannot ping my gateway. The ENC28J60 module is working because if I compile an example with EtherCard I can ping it; similarly, I've created a web server and it's working.
-
As I recall the ENC28J60 is haveing the IP protocol on memory of the Arduino, most likely you will run out of memory and getting weirds errors/reboots
When using the Ethercard/W5100 shield, this one have the IP protocol embedded and then there is room for Mysensors code adn other stuff in the memory
-
Finally I've solved. I'm still using UIPEthernet sincee my problem was the use of DHT library (last rev) with UIPEhernet lib.
I was having a restart of teh ETH port each time I was reading Temp/hum. I've changed into SimpleDHT lib and now it's working fine. I'm using a mix of W5100 and ENC28J60.
Suggested Topics
-
MySensors gateway running as a service
Development • 9 Sept 2022, 19:54 • OldSurferDude 9 Sept 2022, 23:28 -
Gateway to support dual radio
General Discussion • 22 Mar 2021, 23:37 • Westie 30 Mar 2021, 17:21 -
Is there a Gateway connection timeout?
General Discussion • 6 Feb 2022, 11:55 • A3V 6 Feb 2022, 18:48 -
Forum Banner on Screen
General Discussion • 30 Sept 2015, 23:16 • 5546dug 17 Feb 2017, 22:55 -
💬 RS485 Ethernet Gateway
OpenHardware.io • 20 Dec 2018, 14:55 • openhardware.io 9 Oct 2019, 12:05 -
trouble in ENC28J60 GW
Troubleshooting • 21 Jul 2014, 08:00 • mitekg 22 Jul 2014, 17:46 -
ESP8266 Gateway
Troubleshooting • 12 Jun 2020, 11:32 • sash.sc 12 Jun 2020, 12:50