wifi shield isn't working with arduino mega

I am using the seeedstudio wifi shield and when I connect it to the arduino uno it works just fine, however I ran into memory issues, so I’ve tried connecting it to the arduino mega which has more memory, except now it wouldn’t preform even the simplest examples from the wifi shield library like simply connecting to the wifi. nothing I found online indicates that it should cause a problem, but it’s not working. any ideas why and how I could solve it?


Wifi shield has RX pin capability only on D0 to D7 but not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).

This mismatch causes the problem in your connection.

Thanks and Regards

Thank you very much :slight_smile: I connected the tx&rx pins to 50&52 instead of to 2&3 and it’s working great.