Pages: [1]   Go Down
Author Topic: What do all the things on my UNO do?  (Read 655 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm new to Arduinos and hardware in general and I was wondering what all the important parts on the Arduino do.  Such as:  What does the AREF pin do?  What do the squigglies (~) mean on some of the pins? On pin 0 and 1, what does TX->1 and RX<-0 mean?  What do the six "ICSP" pins do?  And lastly, if I power the UNO through the power socket with a 9V battery, can I use the USB slot to communicate with, for example, other Arduinos?

Thanks so much, and sorry for all the questions!  smiley-sad
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8855
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can find lots of information on the Arduino site.

http://arduino.cc/en/Main/ArduinoBoardUno
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27113
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And from reading the ATMega datasheet.
I saw a recent post where someone went to the trouble of making popup boxes to all the bits with descriptions.
I'd post a link if  knew how to find it again.

The biggest thing - no, you cannot currently go USB to USB between arduinos, they are not set up to act as USB masters.
You can with the serial lines, Rx to Tx, Tx to Rx - and use NewSoft Serial to add more connections.
Or a Mega with more serial connections.
Or make an RS485 network between devices, or I2C, or SPI, or ...
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you elaborate on the whole Rx to TX/Tx to Rx thing?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27113
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What's there to say?
Arduino1 TX -> Rx  Arduino2
Arduino2 RX <- Tx  Arduino2

Then do Serial.Writes & Serial.Reads back & forth.

http://arduino.cc/en/Reference/Serial
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 485
Posts: 18806
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ICSP = In Circuit Serial Programming. Another way of programming it if the bootloader isn't there.

You can get multiple Arduinos to talk together using I2C by connecting together the SDA/SCL pins (A4/A5) (plus ground) and using suitable programs.
Logged


Kentucky, US
Offline Offline
Full Member
***
Karma: 1
Posts: 193
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The aref pin allows you to either read/confirm the reference voltage used by the 10-bit ADC, or to establish your own reference voltage by connecting the pin to an external voltage source.

The ~ squigglies indicate pins that are connected to one of the ATmega's timers, allowing them to be used as PWM (pulse width modulation) outputs.  Use the analogWrite(..) command on these pins.

Jim
Logged

TC4 Open Source Digital Thermometer and Temperature Controller
http://code.google.com/p/tc4-shield

Pages: [1]   Go Up
Jump to: