Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« on: December 21, 2011, 05:32:03 pm » |
I'm not sure where to post this, but here goes ... Below is a modified photo of the Uno Rev3 board, with annotations about the extra meanings of some pins (not printed on the board):  I personally find that when trying to hook up I2C or SPI, I can never remember which pin is SDA and which is SCL. Hopefully this photo will help others to quickly connect up their systems. Earlier boards are similar except that they don't have the ICSP header for programming the USB interface chip, and the extra SDA/SCL sockets for use with I2C. I find that the pins on the ICSP header (on the right) are useful for grabbing an extra +5/Gnd combination if I need to power other devices (or for hooking up a multimeter or logic analyzer).
|
|
|
|
« Last Edit: December 21, 2011, 08:02:01 pm by Nick Gammon »
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #1 on: December 22, 2011, 03:48:06 am » |
Thanks for sharing!
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #2 on: December 22, 2011, 04:43:16 pm » |
You are welcome. I've put the same photo on my website, with various annotations about what the abreviations (eg. I2C, SPI) mean, and some useful stuff about maximum ratings: http://www.gammon.com.au/uno
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 90
Posts: 9403
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #3 on: December 28, 2011, 06:08:55 am » |
I can never remember which pin is SDA and which is SCL SCL = Simply Connect Last (at least on an Arduino 328) SDA = Shouldbe Dhe Ather (The other) 
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5934
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #4 on: December 31, 2011, 12:23:57 am » |
That mounting hole on the top left side was already hard to use and this time with the two additional pins it should be impossible to use now.
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1244
Reviving dead brain cells with Arduinos.
|
 |
« Reply #5 on: December 31, 2011, 12:45:43 am » |
Really? I'm using that mounting hole just fine with an R2. I suspect the R3 will be tight and might even require some shaving of the screw/bolt head, but it should still work just fine.
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Online
Faraday Member
Karma: 43
Posts: 2509
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #6 on: December 31, 2011, 12:49:58 am » |
Nice job Nick. Working on breadboards a lot, I have a cheat sheet (attached) which shows the DIP pin numbers, the Arduino pin numbers, and the AVR pin names. That mounting hole on the top left side was already hard to use and this time with the two additional pins it should be impossible to use now.
True that. I wonder why they felt compelled to add redundant I2C pins. I've found the existing ones to be quite adequate...
|
|
|
|
|
Logged
|
|
|
|
|
Centurion RSA
Offline
Full Member
Karma: 0
Posts: 154
Arduino rocks
|
 |
« Reply #7 on: December 31, 2011, 10:31:16 am » |
Thanks for the cheat sheet Jack. I do a lot of stand alone development (not using the Arduino board) and I always have to look up the pins. This will help a lot.
|
|
|
|
|
Logged
|
Rather people think you to be a fool than you open your mouth and confirm it.
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #8 on: January 03, 2012, 08:54:30 pm » |
why they felt compelled to add redundant I2C pins. multiple cpu compatibility. It won't always be the case that the I2C shares pins with the ADC, and it would be nice to have shields that continue to work. It's the same issue as SPI on the existing Uno vs MEGA. The original ethernet shield assumed that the SPI pins were D13..11, and it didn't work with the MEGA at all, without stringing jumpers all over...
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Online
Faraday Member
Karma: 43
Posts: 2509
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #9 on: January 03, 2012, 11:40:48 pm » |
multiple cpu compatibility.
Makes sense. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Smithfield, Rhode Island
Offline
God Member
Karma: 2
Posts: 825
|
 |
« Reply #10 on: January 15, 2012, 05:32:02 pm » |
Dumb question... Did they change the USB interface chip and, why does its firmware need to be upgraded?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #11 on: January 15, 2012, 05:55:04 pm » |
The older Uno had an Atmega8U2-MU USB interface. The Rev 3 Uno has an Atmega16U2-MU chip.
I presume the ability to upgrade the firmware is to allow for if it turns out to have some sort of bug, or maybe just for future expansion.
|
|
|
|
|
Logged
|
|
|
|
|
Greenville, IL
Offline
Edison Member
Karma: 11
Posts: 1287
Warning Novice on board! 0 to 1 chance of errors!
|
 |
« Reply #12 on: January 16, 2012, 01:39:25 am » |
Here is a small part of the info from this link: http://www.ladyada.net/library/arduino/unofaq.html The USB controller chip has moved from an atmega8u2 (8K flash) to an atmega16u2 (16K flash). This does not mean that you have more flash or RAM for your sketches this upgrade is for the USB interface chip only. In theory this will mean that it will be easier to have low level USB interfaces such as MIDI/Joystick/Keyboard available. However these are only theoretical at this time, there is no example code or firmware which will actually do this.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 249
Posts: 16538
Available for Design & Build services
|
 |
« Reply #13 on: January 16, 2012, 02:10:08 am » |
Nick, you didn't mention the extra pins on the power header. I think one has no connection the other is +5v also, tho not labelled that on the card.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #14 on: January 16, 2012, 03:24:36 pm » |
True, not on the photo. I mention the IOREF pin on the page I linked to. http://www.gammon.com.au/uno
|
|
|
|
|
Logged
|
|
|
|
|
|