Thanks. Since the connectors didn’t mate up right, I figured I had to resort to the black EXP connector on the end, so I was trying to actually find the pinouts on the Mega2560 board which matched above, or any references which mention the SPI bus. I did a bunch of searching last night and found:
From http://www.arduino.cc/en/Main/arduinoBoardUno:
Revision 3 of the board has the following new features:
1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible both with the board that use the AVR, which operate with 5V and with the Arduino Due that operate with 3.3V. The second one is a not connected pin, that is reserved for future purposes.
From http://arduino.cc/en/uploads/Main/ardui … ematic.pdf:
SCK is PB1
From http://arduino.cc/en/uploads/Main/Ardui … ematic.pdf"
SCK is PB5
From http://arduino.cc/en/Main/arduinoBoardMega2560:
SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the SPI library. The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.
So, I re-looked over the Uno/Mega2560 drawings, and wondered why they didn’t match better. This morning, when I looked over your post, matching the VCC and GND pins from your drawing, I made what was probably the twentieth time to re-mate the boards. Then I realized that if I skip the first two pins, the VCC and GND pins match up, as do the splits in the pins on both sides, and I was able to plug the two boards together! The way the 4x4 board is laid out (not sure if this is the same for all shields), the far-side pin connectors on the 4x4 board are identical to the near-side connectors of the Mega2560. I am glad I tried to re-fit the board (and had your post to reference), because I also had the idea at the very same time that I had soldered all of the connectors onto the wrong side of the board - I can’t recall if that was part of the instructions or not. That would have sucked to unsolder and re-solder all of the connectors only to smoke the board in the end…
Is the difference between PB1 and PB5 for SCK enough to make a difference in operation? Looking at the pin names seems to be a match, and the important stuff seems to mate up, so I am guessing the sample software files should point me to the right direction.
Anyway, thanks for the post - it jarred me into the right direction. I thought BTW, that it was funny in their documentation they have a copy/paste error naming pins “power supple” everywhere.