Expanding nano ram with sd card

I am trying run an program it says that the sketch is using up 111% of memory for Nano , I removed all the serial.print statement and used short int instead of int and so on where ever needed , I managed to push it down to 106% until now but it's still not enough,
The online solution is to add a sd card to nano board to increase it memory
I am new to this so please Guide me to add sd card to Nano and increase its size

which memory are you talking about? SRAM really or Flash?

on a traditional nano an int or a short uses up 2 bytes, so you did not save anything.

where did you read this?? seems really weird

(you can store stuff in a file, but it's not readily available for calculation or in your code)

1 Like

Is there any other way to deal with this

usually, if you have done the necessary clean up and optimized the memory usage, the easiest way is to get a board matching your needs.

without seeing your code it's hard to tell if you could get more wins

1 Like

Ram or flash?
We can cut on ram but flash will be hard.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.