NodeMCU and ENC28J60 Ethernet
Posted: Wed Nov 15, 2017 10:09 am
Hi everyone,
I'm trying to add an Ethernet connection to my NodeMCU, because where I use it not always have WiFi signal.
I'm using a Lolin v1.0 with an MNI ENC28J60. I´m programming with the Arduino IDE and using the UIPEthernet library (I don't know if it's the best, but I read that it works). The wiring that i´m using is the described in the library (Hardware folder, NodeMCU).
The problem is that I can´t make it connect to the network. It doesn´t connect by DHCP or fixed IP Address. I try connecting to a Router (DHCP) and connected to my notebook asigning a fixed IP Address. In both cases the connection fail. The code that i´m using is the TcpClient example included in the library.
For a moment I thought that the ethernet module could be broken, so I connected it to an arduino, but it worked.
What can I be doing wrong? Any suggestions?
PD: Sorry by my bad english, use google translate
I'm trying to add an Ethernet connection to my NodeMCU, because where I use it not always have WiFi signal.
I'm using a Lolin v1.0 with an MNI ENC28J60. I´m programming with the Arduino IDE and using the UIPEthernet library (I don't know if it's the best, but I read that it works). The wiring that i´m using is the described in the library (Hardware folder, NodeMCU).
The problem is that I can´t make it connect to the network. It doesn´t connect by DHCP or fixed IP Address. I try connecting to a Router (DHCP) and connected to my notebook asigning a fixed IP Address. In both cases the connection fail. The code that i´m using is the TcpClient example included in the library.
For a moment I thought that the ethernet module could be broken, so I connected it to an arduino, but it worked.
What can I be doing wrong? Any suggestions?
PD: Sorry by my bad english, use google translate