EthernetGateway - Radio init fail
-
-
I found it very unstable - sometime it connects and other times it gives radio fail.
When it does work after 5 mins if I telnet to port 5003 its no longer listening so have to restart the Uno.
Haven't found a fix yet :(
-
Nope - haven't tried that. Will give it a bash and let you know how it goes.
I'm trying this:
https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/GatewayENC28J60/GatewayENC28J60.inoWhat am I missing?
void setup() { } void loop() { } -
I did actually verify the ENC gatetaway a couple of weeks ago using the dev-branch. Never tried ping:ing it though. Not sure it support ICMP.
What happens if you just try connection to the port using telnet or nc?
Do you power it enough? Had to connect mine to the old lab power supply before it behaved.
-
+1 on the separate power for the radio... I had all kinds of radio failures until I powered it separate from the UNO+ENC shield. Once I did, zero failures ever on the radio.
also, I had a lot of trouble getting my Ethernet GW stabilized. it would run for maybe a day and then quit responding to pings or any network traffic. I found this thread -> (http://forum.mysensors.org/topic/536/problems-with-enc28j60-losing-connection-freezing-using-uipethernet-or-ethershield-read-this) and used the alternate implementation of UIPEthernet in it and my GW just crashed yesterday for the first time in two months! (although, I can crash it, at will, by telnetting into it and typing "junk".. so I don't do that :-) )
@hek - I didn't know there was a ENC specific GW branch. that's great! Is it stable enough to try? does it have the improvements in the thread above to the UIPEthernet library?
-
After trying all sorts of things for a few days I eventually gave up and got the nodemcu board. Connected to the radio board and its been rock stable for the past 12 hours.
Steve, I also had the same issue with it crashing when doing a manual telnet and typing junk in. Guess its not a good way to test. :)
I've never had much luck with the ENC28J60 board on other arduino projects. They just don't like me. I might retry again on a rainy day with the alternative uipethernet implementation and see how it goes but for now its ESP8266 for me.
-
My Uno with the enc28j60 shield is more stable, but still not THAT stable. Will go a week, sometimes two without crashing. Now it just locks up for no apparent reason. Haven't had a chance to troubleshoot it. interestingly, it always locks up now at a time when the 'receive' (green) LED is lit, so something about receiving a message over the radio is locking it up...
I tried using the wiznet shield, but so far I've gotten two bad ones (even the built-in Arduino samples don't work), so I don't put much stock in them any more.
I have been planning to swap out my enc28j60 shield for just the little detached module and see if that helps. Just amazes me as much as folks have banged on this stuff for all this time, that it's still unstable, but I guess each one is different, knock-offs, etc.