Pages: [1]   Go Down
Author Topic: Robot controller  (Read 465 times)
0 Members and 1 Guest are viewing this topic.
Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,


I'm going to be building a robot, and I have realized that my Arduino Uno will not have enough ports. I need a different board, and I'm thinking about this one (link below), but I have a few questions.

 https://www.sparkfun.com/products/11061

1. Would I program it the exact same way?

2. Would my old programs work on it?

3. Would it be faster?

4. Could my programs be longer?


Thanks,
Drew Davis
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 112
Posts: 5286
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1. Yes, with the exception of some register-specific stuff.

2. Probably yes. If you only used the Arduino language to access the hardware and the official libraries, your code will work. If you did low level register poking, you probably know what you do and can adapt accordingly.

3. No. Both are running on 16MHz and use the same instruction set.

4. Yes. The ATmega328 of the UNO has 32kB of flash memory while the ATmega2560 has 256kB. It also 4 times more SRAM, so you have more space for variables and buffers.
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you!
Logged

Pages: [1]   Go Up
Jump to: