Pages: [1]   Go Down
Author Topic: What else offer an Arduino MEGA beside the big amount of ports?  (Read 1333 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Im undecided if UNO or MEGA, here I can buy the MEGA by 2.3 times the price of an UNO, I have the money for both, but I dont want to know what else offer the Mega to convince myself to expend the money in that, and not another thing.

Thanks!


My last UNO is gone
Logged

0
Offline Offline
Newbie
*
Karma: 1
Posts: 47
Arduino rulez !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

mega 2560 have 256Ko of flash memory (the one used by you software)
uno only 32K
it could be a good reason to switch to mega depending on your projects
have a look here
Logged

Arduino Uno                / Arduino 022
Arduino Mega 2560
Ethernet/uSDcard shield Wiznet
--------------------------------------------
Airi

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17308
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You didn't state if Mega or Mega2560 but other then memory size those two are equal. You get besides more I/O pins you get 4 hardware serial ports, five user interrupt pins, more timers.

It really depends on the project scope you are going to work with. I still like arduino board that use socketed dip chip 328 processors because you can develop your program on the arduino development board, and then pop the chip out and wire in your project circuit as a standalone microcontroller with just a couple of support components and buy a $6 replacement 328 chip and you are ready to develop your next project. Any of the SMD packaged processors (Uno or mega or nano boards) aren't as DIY friendly for that kind of development cycle.

 
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It also has 8Kb of ram compared to the 2Kb that the Uno as to offer, more timers as said, more ADC inputs, more timers, more hardware pwm's.
But the 256k flash is deceiving because gcc can only generate code up to 128Kb.
Logged

Rural Arizona
Offline Offline
Edison Member
*
Karma: 7
Posts: 1711
Incorrigible tinkerer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

More ports (including 3 more hardware serial ports), more RAM, and more flash.

One possible drawback: the SPI pins moved, so some shields (like the Ethernet and WiFi shields) that use SPI don't work with the Mega.
Logged

0
Offline Offline
Newbie
*
Karma: 1
Posts: 47
Arduino rulez !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i use the official ethernet shield with the mega2560 and it works
are you talking about the enc ethernet shield ?
Logged

Arduino Uno                / Arduino 022
Arduino Mega 2560
Ethernet/uSDcard shield Wiznet
--------------------------------------------
Airi

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 76
Posts: 7307
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As far as I know, MEGA was not really an arduino creation. It was made by sparkfun, right?
Logged


Rural Arizona
Offline Offline
Edison Member
*
Karma: 7
Posts: 1711
Incorrigible tinkerer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There's an official Mega, with a 1280 CPU. It has SPI brought out to that double-row connector.

I have no idea whether/how it differs from what Sparkfun sells.  I only posted because I remembered reading complaints from people who'd been unpleasantly surprised by the SPI pinout difference, and thought it was worth mentioning to a potential buyer.
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8625
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought a lot of shields use the ISP connector to get the SPI signals. If so these should be compatable.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
God Member
*****
Karma: 3
Posts: 722
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


it has more pins which can do PWM, than the arduino, right?
Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17308
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


it has more pins which can do PWM, than the arduino, right?

From the reference:

Quote
On most Arduino boards (those with the ATmega168 or ATmega328), this function works on pins 3, 5, 6, 9, 10, and 11. On the Arduino Mega, it works on pins 2 through 13. Older Arduino boards with an ATmega8 only support analogWrite() on pins 9, 10, and 11. You do not need to call pinMode() to set the pin as an output before calling analogWrite().


More timers means more PWM pins avalible.
Logged

Pages: [1]   Go Up
Jump to: