trouble in ENC28J60 GW



  • HI! I have a trouble in ENC28J60 GW work!
    Everything is connected (I'm try to migrate from serial GW to Eth, because of instable work after Vera restart)

    SO.. After first start I try to request the Eth GW via browser and in serial monitor on PC a get:
    "
    0;0;4;11;Arduino startup complete.
    GET / HTTP/1.1
    Host: 192.168.1.13:5003
    xf-2.19
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    X-ClickOnceSupport: ( .NET CLR 3.5.30729; .NET4.0E)
    Connection: keep-alive
    1;255;0;18;1.3b3 (67f4ca1)

    ", only ONCE, and only after restart!

    After that I can't receive any msg-s from gateway, besides if run any sensor code (4 relay + 2 dimmers) in serial monitor on PC
    I can see:
    "
    1;255;4;7;0
    1;255;4;14;WatterNode
    1;255;4;15;1.0
    1;3;0;3;1.3b3 (67f4ca1)
    1;4;0;3;1.3b3 (67f4ca1)
    1;5;0;3;1.3b3 (67f4ca1)
    1;6;0;3;1.3b3 (67f4ca1)
    1;3;2;2;
    1;3;2;2;
    1;3;2;2;
    1;3;2;2;
    1;3;2;2;
    1;3;2;2;

    "
    So,
    1. ENC28J60 -works
    2. NRF24 - works
    BUT…

    Help plz! I can't understand


  • Hardware Contributor

    When the sensor with relays starts it will request its previous state from controller. (1;3;2;2;)
    You have to respond with 1;3;1;2;0; or 1;3;1;2;1; for each of the realys.



  • the question was: how to solve the problem with eth gw..
    Eth GW is NOT work!



  • Hi, i need a consult
    whats the best and stable solution wiznet or enc?
    enc is not work for me (

    Thanks


  • Mod

    @mitekg said:

    whats the best and stable solution wiznet or enc?

    Wiznet chip is more powerful than Enc and therefore requires less CPU & RAM on Arduino.
    You could try a WizNet5100 ethernet shield.



  • @Yveaux thx!


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts