hi, does the uno and mega work the same way? if i see a toturial on a uno project, can i then do the same with the mega? putting the wires in the same things?
A few things are on different pins - which pins have PWM/ADC/PCINT capability are different on the mega2560 (refer to any of the many pinout charts available online), I2C is on different pins (though the latest rev of both uno and mega2560 arduino boards gives you a separate header for SDA/SCL so if you're using that, you don't have to worry).
Both the basic design of the supporting circuitry and the sorts of functionality provided are fairly similar (naturally, the mega2560 has more pins, and some extra UARTs that the '328p on the uno doesn't have)
thanks, can u maybe translate that into n00b-language plz :D?
Almost everything is exactly the same. The same core processor, just with more memory and more pins.
That "almost" may be significant, if you are using any of the features that DrAzzy mentioned.
n00b-language:
Post a link to the tutorial in question if you want to know for sure...
adytech13:
hi, does the uno and mega work the same way? if i see a tutorial on a uno project, can i then do the same with the mega? putting the wires in the same things?
They do work in the same way. Basic arduino code tutorials, eg....for making an external LED blink, will work on uno and mega, without any need to modify the code. The only thing is to select from some drop-down menu in the code-loading software (ie. arduino sketch) the correct board....eg uno or mega etc.
Mega has more timers than uno. And there are a set of sneaky pins for SPI communications that have some typical pin number labels (eg. pins 50 51 52 53 on Mega), and these pins are electrically (physically) connected to these other pins that are packed in a rectangular pattern (a rectangular group of 6 pins). On the UNO ....the same situation (eg. pins 10, 11, 12, 13 are each individually connected to 1 of the rectangular group-of-six SPI pins) ---- it is like different pins on the same board being physically connected together. So --- for some tutorials...some SPI communications exercises that are written for one board..eg uno, will also work for mega, provided you get into the code and change the code so that the correct pin numbers are used in the code.