Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266-12E and Ethernet Shield #1528

Closed
folny opened this issue Jan 29, 2016 · 14 comments
Closed

ESP8266-12E and Ethernet Shield #1528

folny opened this issue Jan 29, 2016 · 14 comments

Comments

@folny
Copy link

folny commented Jan 29, 2016

Hi Friends

Someone has tried to use ESP and Ethernet Shield (W5100) together ? If so what you should do to make it work and what should be the involvement of pins thanks.

@pieman64
Copy link

@folny can't you tie the ESP to the Arduino without the Ethernet Shield?

@folny
Copy link
Author

folny commented Jan 29, 2016

I would like to use ESP and connecting via ethernet cable would that be ?. Have you tried it ?.

@asetyde
Copy link

asetyde commented Jan 29, 2016

It’s possible but i’ve no information about this

@folny
Copy link
Author

folny commented Jan 29, 2016

He writes about it in this post but I'm not sure what you should do to make it work.

#962

@asetyde
Copy link

asetyde commented Jan 29, 2016

Simple , connect all necessary pin , load ethernet library and use esp as cpu only ,but it's good use nodemcu with more pin .

@Links2004
Copy link
Collaborator

yes its possible:
https://github.com/esp8266/Arduino/tree/master/libraries/Ethernet
connect the W5100 to the SPI pins of the ESP.
if you have the uno compatible board of the W5100 use the SPI pins of the ISP header to connect.
the normal one are not routed.

@folny
Copy link
Author

folny commented Jan 29, 2016

Yes it works now the problem was the involvement of pins thanks for the advice.

@folny folny closed this as completed Jan 31, 2016
@burner-
Copy link

burner- commented Feb 1, 2016

I currently try draw nodemcu - arduino uno adapter. I mean adapter where is slot for nodemcu2 and it provide arduino uno layout for ethernet shield. But I dont know what are right pins? There is only info that use SPI pins but at nodemcu there is several SPI pins so what are right ones?

@dvjcodec
Copy link

@mkeyno
Copy link

mkeyno commented May 15, 2016

hi @folny , do you have any success to bin ESP and Ethernet?

@burner-
Copy link

burner- commented May 15, 2016

If someone manage to use that code, can he or she please post what pin out he use. I have hit head to wall with this but I must say that given links does not help. They give hint how to you may connect your esp but really there is still multiple ways and none of them seems to work. Also do I need pull up or down resistors?

@tusharvb19
Copy link

I got it working but the example code web-server does not getting the static ip rather it takes 192.168.0.240
Dont know why!
I have used the normal SPI pins on NodeMCU which are:

#define D0 16
#define D1 5 // I2C Bus SCL (clock)
#define D2 4 // I2C Bus SDA (data)
#define D3 0
#define D4 2 // Same as "LED_BUILTIN", but inverted logic
#define D5 14 // SPI Bus SCK (clock)
#define D6 12 // SPI Bus MISO
#define D7 13 // SPI Bus MOSI
#define D8 15 // SPI Bus SS (CS)
#define D9 3 // RX0 (Serial console)
#define D10 1 // TX0 (Serial console)

@Arslanqayyum
Copy link

Hi Friends

Any success in connecting ESP8266 with Ethernet ?

@burner-
Copy link

burner- commented Mar 6, 2018

I did long while a go BUT it was quite unstable after all because shared WDT interrupt. I suggest that use esp32 because it have proper WDT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants