Questions tagged [sd.h]

Questions about the Arduino SD library used for accessing SDCards.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
168 views

Duplicate Arduino SD Library

I need to have two independent arduino sd libraries so that I can modify one and have the other one intact. I struggle to do so. Does anyone know if this is even possible? What should be the path to ...
Espada86's user avatar
4 votes
1 answer
608 views

Random access to SD card using SD.h or another library (ESP32)

I'm trying to use a SD card with my ESP32 in order to save some variables in a txt file. Each variable uses 1 byte, so they can be represented by an 8 bit extended ASCII character. The issue is it ...
AlexSp3's user avatar
  • 203
2 votes
1 answer
145 views

Returning to parent directory with the SD library

I have a File variable called dir and i'm building a simple file explorer for my device. Is there a way to get a reference to dir's parent directory?
none none's user avatar
  • 233
1 vote
0 answers
70 views

Arduino SD card module failure

I am recieving SD card failuer and I did everything I could. I use the correct SPI pins; CS > 10 MOSI > 11 MISO > 12 SCK > 13 VCC > 5v GND > GND I did format my SD card to FAT32 I ...
neikami's user avatar
  • 11
1 vote
0 answers
616 views

Edit JSON File on SD Card

I am currently Working on a project, where I save values in a JSON File on an SD Card. The JSON looks something like this: { "ID1":{[[starttime, endtime], [starttime, endtime], [....
Markus's user avatar
  • 11
0 votes
1 answer
1k views

Is there a way to remove the 8.3 filename limitation on the SD.h library?

I need to be able to create text files on my SD card that are with names longer than 8 characters (which is what the SD.h currently limits me to). A choice would be to move to the SDFat library but ...
JingleBells's user avatar
0 votes
0 answers
202 views

Esp8266 SD card read from inside of class

This is now my 3rd attempt at being able to read this sd card from within the Esp8266webserver. I have made a class WebServer, and would like my sd card to contain my site. What throws me off, is I am ...
user77533's user avatar
  • 101
0 votes
1 answer
56 views

Extra `eecfbba=.@aa` file in sd card

I am doing a project, and I need an SD card. Everything worked well, but after a while when I read the SD card from my PC(Windows 10 64 bit, Intel Core), I found a file called eecfbba=.@aa. It's so ...
Chrimpyslime's user avatar
0 votes
1 answer
215 views

Arduino not writing full NMEA sentence to SD-card file

I'm currently building a small GPS-box that's supposed to track my location and write the full NMEA sentence to an sd card. (I want to pars it afterwards at my pc) I'm using the Arduino Nano and the ...
DerEntinator's user avatar
1 vote
0 answers
159 views

ESP32 doesnt save every string to SD Card

My code initializes, the header (the ID; Value string) for the .csv file gets saved, but the dataString which is the most important part doesnt save to the .csv file. I get an arraypointer to the ...
Xenoshell's user avatar
1 vote
1 answer
3k views

Editing a particular position in a file stored in SD card

I am trying to store some variables in a text file which is saved in a SD card, using the SD library. Every time my program runs, it load the values of those variables from the file. After a few ...
Mohammed Arshaan's user avatar
1 vote
0 answers
453 views

SD card creating "extra" file?

So, maybe I'm too tired to see the obvious issue here, but my SD card script is causing a "blank" file to be created, then a secondary file to be correctly created. I'm trying to store data logs, and ...
stillborn86's user avatar
1 vote
2 answers
2k views

"SSD1306 allocation failed" when #include SD.h

I'm using the ssd1306_128x64_i2c example file from the 1306's library. It works perfectly until I add the #include SD.h line, after which it gives the allocation failed error. Please advise. #...
cds333's user avatar
  • 141
0 votes
2 answers
956 views

How does one **get** attributes for SD files?

To be able to set the date and time of the files on my SD card I followed this answer: https://arduino.stackexchange.com/a/39127/49678 Now I am wondering How do I read the values out in the ...
Heneer's user avatar
  • 105
1 vote
1 answer
2k views

Arduino SD count files and open last, How to?

I am trying to count files. I have one hidden file from Windows10 so i am doing "-1" but I want to open the last file and can't work out how, any help? Please, Thanks #include <SD.h> int ...
Egauss Egauss's user avatar