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 Ethernet Gateway RPi form-factor (W5100 module)
OpenHardware.io • 3 Mar 2016, 08:13 • openhardware.io 3 Mar 2016, 08:13 -
Boards manager package does not install Sensebender gateway
Troubleshooting • 8 Aug 2017, 20:52 • billgoolsby 8 Aug 2017, 20:52 -
ESP8266 Gateway
Troubleshooting • 12 Jun 2020, 11:32 • sash.sc 12 Jun 2020, 12:50 -
Building a gateway with two transport layers
Hardware • 15 Aug 2021, 10:31 • Giovanni Chiva 15 Aug 2021, 18:02 -
Newbie question about Sending sensor data with an nRF52832 module to my sensors
Hardware • 12 Apr 2020, 04:55 • tBS 26 Apr 2020, 15:57 -
Handling NACKs in the gateway
Development • 5 Feb 2020, 21:54 • 4994james 14 Feb 2020, 19:31 -
Problem with ethernet gateway
Troubleshooting • 21 Dec 2014, 21:19 • oded00 6 Feb 2020, 16:04 -
Parallel Gateways
General Discussion • 29 May 2020, 11:12 • jocke4u 29 May 2020, 12:35