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
-
💬 MySRaspiGW - MySensors Raspberry Pi GPIO Gateway
OpenHardware.io • 17 Jun 2016, 08:02 • openhardware.io 11 Jul 2017, 21:11 -
Data collection
My Project • 22 Sept 2014, 00:36 • pvoj 22 Sept 2014, 01:52 -
Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)
Hardware • 22 Nov 2015, 20:40 • mfalkvidd 10 Oct 2017, 19:43 -
W5100 Ethernet Gateway in Release 2.5.0-1
Troubleshooting • 31 Jan 2020, 14:33 • chrkir 31 Jan 2020, 14:33 -
Raspberry Pi Zero WH as gateway?
Hardware • 18 Jan 2018, 18:22 • sentur 18 Jan 2018, 20:08 -
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
💬 HALO : ESP32 multi transport GW/Bridge for Mysensors
OpenHardware.io • 29 May 2017, 10:43 • openhardware.io 15 Dec 2019, 18:25 -
Anyone Using Rpi as MQTT gateway ?
Controllers • 11 Feb 2015, 15:05 • mainali 11 Feb 2015, 15:05