r/ArduinoProjects • • Mar 30 '23

Need Wisdom

Can I use and SD card module with an Arduino in order to get more program storage space because I am using a arduino nano and my arduino sketches have very limited space.

0 Upvotes

9 comments sorted by

1

u/xebzbz Mar 30 '23

No, the SD card is for data only.

If you need more memory and processing power, look for esp32

1

u/Thermr30 Mar 30 '23

Honestly, lime xebzbz says, look for esp32 in regards to everything since they are like better in every way! Im just now getting into them and they are like actually professional whereas the arduinos are like starter level stuff.

If you are starting out then learn the basics on arduino but go ahead and start learning esp32 and stm32

1

u/MrJake2137 Mar 31 '23

What are you writing that you're maxing out a 30KB program space?

1

u/Makers_Fun_Duck Mar 31 '23

What is your application?

You can write variables to an sd card and read it from there, and it is fairly easy.

But if hou want to entirely put the code on a sd card, you need a bootloader. Here is one.

https://github.com/zevero/avr_boot

3

u/Makers_Fun_Duck Mar 31 '23

As you expect, you flash your device once, and if you want to update your firmware, you just copy and paste the binary on an sd card.

It is quite convenient for some applications.

1

u/MrJake2137 Mar 31 '23

It won't expand flash memory, it just enables a different way of updating things

1

u/Makers_Fun_Duck Mar 31 '23

Well, of course. But i think OP is looking for something like this if im not mistaken.

1

u/MrJake2137 Mar 31 '23

OP needs to define "program storage space"