Pages: [1]   Go Down
Author Topic: what are these pin spots for?  (Read 884 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

looking at my Mega2560 and the Uno, and I was wondering, what are these for?


* ArduinoMega2560_R3_Front.jpg (36.6 KB, 450x219 - viewed 40 times.)
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ICSP for the ATmega8u2 used for USB-to-Serial conversion.
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not talking about the ICSP header, I'm talking about the 4 spots right next to the ICSP header.

also this is the R3 which uses a 16U2 instead of the 8U2.
« Last Edit: July 12, 2012, 12:15:27 pm by c0d3Man » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The schematic shows them as connected to PORTB Bits 4-7.  Not much on those pins except PCINT4-7
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

what are those two things?

[sorry, my experience comes from an electronics learning lab from radio shack, I'm better with programming and even that I have little experience, my Mega2560 (R3) is my pride and joy past analog and very basic digital electronics]

EDIT: scratch that, just looked up the datasheet for the 16u2 and it appears that PCINT4-7 are mostly just interrupts.
« Last Edit: July 12, 2012, 12:57:43 pm by c0d3Man » Logged

Offline Offline
Edison Member
*
Karma: 19
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well I'm guessing they were just intended as GPIO. I had a thought a while ago that you could reprogram the usb to serial chip to tell the arduino (by writing a pin high/low) when there's a usb connection -- that would be impossible without extra pins broken out.
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 137
Posts: 6792
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

People had used the FTDI chip (the previous USB->serial converter) in "bit bang" mode to program the bootloader into the main CPU.  In theory, having these pins broken out to pads would allow something like that with the new chip as well.
Logged

Pages: [1]   Go Up
Jump to: