I am working on some project which includes TFT screen shield and internet connection. The reason i needed Mega in the first place. I have problem to make W5100 module to work on Mega. Module is this one. My wiring is:
V+5 - 5V
NSS - 53
MO - 51
GND - nc
POE- - nc
GND - GND
RST - nc
SCK - 52
MI - 50
POE+ - nc
I tried standard ethernet library examples and haven't make it to work. I tried, say, WebServer example and get server is 0.0.0.0. I tried to change CS on w5100.h, line15 to 53 but get the same. I leave it as is and add:
pinMode(53,OUTPUT);
digitalWrite(53,HIGH);
and get the same.
Any suggestions what to do? Some link to a working solution would be nice.
who_took_my_nick:
Some link to a working solution would be nice.
That would have been the first step before buying not after.
.
Thank you very much!
You helped a lot.
Thank you for your reply.
Problem is that i have a tft shield attached on Mega, which covers all the pins. I will try it, of course.
Tried to connect RST to RESET. I couldn't upload sketch to the board. I uploaded it without RST connection and add it after but still don't work.
The standard w5100 library counts on the slave select connected to D10. Try that.
I can't because of tft shield. It is 3,97".
How come there is no example on internet with W5100 module and Mega? Working example....
who_took_my_nick:
I can't because of tft shield. It is 3,97".
How come there is no example on internet with W5100 module and Mega? Working example....
All examples apply to the w5100 module if the pins are correct. If you can't use D10 as the w5100 slave select, then you have a problem. I have modified the w5100 library code to change the SS pin, but it isn't easy, and sometimes is not portable to newer versions of the ethernet library.