So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Logrus
#86107
JurajA wrote:and do you have some server at IP address 192.168.0.1 port 5000?

try the WebClient example of the Ethernet library (comment out lines with compilation errors)

No, I don't have such a server, but my concern is in getting an address from DHCP server. I don't understand why NodeMCU does not get the address.

BTW, if I reset NodeMCU it gets the address and it works. :o What could cause such a behaviour?
User avatar
By JurajA
#86118
Logrus wrote:
JurajA wrote:BTW, if I reset NodeMCU it gets the address and it works. :o What could cause such a behaviour?


powering
User avatar
By Logrus
#86157
JurajA wrote:powering

Powering of what? NodeMCU or enc28j60? Right now NodeMCU is powered by my workstation's USB-port via USB-interface. enc28j60 is powered from 3v3 of NodeMCU.
User avatar
By JurajA
#86162
Logrus wrote:
JurajA wrote:powering

Powering of what? NodeMCU or enc28j60? Right now NodeMCU is powered by my workstation's USB-port via USB-interface. enc28j60 is powered from 3v3 of NodeMCU.


the NodeMcu 5 V to 3.3 V regulator then must feed both power hungry chips. if the enc28j60 module has a 5 V VCC, then use that