Facing difficulties connecting an ENC28J60 Ethernet shield to an Arduino Nano ESp32
I'm facing difficulties connecting an ENC28J60 Ethernet shield to an Arduino Nano ESp32. I've mounted the Arduino Nano on top of the Ethernet shield.
I'm using the EthernetENC library, I've tried using both CS port 5 and 10 for SPI communication, but the shield is not being detected.
tested using
if (Ethernet.hardwareStatus() == EthernetNoHardware) {}
Double-checked wiring connections.
Verified SPI pins and CS ports.
Tried alternative CS ports (5 and 10).
Checked for conflicts with mounted Arduino Nano.
Additional Notes:
The shield is powered using the 3.3V from Arduino Nano. And the Ethernet indicator lights are active.
Am I missing something?
![attachment 0](https://cdn.answeroverflow.com/1258415057239281768/file0.jpg)
Solution:Jump to solution
Here are a few additional things to try:
- Verify the ENC28J60 chip's pins are correctly soldered to the shield.
- Ensure the SPI pins (MOSI, MISO, SCK, and CS) are correctly connected to the Arduino Nano.
- Try using a different SPI library, like the UIPEthernet library....
3 Replies
If I remember correctly the shield should be powered by 5v not 3.3v but it shouldn't be a problem
maybe this could help you : https://forum.arduino.cc/t/trouble-connecting-enc28j60-ethernet-shield-to-arduino-nano-esp32/1249029/9
Arduino Forum
Trouble Connecting ENC28J60 Ethernet Shield to Arduino Nano ESP32
Oh, sorry, I meant after the timeout, nothing else gets executed.
Solution
Here are a few additional things to try:
- Verify the ENC28J60 chip's pins are correctly soldered to the shield.
- Ensure the SPI pins (MOSI, MISO, SCK, and CS) are correctly connected to the Arduino Nano.
- Try using a different SPI library, like the UIPEthernet library.
- Check if the Arduino Nano's SPI pins are conflicting with other peripherals.
- Attempt to use a different CS pin or try using a software-based SPI (Bit-banging).
Try these and confirm