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
-
completely remove MySensors integration for HA and start over
Home Assistant • 5 Dec 2022, 22:28 • OldSurferDude 6 Dec 2022, 22:27 -
MySensors GW on rpi3
Troubleshooting • 28 Sept 2022, 11:24 • Kurtsejr 30 Sept 2022, 18:07 -
💬 USB RF Gateway
OpenHardware.io • 6 Sept 2019, 11:44 • openhardware.io 6 Feb 2020, 11:36 -
ESP8266 Gateway
Troubleshooting • 12 Jun 2020, 11:32 • sash.sc 12 Jun 2020, 12:50 -
MySensors gateway running as a service
Development • 9 Sept 2022, 19:54 • OldSurferDude 9 Sept 2022, 23:28 -
Gateway USB and Gateway Ethernet
General Discussion • 23 Aug 2020, 07:36 • Daniel RUIZ9 15 Nov 2020, 20:11 -
Network Gateway with Sensors/Actuators
My Project • 20 Jan 2015, 14:31 • lunarok 20 Jan 2015, 14:31 -
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39