PROBLEM WHIT ARDUINO UNO + SD

Hi friends, :slight_smile: i'm usign Arduino UNO and SD module, also I have a RTC1307 module. In my program I have 4 functions who uses my project, which are:

CREATE an password (many masque be created later) and store it in a "csv" file where the inauguration was first registered each password with time and date

REGISTER access that will be made using the specified password with time and date in the same file.

SEARCH in some specific password and log into the file "csv" password that was sought with time and date.

DELETE a specific password in and register the same file with time and date.

:~ The problem is that when I put the system to work only one or two of those functions ignores the others running, and those that execute if I have to choose and delete the rest. It seems that the memory of Arduino is not sufficient to support the use of these functions but the sketch shows me having 80% of software used and 75% of variables used. =(

:wink: I need help to know if this is so limited that it is Arduino UNO and Arduino MEGA 2560 that works wonders, thank you very much

The 80% for the flash (code) is no problem.
The 75% for variables can be a problem if you also have many variables (or buffers) on the stack.

Peter_n:
The 80% for the flash (code) is no problem.
The 75% for variables can be a problem if you also have many variables (or buffers) on the stack.

Hi brother, effectively is the dynamic memory because I can only 0.5kb for operating the arduino 2 kb having , I will have to use the Arduino MEGA 2560, this generates cost me more but I have to deliver for my client. Thank you very much , was very helpful reply because you're very right, thanks

There are many ways to reduce sram usage.
For example Serial.prinln(F("Hello World));
The 'F()' macro defines the text in flash, and not in sram.

For myself, I often use a static buffer that I use throughout the whole sketch.

Declare constants as 'const'.

Use PROGMEM to create tables with values in flash (just like the 'F()' macro.

And perhaps the code itself can be written in a different way.

Yes of course you can do that with the arduino uno. It may just be poor code that is causing you trouble.