- Tue Feb 16, 2016 12:06 pm
#41229
Yeah I do.
I've explained a little back where I pulled some info from, I've adapted a few projects (spi, stacks, udp tcp routing, dhcp, dns) that other people have done with the ENC and integrated it all into the ESP.
I'm not using the Arduino platform, so its all in straight up C. I've also got the MQTT and HTTPD projects working through the ENC as well.
One quite big advantage that this has over some other ENC stacks, is that it can send multiple packets and serve massive webpages through the httpd project structure. I've essentially just mimicked the SDK functionality, so replaced the espconn_sent() functions (etc) to redirect the packet to the ENC, and I take care of the flags above that.
There are some bugs at the moment, but I'll get to those in due time.
Attached is a connection diagram someone wanted previously.
EDIT: Note that these ENC28J60 boards have built in pullups on the CS lines -and they differ for different manufacturers. For this board shown here, its a 10k onboard pullup, and on the ESP there's a 10k pulldown for GPIO15 needed for pulling that line low on startup. I needed to drop the ESP pulldown to 1k (stronger) for this reason.
You do not have the required permissions to view the files attached to this post.