JZesp wrote:
Thanks for the feedback! The cap is easy between GND & 3V3. Power consumption of 800mA should be fine if I use a higher quality cable measurable with Ampere app on my Android. Using gpio15 for SS is simple enough until the resistor and the FETS came into play, not sure how to wire that up so I'll take a look at your updated wiring diagrams, thanks for doing that!!! I also bought another ENC28J60 looking different than the one I already have. Using SPI or I2C has been a bit of a nightmare with Arduino UNO & Nano, NodeMCU and D1 Mini. The only success I had was Arduino Nano with an ENC28J60 shield which was made to fit that Nano. That works pretty well with the original UIP library, haven't tried this library yet. Any other manual wiring for SPI/I2C has been terrible and unreliable, including proximity sensor NFC/RFID. Works once in 50 times and never again I see posts on the web that clock speed is a problem, but not sure.
All the best!
I uploaded wiring for nodemcu.
You can download from:https://github.com/UIPEthernet/UIPEthernet/blob/master/hardware/NodeMCU_enc28j60_wiring.PNG
Mini version of ENC28j60 have same pinout like big.
If You use my UIPEthernet actual version (https://github.com/UIPEthernet/UIPEther ... master.zip),
and compile TcpClient.ino from examples and upload to the ESP8266.
You can give program information on serial interface (9600baud):
If the ENC28j60 does't properly connected You give following:
Enc28J60Network::phyWrite ERROR:TIMEOUT !!!
ENC28J60::init INFO: Chip erevid=0 initialization completed.
UIPEthernetClass::tick() ERROR:EREVID=0 -> Not found ENC28j60 device !!! Function ended !!!
If the communication is good between MCU and ENc28j60,
You give this:
ENC28J60::init INFO: Chip erevid=6 initialization completed.
Best Regards