Go Down

Topic: More MEMORY? (Read 725 times) previous topic - next topic

lost_and_confused

Hi folks.

Though I am stuck in the problem of not being able to program any more Arduinos, I was wondering about the existing one which IS working.

My sketch has grown and I realized that I am out of memory.

Is there any way to increase the size of the usable memory on a UNO copy?

Chagrin

http://arduino.cc/en/Reference/PROGMEM to move large strings into flash. Beyond that you need to move to a Mega, and beyond a Mega's memory size you can add external memory.

tuxduino

Or post your code (if you can) and see if it can be memory-optimized somehow.

sbright33

Bummer that Quadram doesn't work with Uno...
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

dc42

Which memory have you run out of, flash or RAM? It is often possible to change the code to reduce usage of one or other or both, but you need to post your code if you want specific advice. Once you have applied the main techniques, if you are still running out then the best option may be to switch to a processor with more resources, e.g. a Mega or a Teensy.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

CrossRoads

You can move to a board with a '1284P chip if you need more SRAM - 16K, twice what a Mega has.
I offer a 1284P that you assemble. 128K flash, 16K sram, dual serial ports, 32 IO pins.
http://www.crossroadsfencing.com/BobuinoRev17/ for PL and schematic
$5 mailed to US locations. Order parts you need, or scrounge your parts bin.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

oric_dan

These can be mounted on a shield, DIP8, and they work at both 5V and 3.3V too.

http://www.digikey.com/product-detail/en/23LC1024-I%2FP/23LC1024-I%2FP-ND/3543083
http://www.digikey.com/product-detail/en/23LC512-I%2FP/23LC512-I%2FP-ND/3543089

Go Up