In continuing to pursue ethernet communication with the arduino, I purchased an ENC28J60. My initial plan was to use this small board as a replacement for the Arduino Ethernet Shield for when working with the Arduino Nano. However, not only has this been the most difficult board to integrate with, it also did not seem to work with the Nano.
The first issue was finding the correct pin-out. All over the internet there are various answers to the question. The pinout that worked out for me was the following.
The best source of drive information as found at: https://jeelabs.org/pub/docs/ethercard/
Even from that website, my pinout deviated in that I had to use the 5V instead of the 3.3V, and my CS was on D10 instead of D8. In using the example sketches provided on the website above, I ran the "backSoon" example. Successful execution using DHCP should yield a serial output similar to this.
Navigating a web browser to that IP should yield a custom message. I modified the original that came with the script to make it more obvious.
No comments:
Post a Comment