<div dir="auto">I am also using the ENC28J60 for my compass. And indeed, the Arduino has to do all of the work to implement the TCP/IP stack as there are no smarts in the chip. Thus there is not much room left over for your program.<div dir="auto"><br></div><div dir="auto">The official Arduino Ethernet shield does not use the ENC28J60. It uses the Wiznet W5100, which is basically "TCP/IP on a chip", so the Arduino doesn't have to do so much work and you get to use most of the Arduino's memory for your own stuff. <br><div dir="auto"><br></div><div dir="auto">There are two popular libraries for the ENC28J60: UIPEthernet and Ethercard. The first one is a drop-in library compatible with the original Arduino Ethernet library which implements the same functions but drives the ENC28J60 chip.  The second one has its own set of function calls that are different to the original Arduino library.</div><div dir="auto"><br></div><div dir="auto">Neither of these libraries are compatible with the original Arduino Wiznet shield (because the hardware is different).</div><div dir="auto"><br></div><div dir="auto">There is also a Wiznet W5500 which is moar better for various reasons.</div><div dir="auto"><br></div><div dir="auto">I haven't decided what to do yet. I am steering towards the ENC28J60 (because it's cheap!) and Ethercard (because I think it supports UDP multicast, which I think I'm going to need). I currently have some code that uses UIPEthernet and mostly works, so there's that.</div><div dir="auto"><br></div><div dir="auto">Andrew</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 17, 2019, 12:33 andrew dean <<a href="mailto:nzandydean@gmail.com">nzandydean@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I missed the meeting, so i’m not sure what the presented use for the nano/ethernet was, but I use and have a lot of nanos with enc28j60.  They do not include a tcp/ip stack so they take a lot more work from the microcontroller.  I’ve only been using them as simple http servers to tell a computer when props were finished and to tell the prop to reset, but when I recently tried to migrate over to mqtt, the nano+enc28j60 combination seems to be too much to ask.<br>
<br>
-a<br>
_______________________________________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank" rel="noreferrer">Chchrobotics@lists.ourshack.com</a><br>
<a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.</blockquote></div>