Go Down

Topic: Arduino Uno Rev3 pinouts photo (Read 103172 times) previous topic - next topic

CrossRoads

#45
Sep 09, 2012, 05:57 pm Last Edit: Sep 09, 2012, 08:18 pm by CrossRoads Reason: 1
1. Used for I2C communications. SCL is the clock, SDA is the data line. Master generates clock and outputs data, master generates clock and slave responds with data. An example of a I2C device is the DS1307 real time clock
http://www.dipmicro.com/store/DS1307N
2. Interrupts used to capture signal that needs to be responded to quickly.
3. Tx & Rx used for serial communications where the receiver creates its own timing to determine when the data bit being transmitted is to be sampled, gnerally 16 samples per bit.
Usage:
Serial.begin(9600); // used in void Setup() to start the serial library

Transmit side:
Serial.print("hey there"); // sends out a message

On receive side, fill an array with incoming data - Very basic usage, really needs expanding to be useful
Code: [Select]

if (Serial.available()>0){ // data coming in?
dataArray[x] = Serial.read();
x=x+1;
}
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

westfw

Quote
1.What is SCL and SDA pins for? Are these some how helpful when integrating into a project?

The SCL and SDA pins are for I2C (aka IIC, TWI) communications, which permits multiple peripherals to be connected to the AVR using only two pins.  It's sort of a mini-network; each external I2C peripheral has an address.  It's "medium speed" (400kbps), widely used by things like A2D converters, external EEPROM memories, "IO expanders" and similar.
The reason that these pins were added to the Arduino connector area is that they aren't always on the same pins of different microcontrollers.  For example, SDA shares PC4 on the Atmega328 used on Uno (normally one of the analog pins), and PD1 on the mega32u4 used on Leonardo.  By having separate connector positions on the board, you can (theoretically) connect i2c peripherals in the same place on different boards, and have "low-effort" compatibility using an appropriate library.


bperrybap

Given the amount of peripheral devices that use a 4 pin connector for I2C it sure would have been
nice if the board had a set of 4 holes for a header/connector for the I2C pins
that included power like the Seeeduino boards.
That also allows it to be used with other non i2C shields.

--- bill

Sikter

Where are "jumper" pins on this card. I tested the card and it works fine using USB as supply.

Now I want to connect it to external power supply and ...



Uploaded with ImageShack.us

What is polarity for external power supply socket?
Is GND around and + in the middle?

thanks

Nick Gammon

The original photo shows the polarity:



Note the red "+" on the middle of the connector.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

retrolefty


Where are "jumper" pins on this card. I tested the card and it works fine using USB as supply.

Now I want to connect it to external power supply and ...



Uploaded with ImageShack.us

What is polarity for external power supply socket?
Is GND around and + in the middle?

thanks


There is no jumper pin required for using external power. There is an electronic voltage selector circuit on the board that detects if there is DC voltage on the external power connector (or the Vin) pin of 7.5 to 12vdc. If there is both USB power and external power available the circuit gives priority to the external voltage and switches off the USB power, however the USB communication is still available. And yes the center pin is the positive voltage and the sleeve is negative, however there is a series wired diode in the circuit that prevents board damage if one accidentally plugs in reverse polarity voltage, the board won't work as such, but there will be no damage done.

Lefty

Sikter

Thank you Lefty, you are Righty actually.
I didn't dare to power it externally before I was sure.
Been waiting 2 weks for it and didn't want to take any chances.
What Rev is my board?

NI$HANT

I like the hackability of the board who's pic is posted 1 post above they even thought about the crystal place there if in case one needs to clock it at a different rate rather than on whcih rate the resonator actually is.
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

WinstonP

It might be nice to be able to program the Atmega16U2-MU to be able to load sketches through it's ISP connector.
Maybe even chain to subroutines in the Atmega16U2-MU's storage memory. Maybe future RTC built onto the next UNO revision.

(sorry, my meds are causing me to ramble on....)

Quick5pnt0


Thank you Lefty, you are Righty actually.
I didn't dare to power it externally before I was sure.
Been waiting 2 weks for it and didn't want to take any chances.
What Rev is my board?


Your Uno is rev2.

czetie

IHNTA except "thank you". This thread was my first foray into the forums (complete newbie, curious about the pins not mentioned in Getting Started...) and delighted to find that you guys are helpful, clear, and above all patient. It almost makes me want to have a real problem so I can ask a question :)

hiduino



What Rev is my board?



Actually, your board in the picture is a clone of the Uno R1, the R2 board have the USB 8U2 chip rotated 45 degrees.


mcwhorpj

I apologize for this silly question, but I have had some difficulty figuring it out and hope you can give me help. The VCC connection on the ICSP header (on the right side of your picture) . . . can you power the arduino through this pin? If so, can you power it with an unregulated source. Or, is this pin for providing power to other components. Just looking for clarification on what I can do with VCC on this pin. Thanks!

Nick Gammon

It has to be regulated 5V, it does not go through the reverse-protection diode or voltage regulator.

However you can power the board from it, which is what happens when you plug in an ICSP cable for programming purposes.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

mcwhorpj

Thank you Nick, that is a huge help.
Paul

Go Up