-->
Page 6 of 8

Re: Ethernet cable connection to ESP8266 w/ or w/o RJ45 jack

PostPosted: Mon Feb 08, 2016 7:30 pm
by BarryP
Howdy Cicero,
I was about to embark on converting some code i wrote a long time ago in Mikrobasic for the 18F97J60 family.
I'd love to shortcut the development for enc28j60 & try your code .

Regards
Barry

Re: Ethernet cable connection to ESP8266 w/ or w/o RJ45 jack

PostPosted: Sun Feb 14, 2016 6:11 am
by haimgbs
Cicero wrote:I am serving very simple webpages via Ethernet cable and an ENC28J60 connected to the ESP8266. (C development, not Arduino)

Currently working on integrating my ENC28J60 stack (because it needs its own) and Sprites httpd project html cgi functionality, so as to seamlessly serve the same webpages over hardwire connection as wifi, whatever you chose. At this point the integration is the hardest part as I'm trying to mimic the esp SDK in some aspects, but if I get it right it will be rather nice.


i would like to check if someone manages to connect ESP8266 with ENC28J60
can you share any code ?

Re: Ethernet cable connection to ESP8266 w/ or w/o RJ45 jack

PostPosted: Sun Feb 14, 2016 6:34 am
by haimgbs
Hello,
can you update me if you manage to add RJ45 connection directly to ESP8266 ?

i am highly interesting to add this capability

Haim
haim@brain-sense.co.il

Re: Ethernet cable connection to ESP8266 w/ or w/o RJ45 jack

PostPosted: Mon Feb 15, 2016 12:12 pm
by eriksl
If you want to connect an ENC28J60 to the ESP2866, you must:

- master the SPI interface of the ESP8266 (never tried, but should be doable)
- connect it
- either write your own IP implementation or somehow find out how to inject the raw ethernet frames into lwip, the ENC28J60 does not deliver IP, only raw ethernet

Oh, and you will need the pins of the secundary SPI interface exposed, so an ESP-01 won't suffice.

It can be done, but it's not for the light at heart.