Go Down

Topic: WiFi shield compatibility with arduino ethernet board (Read 754 times) previous topic - next topic

kxheka

Jan 09, 2013, 02:23 pm Last Edit: Jan 09, 2013, 02:33 pm by kxheka Reason: 1
Hello ! I'm new with arduino and i'm working on a project where I have to use a WiFi shield ( http://arduino.cc/en/Main/ArduinoWiFiShield ). I tried to mount it on an arduino ethernet board ( http://arduino.cc/en/Main/ArduinoBoardEthernet ) but I recognized that the SS pin of the ethernet module is the same used by the Wifi shield. Is there any way to make this boards  work together (reprograming the SS pin on the wifi shield ) or I have to work with another arduino board like ( http://arduino.cc/en/Main/arduinoBoardUno ). Thank you.

PaulS

Quote
or I have to work with another arduino board like

Certainly be a lot easier.

kxheka

yes you are probably right but I wanted to use the ethernet board without ordering another board, Is this the only way to solve this issue? Thank you for your reply.

SurferTim

If you feel up to modifying the Wifi library, you could probably use D9 for the wifi slave select. That is considering the power supply will handle all that stuff.

kxheka

But referring to the schematic of the WiFi shield , on D9 is connected the led L9. Also in the schematic file a see that the wifi shield has defined D10 as SS pin to communicate via SPI with an Arduino board.  I tried to change the slave select pin on the spi_drv.cpp on the wifi library but I get 'no wifi shield''.

SurferTim

Did you "pin bend" and jumper D10 on the wifi to D9 (or D8 if you wish) before modifying the library? If not, bend D10 on the wifi shield so it does not insert into the Arduino. Then jumper D10 to D9 (or D8) with a small piece of wire.

kxheka

No , because I wanted to handle this without extern wiring or modifying the wiring,  but as I see this will be my last solution if I don't want to use another board. thanks to all.

SurferTim

#7
Jan 09, 2013, 04:52 pm Last Edit: Jan 09, 2013, 04:54 pm by SurferTim Reason: 1
If you leave D10 as both slave selects, both the ethernet and wifi should fail. Either "pin bend" or it won't work.

edit: No sense buying another type Arduino board. It will have the same challenge. D10 is the standard SS for the ethernet shield.



kxheka

So you suggest to bend the pi D10 on the wifi shield and wiring it on another pin on arduino Ethernet board (for exp. D7), then changing the spi_drv.cpp on the wifi library?
I think this will work.
Quote
No sense buying another type Arduino board. It will have the same challenge. D10 is the standard SS for the ethernet shield.

I think that buying this http://arduino.cc/en/Main/arduinoBoardUno I'll not have to change nothing on the wifi shield, because there is no ethernet module on board.

SurferTim

If you mean you want to ditch the ethernet shield and use the wifi only, then another board like an Uno would be better.

If you want to use both and are planning to bend pins, do not use D7 for the wifi slave select. That is the handshake pin for the wifi shield. Leave D7 alone. D8 would be better.


kxheka

#10
Jan 09, 2013, 05:43 pm Last Edit: Jan 09, 2013, 05:45 pm by kxheka Reason: 1
I don't need the ethernet module for my project. Anyway I just ordered an Uno rev3. Thank you far all your replies.

Go Up