Go Down

Topic: Using Wave Shield and Ethernet Shield (Read 906 times) previous topic - next topic


I seem to haave a problem getting the card reader to work on a wave shield when it is stacked on top of an ethernet shield. when i try to put the ethernet shield on top of the wave shield I can not get it to work at all. Both work fine independently.


Update I also tried modifying SdFatConfig.h for:

* To use multiple SD cards set USE_MULTIPLE_CARDS nonzero.
* Using multiple cards costs 400 - 500  bytes of flash.
* Each card requires about 550 bytes of SRAM so use of a Mega is recommended.


You have a pin  conflict . 
See if you can change the conflicting pins.


Pins 13, 12, 11 are always used by the SD card (they are the only pins that have a high speed SPI interface). Then there are 5 other pins used to talk to the DAC and SD card, but they can be set to connect to any arduino pin. However, by default, the library is configured to use pins 10 (for SD card) and pins 2, 3, 4 and 5 for the DAC. To chanage these pins requires modifying the library - the pins are referenced by their 'hardware' pin names (ie PORTD, etc) not by arduino pins.


Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 10, 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card.

Go Up