andresarmento / modbus-arduino

A library that allows your Arduino to communicate via Modbus protocol, acting as a slave (master in development). Supports serial (RS-232, RS-485) and IP via Ethernet (Modbus IP).
BSD 3-Clause "New" or "Revised" License
453 stars 267 forks source link

ENC28J60 not getting a connection #25

Closed blddk closed 7 years ago

blddk commented 7 years ago

I got a genuine Arduino Ethernet, where I can use the ModbusIP examples just fine, but then I also got this board http://www.ebay.co.uk/itm/192120690138 which got an ENC28J60 ethernet chip on it, but I cant get any of the examples to work with it.

The EtherCard library examples work as expected.

When using the Modbus ENC28J60 version I don't even see the ip on the network.

blddk commented 7 years ago

Found the problem, a pin I was using on my Arduino Ethernet was tied to a pin used by the ENC28J60 chip, so it made it lose connection on startup.