PinMapping2560 page inaccessible

Hi all,

The page http://arduino.cc/en/Main/ArduinoBoardMega2560 refers to:

Schematic, Reference Design & Pin Mapping

Pin Mapping: PinMap2560 page

... where this PinMap2560 page links to http://dev.arduino.cc/wiki/en/Hacking/PinMapping2560; going to that link results with login and password being asked; the current arduino.cc login and pass fail with:

401 Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.

Trying to remove 'dev' and call directly http://arduino.cc/wiki/en/Hacking/PinMapping2560 results with:

That thing you are looking for is not here, dude!

Server error code 404

Is this a server configuration error - or is that link not intended to be public?

Thanks,
Cheers!

I get the same. It's either a bad link or not open to the public (can't imagine why and if so the link shouldn't be there in the first place).


Rob

Hi Graynomad,

Graynomad:
I get the same. It's either a bad link or not open to the public (can't imagine why and if so the link shouldn't be there in the first place).

Thanks for confirming - hopefully, someone can either open up this link or remove it; otherwise I hope someone will be able to post something "third party" like the ATmega328 image in Arduino Forum - Arduino Mega2560 Pin Names...

Cheers!

Ah, well, instead of waiting for a "third party", I used up some hours, and made a "pin map" for both Uno and Mega in Inkscape, please check here:

The images are from the Arduino site, and the data is from this Arduino Pins spreadsheet.

Here is the link to PDF map of MEGA: Mega2560-pin-map.pdf - there are .svg and .png versions in the folder, too - below the .png is shown:

Well, hope this helps someone,
Cheers!

Is there a discrepancy between your pin mapping picture and the arduino reference on user interrupt numbers Vs pin numbers? It's probably based on the fact that the arduino external interrupt numbers (0-5) have no direct association with the AVR external interrupt names. This is sure to confuse sometimes what mega pins numbers to wire to utilize a given arduino attachinterrupt function. See the below Arduino reference extract for the arduino's assignment of interrupt names (0-5) to mega pin numbers, and see the possiblity of confusion.

attachInterrupt(interrupt, function, mode)

Description
Specifies a function to call when an external interrupt occurs. Replaces any previous function that was attached to the interrupt. Most Arduino boards have two external interrupts: numbers 0 (on digital pin 2) and 1 (on digital pin 3). The Arduino Mega has an additional four: numbers 2 (pin 21), 3 (pin 20), 4 (pin 19), and 5 (pin 18).

Hi retrolefty,

retrolefty:
Is there a discrepancy between your pin mapping picture and the arduino reference on user interrupt numbers Vs pin numbers?

Could well be - as I noted, I didn't really go through the ATMega datasheets myself, instead I just copied the data from this Arduino Pins spreadsheet, the link for which I found elsewhere on the web...

retrolefty:
It's probably based on the fact that the arduino external interrupt numbers (0-5) have no direct association with the AVR external interrupt names. This is sure to confuse sometimes what mega pins numbers to wire to utilize a given arduino attachinterrupt function. See the below Arduino reference extract for the arduino's assignment of interrupt names (0-5) to mega pin numbers, and see the possiblity of confusion.

attachInterrupt(interrupt, function, mode)

Description
Specifies a function to call when an external interrupt occurs. Replaces any previous function that was attached to the interrupt. Most Arduino boards have two external interrupts: numbers 0 (on digital pin 2) and 1 (on digital pin 3). The Arduino Mega has an additional four: numbers 2 (pin 21), 3 (pin 20), 4 (pin 19), and 5 (pin 18).

Ok, I see what you mean - I guess that is from Arduino - AttachInterrupt; could be that was written for the ATmega1280, and I copied data for the ATmega2560? Unfortunately, the spreadsheet doesn't say... At least, on the pin map image, digital pins D3, D2, D18, D19, D20, D21 all have "INT" or "ext int" numbers, so at least that is right - but I can see what you mean by the interrupt number confusion..

In any case, if anyone has a suggestion which particular text in the map image I should change, I will eventually do so (I currently do not work with external interrupts, so it may be a while until I figure out possible errors myself)..

Thanks for the feedback,
Cheers!

Ok, I see what you mean - I guess that is from Arduino - AttachInterrupt; could be that was written for the ATmega1280, and I copied data for the ATmega2560?

The only differences from the AVR mega1280 and mega2560 is the increase in the various memory sizes (flash,sram,eeprom) for the 2560, all internal hardware peripherals and pin assignments are the same.

By the way, nice job on the pin mapping picture.

Lefty

Found this pin map for the 640, 1280 and 2560 and it seems to agree with what smd has done.


Thought this might be useful :smiley:

Thanks for putting up the PinMapping. I too was frustrated looking for a pin mapping for any of the Arduino Mega boards. Why they hid the essential design information needed to use the board is a complete mystery to me.