Great work so far. I have a suggestion: I printed the diagram out, and there's a problem that in print there's a lack of contrast with the yellow-on-grey port pin labels - they are almost unreadable. Given that (for me anyway) that's the most important column on the diagram could you change the colours for something more high contrast?
On pin 10: As you note this is also connected to port C29. Port C29 is referred to as digital pin 77 in Arduino - that is, if you load the Blink example and change the pin to 77, it will blink an LED connected to pin 10. It might be worth noting that as well.
Also could you add digital 'pins' 72 and 73? These aren't physical pins, but they are connected to the RX and TX LEDs near the native port - changing Blink to use pin 72 or 73 will flash them. Ports are C30 and A21 respectively.
I've changed the colour of the port pins. As it's important this is legible in hard copy can you print it out again and see if that's now the case?
Note that at present I'm limiting the size to 2000px wide, this should print well up to about 8" or even A4 without pixelization. When it's more stable I'll upload larger versions.
I've added the LEDs.
But I'm having trouble with your second point. I can see that D10 and D77 are the same pin, IE C.29 or SS0/PWM10. But I can't see that any LED is connected to this. I don't have a Due so can't check this, which LED blinks?
New version uploaded with the above as I see it so far.
I've changed the colour of the port pins. As it's important this is legible in hard copy can you print it out again and see if that's now the case?
Note that at present I'm limiting the size to 2000px wide, this should print well up to about 8" or even A4 without pixelization. When it's more stable I'll upload larger versions.
I've added the LEDs.
But I'm having trouble with your second point. I can see that D10 and D77 are the same pin, IE C.29 or SS0/PWM10. But I can't see that any LED is connected to this. I don't have a Due so can't check this, which LED blinks?
New version uploaded with the above as I see it so far.
Rob
Looks every post better, I would let Pin 4 even look like Pin 10 with the bonded Pin A29, and on TX0 RX0 may for USB programming isn'd obvious enough somethink that make it more clear that they are connectet on the programming port would be better my opinion.
The ports and pins for the TX/RX leds should be swapped. The LEDs themselves are in the correct order (ON,L,TX,RX) but the ports and pins should be in the order D13,D73,D72 ; B.27,A.21,C.30 ; 68,107,103
About D77, what I meant was if you plugged your own LED (and resistor) into D10 on the board, Blink will flash it when led=10 or led=77. It isn't connected to any LED already on the board.
There are some other pin number oddities in arduino_due_x/variant.cpp, for example digitalWrite(79,HIGH) will set both pins 70 and 71 - I don't think it's helpful to add these to the diagram though.
The ports and pins for the TX/RX leds should be swapped.
Done.
what I meant was if you plugged your own LED (and resistor) into D10 on the board, Blink will flash it when led=10 or led=77.
Ok, what I've done should be enough then I think.
for example digitalWrite(79,HIGH) will set both pins 70 and 71 - I don't think it's helpful to add these to the diagram though.
Probably not, if there are useful anomalies I'll add them, at this point I think the diagram is bordering on information overload but there may still be a few things worth adding.
Note that the PNG size is way smaller, I exported to PNG8 rather than PNG24, with the limited colour gamut being used I think that's OK but let me know if it stuffs anything up.
They are connected to the 16u2, Port B 4,5,6,7 (relative to the diagram, 4 is SE, 5 NE, 6 SW, 7 NW) Remember that they and the ICSP pins work at 5v logic level.
Graynomad:
Note that the PNG size is way smaller, I exported to PNG8 rather than PNG24, with the limited colour gamut being used I think that's OK but let me know if it stuffs anything up.
That is the correct thing to do; even with antialiasing there will still be enough colors.
(I'm one of the authors of the PNG format).
Continuing on graphic formats, both Adobe Illustrator (CS5) and Inkscape (0.48) choke on the Corel Draw file. Would it be possible to export to SVG? Or an earlier Corel Draw version, perhaps.
I've just gone through it again, and may I kindly ask for some other updates:
port A.9 is also high current
mark the little grey square close to ICSP with "mega16U2"
would it make sense to add as well the erase button?
the contour of the DUE board is good visible on the screen, but not really when you print.
Can you make the contour darker or with more contract?
add "TX0" on the board for port A.9
and "RX0" for A.8
on the actual DUE itself, there are marks with long lines across the pins, like COMMUNICATIONS
same for PWM and ANALOG IN
Do you think it makes sense to add those as well?
Do we already know what the four solder pads/holes on the left next to the ICSP (right below the 16u2) are connected to?
Stimmer is right about what that are connected to. Why they are connected is a mystery as those pins don't really have any special functions. When I design a board I often have a couple of spare pins broken out like that to allow pulse debugging with a logic analyser, maybe that's why they have done it.
Would it be possible to export to SVG?
Should be, I'll try that next update. @Nantonos, I won't try to tell you about graphics formats then
EDIT: Just created an SVG, it had two issues but I uploaded anyway. It looks like crap in a browser, can you guys try in a graphics program.
port A.9 is also high current
Done
mark the little grey square close to ICSP with "mega16U2"
Done
would it make sense to add as well the erase button?
Done
the contour of the DUE board is good visible on the screen, but not really when you print.Can you make the contour darker or with more contract?
Done
add "TX0" on the board for port A.9 and "RX0" for A.8
Done
on the actual DUE itself, there are marks with long lines across the pins, like
COMMUNICATIONS
same for PWM and ANALOG IN
Do you think it makes sense to add those as well?
I did think of that but felt that things are getting a bit crowded to add them. I'll try it out though and see how it looks.
Looks OK I think, we'll leave it there for the time being. See what people think.
Graynomad:
EDIT: Just created an SVG, it had two issues but I uploaded anyway. It looks like crap in a browser, can you guys try in a graphics program.
Looks great in Inkscape! Thanks for the good work.
Like D10 & D77, D87 works on D4 too comes from the bonded pins, and D86 works on Pin D52 it is SS2 the 3rd SPI select. Btw. did some one know where are the ADCs 8 and 9 are they missing?
did some one know where are the ADCs 8 and 9 are they missing?
Well spotted Markus
ADC8 -> B.12 -> SDA
ADC9 -> B.13 -> SCL
So it looks like you can get two more more ADCs if you aren't using that I2C port. However those two pins are pulled up by 1k5 resistors, so you'd have to drive the ADC with a low-impedance source.
D87 works on D4
D86 works on Pin D52 it is SS2 the 3rd SPI select
Added.
Unfortunately the 4th SPI CS pin is not connected.
did some one know where are the ADCs 8 and 9 are they missing?
Well spotted Markus
ADC8 -> B.12 -> SDA
ADC9 -> B.13 -> SCL
So it looks like you can get two more more ADCs if you aren't using that I2C port. However those two pins are pulled up by 1k5 resistors, so you'd have to drive the ADC with a low-impedance source.
D87 works on D4
D86 works on Pin D52 it is SS2 the 3rd SPI select
Added.
Unfortunately the 4th SPI CS pin is not connected.
Will upload new version soon.
Rob
You make an great job, really amazing, in my way you can wipe the Unofficial from the sheet, talk to Massimo this can or should an official Pinout!
All above added plus some good news for those into audio codecs etc, all the SSC pins are available, this means you can play with I2S.
Notes to people using the vector versions.
The CC BY-SA logo is no longer a bit image, so that should scale properly without pixelating.
At some point I must have cut and pasted the entire drawing on top of itself. This means that there was two copies of everything, but they were in perfect register so you couldn't see any difference I've slowly been removing duplicates but there are still many left I would think.
Note about the pin mapping duplicates
It it worth having the D10/77, D4/87 and D52/86 duplications? They do exist but is there any point in knowing this?
It is worth knowing about the D10/D77 and D4/D87 duplicates, because each of these duplicates actually refers to a different port and pin. Also people probably ought to know not to set D10 and D77 as output and then have one high and one low, because then there would be an effective short circuit (and similar with D4/D87). Given that the intended audience will probably be more advanced users I'd say it was worth having on the diagram. In any case it might help when we get the inevitable "Where's pin 77?" questions here on the forum.
The D52/D86 duplicate is the same port and pin, I don't know what the reasoning behind it is, maybe it could be removed.