Questions tagged [sd]
The sd tag has no summary.
64 questions
0
votes
0
answers
68
views
Improve SD logger - 0.02% of data isn't logged at desired rate
I'm working on a project to read data over CAN, display it on LCD and log data to SD card. LCD is on HSPI and SD card on VSPI. CAN and LCD code is working on core 1 and SD on core 0, there's no wifi. ...
2
votes
0
answers
343
views
Uploading image to Google Drive with Arduino/ESP8266
I have a toucscreen tft connected to an ESP8266 the aim for which is to take a screeenshot (.bmp format) and upload to Google Drive. I have been following this tutorial.
Where I am stuck in how to ...
4
votes
2
answers
1k
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 ...
0
votes
1
answer
758
views
sizeof tm struct (datetime) different on ESP32 vs linux64x
I am logging binary data to my SD. I log a datetime object of type 'tm', which is 36 bytes on ESP32.
When I create a datetime of type 'tm' on linux it is 56 bytes.
ESP32 write tm to SD:
[tm datetime = ...
2
votes
1
answer
421
views
How to difference hardware reset and software reset?
I have an arduino code with an SD card where I save some data. When I load a new code, The SD must update with the new data that I put in the code, but if I reset the Arduino by the reset button, I ...
0
votes
1
answer
91
views
What is the chip in this board?
Doing some research about SD card adapters, I found these boards with a chip on them.
They are actually very common. They have a linear voltage regulator because UNO for example use 5V but SD card ...
1
vote
0
answers
331
views
Arduino Zero and micro SD card not working
I have an Arduino Zero processor (atsamd21g18a) with a microSD shield connected (check images of schematics)
The point is that I cant make it to work, not with sd.h sketch and not with sdfat.h sketch....
3
votes
3
answers
16k
views
Proper Micro SD card schematic
I am using a micro sd card shield with an arduino zero, and I am not sure I am using a proper circuit with it. This is the circuit I am using right now:
That is all it is there, just a capacitor for ...
2
votes
0
answers
184
views
Can't access SD card when running timestamps.ino from sdfat.h lib on arduino MKRZero
Im trying to run Timestamps.ino (an example sketch) from the sdfat.h lib into a mkrzero arduino.
This is the code I am running:
/*
* This program tests the dateTimeCallback() function
* and the ...
1
vote
0
answers
131
views
Get LFN from SFN with SDFat
I am trying to optimize the memory usage of my ESP8266 arduino sketch by using 8.3 SFN folder names internally, but LFN when needed for user output. Unfortunately when opening a folder by using the ...
10
votes
1
answer
2k
views
Why is our refresh rate consistently decreasing in logging on SD card?
The current code is used to gather the state of 12 infrared beams and log them to an SD card using the real time clock to mark the time. The code uses a switch to turn the device on and off and an LED ...
2
votes
1
answer
232
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?
1
vote
0
answers
194
views
Can I record us (microseconds) with AnalogBinLogger example in SdFat's library?
I am using the AnalogBinLogger from the SdFat example library. I am using it to record 8 analog channels at 5kHz! which is amazing (thank you SdFat).
Is it possible to include a separate column to ...
3
votes
4
answers
6k
views
Best buffering practice for continuous SD card writing
In a simplified example, I have a microcontroller functioning as a data acquisition device - sensor data is received over UART, and then saved to an SD card.
This received data is in the form of a 12 ...
1
vote
1
answer
86
views
SD seems too slow for SMTP
I have asked this question on the arduino forum as well.
I have used SMTP before using client.print (and client.println) but I am now trying to move as much text as I can from RAM to SD (and so I need ...