Questions tagged [sd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
663 views

How can I work with two devices that use the SPI protocol?

I'm working with a project in which I need to use an SD card module and an RFID antenna simultaneously. The devices that I'm using are the MFRC522 and the CATALEX SD Card Adapter. Both have SPI ...
1
vote
1answer
1k views

read CID of SD card with SD.h library

I would like to be able to read the serial numbers of SD cards using the SD.h library. Only reading the values is enough, I am not looking to modify the CID. This should be possible but I do not have ...
1
vote
1answer
166 views

Connect Arduino to an external microSD card reader [closed]

I have a camera with a microSd card reader that is the only output type. I want to read the microSd when the camera makes a photo. How can I read it with an Arduino? Duplicating the reader connections ...
0
votes
1answer
2k views

Write char array containing new line to SD card

How do I a buffer (char array) containing new line character to SD card using SdFat? I tried: File myFile = SD.open("test.txt", FILE_WRITE) myFile.write(buffer, BUFLEN) but I get this instead: ...
1
vote
1answer
864 views

Using the SD library with the ESP8266 DevKit

The situation is as follows, I've connected a SPI TFT screen to the ESP8266 DevKit, set my own MISO,MOSI, CD, SCK pins and it works fine, wanted to do the same for using the SD card reader, but then I ...
2
votes
2answers
4k views

How does one set attributes for SD files?

How does one set file attributes, e.g., creation date, for a file being created on an SD?
0
votes
1answer
789 views

How do I load an image using fopen()?

I am trying to write a program that fopen()s an image so I can use it later. I've wired my SD card adapter exactly the way shown here: [![enter image description here][1]][1] And I'm using the ...
4
votes
2answers
5k views

Data logging speed with arduino

I am trying to make some data logging conserining physiological data coming from a bitalino. My problem is that I would like to collect samples at something like 1 kHz, that is the rate that the ...
2
votes
1answer
775 views

LED strip and SD card

My problem is simple yet extremely problematic. For some reason, I cannot interact with an SD card and a LED strip at the same time with my arduino. After hours of testing multiple scripts, I am 99.99%...
2
votes
0answers
523 views

Arduino Audio Recorder - Speed Correct but Wrong Pitch

I'm working on an audio recorder project on an Adafruit Adalogger with SAMD21 ARM-based processor using the Arduino IDE. The desired sampling frequency is 10 kHz, 12-bit resolution with an analog ...
3
votes
1answer
923 views

SD.begin() causes SD card to pull 20mA in idle mode. Seem high?

I'm working on a project that uses an Atmega328p as the primary controller. I am using the Arduino libraries for programming. I currently have an SD card in the project. I've done quite a bit of ...
1
vote
1answer
2k views

Global memory reduction when using SPI/SD

I want to use an SD card and when including the library both SPI.h and SD.h are included. Also later I want to use an external SRAM chip (probably using SPI.h as well). However, without the SRAM chip ...
0
votes
2answers
791 views

How fast is a SD page read from a file?

For a project I would like to do, I asked a question about whether to use SD or EEPROM (see Question I checked how much memory I would need without any restrictions which is like 2 MB (or more) so a ...

1
2