Seit wenigen Tagen ist bei mir das Arduino MEGA Bord in Betrieb. Es wird mit 54 I/O Port beworben. Nun habe ich versucht raus zu finden, welche von den 54 Ports nach dem Einstecken des Ethernet Shields (auch von Arduino [1]) noch für weitere "Basteleien" verfügbar sind. Da das Ethernet Shield noch ein SD Speicheranbindung mitbringt, muss sich das Board den ICSP für Ethernet oder SD Karte teilen. Dies wiederum wird durch zwei analoge Eingänge definiert. Folgendes steht in [1]:
Note that because the W5100 and SD card share the SPI bus, only one can be active at a time. If you are using both peripherals in your program, this should be taken care of by the corresponding libraries. If you're not using one of the peripherals in your program, however, you'll need to explicitly deselect it. To do this with the SD card, set pin 4 as an output and write a high to it. For the W5100, set digital pin 10 as a high output.
Wieviele und welche I/O stehen nun für Applikationen zur Verfügung?
Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 11, 12, and 13 on the Duemilanove 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. These pins cannot be used for general i/o. On the Mega, the hardware SS pin, 53, is not used to select either the W5100 or the SD card, but it must be kept as an output or the SPI interface won't work.
So steht es in deinem Link, zweifelst du das etwa an?
Pin 4 und Pin 10 sind für die Konfiguration des Shields weg, das war klar.
Sind noch weitere weg? oder anders gefragt: Auf welche Pins sind die ICSP gemounted?
Danke sth77.
Soweit ist mir die Informationslage glasklar. Doch dann sehe ich [2] weitere PIN Belegungen für die SD - belegt oder nicht.
Nochmal, welche PINs kann ich als I/O für meine Spielereien mit eingesetztem Shield nutzen?
Hat jemand Erfahrung mit der Belegung?