Pages: [1]   Go Down
Author Topic: 6 pins next to the reset button ?  (Read 662 times)
0 Members and 1 Guest are viewing this topic.
LONDON UK
Offline Offline
Full Member
***
Karma: 0
Posts: 105
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

on a UNO ,what are these for ? another icsp connection or what ?
and a four holes with J2 what are they for ?
just curious
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31369
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

They are for programming it if you have a hardware programmer.
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4545
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

on a UNO ,what are these for ? another icsp connection or what ?
and a four holes with J2 what are they for ?
just curious

Arduino Unos are really two Arduinos in one!

If you look closely at the board you'll see a small chip that says "Atmel mega16U2". This chip is programmed to do the USB->serial interface.

http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front.jpg

I'm guessing the second set of header pins let you reprogram that chip if you want to. Maybe you could use it as a math co-processor if you're not using USB... smiley

« Last Edit: December 11, 2012, 05:21:21 am by fungus » Logged

No, I don't answer questions sent in private messages...

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31369
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes but they are not the ones close to the reset button. On my board those 6 lines are just pads to solder headers onto if you want.
Logged

Switzerland
Offline Offline
Sr. Member
****
Karma: 6
Posts: 375
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

on a UNO ,what are these for ? another icsp connection or what ?
and a four holes with J2 what are they for ?
just curious

It sounds like you have an Uno R3.  The reset button was moved between the R2 and the R3.  The 6-pin header near the USB port is for ICSProgramming the ATmega16u2.  This chip has a bootloader, so it can also be programmed via the USB port.  The 4 holes marked J2 connect to various port pins on the 16u2, which can be useful if you ever want to do more than USB-to-serial conversion with this chip.  Some time ago I wrote some code which allows the 16u2 to work as an ICSP programmer, meaning you could update the Arduino bootloader without needing a second Arduino.  I used one of the J2 pins to switch the software between USB-to-serial mode and ISCP mode.
Logged

LONDON UK
Offline Offline
Full Member
***
Karma: 0
Posts: 105
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks to all for a great response i was wondering how you would work on the U2 chip ,that gives me tips for further research on this
Logged

Pages: [1]   Go Up
Jump to: