Pages: [1]   Go Down
Author Topic: Difference going from UNO to Due or Mega  (Read 425 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've only ever used an UNO and was consider getting a mega or due to play around with. Are these two different kinds of programming language? Will the codes I wrote for my uno work the same on these? Or can someone point me into the direction of explanations on the differences. (I know the due is 3.3v but I'm more concerned with the programming.)


Atlanta, USA
Offline Offline
Edison Member
Karma: 55
Posts: 1812
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Will the codes I wrote for my uno work the same on these?

Going to the Mega2560 will be easier, but may require changes if you have used libraries that use low-level chip features.  Arduino code you write is very compatible from the UNO up the technology line, but you may need to make minimal changed.

Moving to the Due will depends, again, on libraries you use.  Code written in the GUI editor will generally work and conflicts are documented if you go looking.


Czech Republic
Offline Offline
Sr. Member
Karma: 4
Posts: 313
Absolute Beginner, yet.
Newbie in Arduino
since May 2013
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We have discussed a similar question here
When Arduino Uno is not enough, the next step is...???

Today I have both - the Mega2560 R3 and the Due (R3) and my conclusion is:

Mega is easier on the use because:
+ uses 5V TTL, it is an advantage for a large number of "classic" 5V modules and shields
+ programs for Uno is easily adjusted for Mega
+ Mega clones (e.g. Funduino, Hiduino, Robotale, and so forth) are really cheap ($15)
+ with the exception of SPI and INTs has an identical layout of functions on the pins such as UNO
- 3.3V modules can not be connected directly, logic level converter must be used

Due belongs to the future, but:
- not 5V TTL, it is a disadvantage for a large number of "classic" 5V shields
- programs for Uno is difficult to rewrite for Due, small amount of examples and finished projects
- Due clones are not so cheap
- differences in the layout functions on the pins are greater
+ uses 3.3V TTL, modern modules can be connected directly (for example, most TFT displays)
+ has "a lot" of memory RAM, Flash, EPROM ...
+ has USB host
+ Arduino IDE can be used for programming without the need to learn something else

Arduino Uno R3, Arduino Mega 2560 R3, Ethermega (R3), and some Ethernet Shields (R3), Chronodots, TMP36 sensors, DS18B20 sensors, LCDs/TFTs, RS232C to learn and play...

Pages: [1]   Go Up
Jump to: