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
-
💬 MyGateway
OpenHardware.io • 18 Aug 2020, 03:59 • openhardware.io 31 Mar 2021, 22:08 -
Ethernet gateway troubleshooting advice
Troubleshooting • 7 Oct 2014, 17:00 • jkbrowne 10 Mar 2016, 16:32 -
💬 MqGateway
OpenHardware.io • 16 Mar 2021, 20:15 • openhardware.io 31 Aug 2022, 20:18 -
💬 MDMSGate
OpenHardware.io • 10 Jul 2016, 19:42 • openhardware.io 2 Jul 2019, 06:44 -
Will serial gateway work with 3.3 V Arduino Pro Mini?
Troubleshooting • 21 May 2021, 08:16 • Thomas433 27 Jul 2021, 18:33 -
Wiring Help
Troubleshooting • 12 Mar 2015, 00:27 • Chaotic 13 Mar 2015, 23:03 -
Data collection
My Project • 22 Sept 2014, 00:36 • pvoj 22 Sept 2014, 01:52