Hi, im really noob on arduino and i want to know how can i select between different shields, for example if i have plugged 2 arduino shields and both uses SPI port how can i select wich device is active?
I thought things on SPI and I2C busses were addressable?
Provided the slaves implement the protocols correctly, and don't have addresses that interfere with one another (and/or can be changed in some manner; one would think this would be a requirement of the firmware) - shouldn't it be possible to have as many as needed on the bus (up to the limits of the bus/protocol/distance), provided they all have non-conflicting addresses?
You can connect more than one SPI slave device to your Arduino. The lines D11 (MOSI), D12 (MISO), D13 (SCK) will be common. Each SPI device needs to be made active by its own, dedicated (thus separate) CS line. For example, the SD card shield uses D10 as its CS.