Go Down

Topic: I/O in Arduino Mega2560 (Read 2241 times) previous topic - next topic

kurt_ek

Hey everyone!

This is my first post around the forum so I'll kinda use it as an introduction as well... I'm studying Mechatronics in Guatemala, currently finishing my carreer (last year! thank God!) and I recently found the Arduino community 'cuz of my friends who told me about it.

I haven't yet bought mine (still thinking which one to get) and I've got a simple question about the Arduino Mega2560 I/O pins. The ATmega2560 datasheet says that it has 86 I/O pins, 12 2-16 bit-res PWM's, 4 8-bit PWM's, 4 UART's, and so on and so forth. I'm guessing that the 86 I/O pins include these PWM's and UART's and Analog inputs.

HOWEVER

The info of the Arduino Mega2560 states that it has only 54 I/O (14 of which are PWM's) and 16 Analog input pins. That sums up to 70 I/O and I'm still missing 16...

I don't really know if I'm missing something here or if I'm reading the datasheet wrong... But I wanted to ask around here :]

Really appreciate it and hopefully you'll be seeing my projects around this page soon!!!

retrolefty

Quote
I'm still missing 16...

I don't really know if I'm missing something here or if I'm reading the datasheet wrong... But I wanted to ask around here :]

Really appreciate it and hopefully you'll be seeing my projects around this page soon!!!


No you are not missing anything. The Arduino team (in their wisdom?) elected not to wire up 16 I/O pins to any connectors. There is a 1280 mega board by Seeeduino that does run traces and connector pins for all the avalible I/O pins: http://www.seeedstudio.com/depot/seeeduino-mega-p-717.html?cPath=132_133

Lefty

kurt_ek

#2
May 29, 2011, 02:28 am Last Edit: May 30, 2011, 01:50 am by kurt_ek Reason: 1

No you are not missing anything. The Arduino team (in their wisdom?) elected not to wire up 16 I/O pins to any connectors. There is a 1280 mega board by Seeeduino that does run traces and connector pins for all the avalible I/O pins: http://www.seeedstudio.com/depot/seeeduino-mega-p-717.html?cPath=132_133

Lefty


Thank you very much! :D

EDIT: I was checking the Arduino Uno as well, but found every single pin connected (the Datasheet said 23 I/O pins, but I found the External Oscillator and also the Reset Button so that adds up to 23).

I'd like to suggest that the Arduino Mega2560 have all the I/O pins connected. I know the main difficulty here is space, but I believe that if the microcontroller used has that many I/O they should all be wired up. True, one might never need that many I/O pins, but one never knows... Just maximize the possibilities :]

P.S. Should this idea be welcome in the community I would more than gladly be willing to help out in the design :]

Go Up