Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sd-card]

SD cards are often used with the Arduino Ethernet Shield. They stand for "secure digital cards" and fit into one's palm. They range from 256MB to 128GB, although most Arduinos only use 4GB. There are also SD micro cards, a smaller version of the cards.

0
votes
0answers
19 views

Sending data from ESP826 (nodeMCU) to database when connection is found

One of the parts in the project that I am currently working on is to provide a synchronization between ESP module (situated in a car nearby my house) and a database* on RaspberryPi (somewhere inside a ...
0
votes
1answer
12 views

Pipe serial dump to SD card file

I am using the RFID module to read mifare NFC chips and the library has only methods to send the data to the serial monitor. I need them to be saved to an SD card file. I have been adding custom ...
0
votes
0answers
12 views

Question about write-speed to a micro-SD Card on Adafruit Feather M0

I am working on a project and am having difficulty maximizing how fast we are able to write data to our micro-SD card. Our current setup is an Adafruit Feather M0 with a Class 10 Sandisk Ultra. We are ...
1
vote
0answers
23 views

Easy way to store Wi-Fi data on Arduino and ESP8266

I'm using Arduino UNO and ESP8266 for my application which has to share data over a public network. At the moment, I hard code the ssid and the password of my Wi-Fi network directly in the Arduino ...
0
votes
0answers
37 views

Read the image value pixel by pixel

I need your help in SD card and image. It's been a week since I have involved with this problem, So I wish you can help me. Here is the problem: I saved a photo to the SD card and now I want to read ...
-2
votes
1answer
34 views

Use 2 DHT22 AND PASS THE DATA TO SD Error File data does not exsist

anyone can help me please to fix this error when I try to compilate says File does not exsist. It would be great if anyone can post the entirely code. Link of code below if anyone can help me please: ...
0
votes
0answers
33 views

DFPlayer for Writing to SD Card

Can you use the DFPlayer to write to the SD card? Link for DFPlayer: https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299 Here's the goal of my project. I have a button that, when pressed,...
0
votes
1answer
47 views

Use 2 DHT22 AND PASS THE DATA TO SD?

I have the code to pass the data from dht22 to sd but for only one and i want to pass the data from 1 dht22 with one file and the data from other sensor to other file and logging in to sd. Anyone can ...
0
votes
2answers
61 views

Connect SD card to Arduino with or without a level shifter

I have some audio files in an SD card and I want to play them using Arduino, thus connect the SD card to the Arduino. Since the transfer of the data will be from the SD card (+3.3V) to the Arduino (+5....
0
votes
1answer
58 views

Trouble with reading Bitmaps from SD-Card

I'm having problems with reading a bitmap file with the SD library. I wrote a small header that reads uncompressed 24-bit bitmap files. It works fine when I try it on Windows 10 MingW with fread() ...
0
votes
1answer
50 views

Serial.print prints but lcd.print does not

The following code reads a txt file from a SD card, finds the corresponding character and prints the next 12 characters: ... char temp; byte who = random(1, 13); // 1 to 12 temp = ...
-1
votes
1answer
69 views

Attempting to read random string from SD card

I was wondering if anyone knew how to read in a random string from a file named "PhraseList.csv" or "PhraseList.xlsx" (whatever is easier)? There is a list of 10k. #include <SD.h> #include <...
0
votes
0answers
24 views

SD card module not responding [duplicate]

I am trying to read an SD card info by Arduino and an SD card module. But the SD card is not responding. I connected the wires carefully several times but it is not working. I am using this module : ...
1
vote
2answers
210 views

Arduino NANO hardware SPI not working

I have an Arduino NANO clone and a 2.4" ILI9341 TFT display. The VCC and LCD pins of the display are connected to the 5V pin of the board. The GND to the GND. All the logic pins are connected to ...
0
votes
1answer
131 views

Want to display an image from SD card to ILI9486 LCD display

I am completely new to Arduino. I have been given a side project to display a image from SD card to display. LCD used is ILI9486 which has a SD card slot at the back of the display module. I have ...
0
votes
1answer
30 views

Trying to save .wav files with new name every loop

I have built a set up with an Arduino UNO hooked up to a switch, so that whenever the switch goes from HIGH to LOW it saves audio to an SD card. I am using the TMRpcm Library. The problem is the ...
0
votes
0answers
158 views

Using an OV7670, Arduino Uno, ESP8266 and SD card

I am planning to create a project which will take a picture with OV7670 and Arduino Uno with SD card and send it to server with ESP8266. is it possible to use Arduino Uno(it has only 2k RAM memory)?
0
votes
1answer
94 views

SD card initialization failed

i use the example sketch of SD card presented in Arduino IDE. It runs well, but when i reboot my Adruino Mega by the reset button, the SD card initialization fails. To fix it, i need to remove the SD ...
0
votes
1answer
179 views

SD Card Read/Write Arduino Mega Fail

I have an Arduino Mega 2560 where I have used a MicroSD Card Module to Read/Write Data on the Micro SD Card. I have tried using the Example in the Arduino IDE but the data is not being written or read ...
-1
votes
1answer
58 views

Data not writing to SD Card on a Feather M0

I'm trying to write a sketch that will pull data from a BME280 and ADXL345 using the I2C protocol and then write that data to an SD card. Using different sketches I've found online I got something ...
0
votes
1answer
97 views

Conflict between SD card shield and accelerometer

I'm trying to get the SD card (Adafruit microshield SD card) and an MPU6050 accelerometer to work at the same time. When I connect the SD card to the Arduino (without the accelerometer), it's ok; When ...
1
vote
2answers
90 views

SD card failed to initialize [closed]

I have a Pro Micro board and I try to make it list my files as in the example of the Arduino IDE. The pins I use are the following: board micro sd module D4 ---> CS D15 ---> SCK ...
0
votes
1answer
123 views

How to connect NRF24 receiver and Micro SD Card Module to Arduino UNO

I would like to know how to connect a NRF24 receiver and Micro SD card module to Arduino board. I have already connected the NRF24 module to the arduino board but now i can't connect the Micro SD card ...
0
votes
1answer
99 views

cannot show free space of SD card with arduino nano

I'm using a nano v3, the SD module and a 64GB microSD card. Writing to the card works fine. But I can't print out the free space left on the card. I'm using this code: /* SD card read/write ...
0
votes
3answers
39 views

Iteed SD card breakout info for Arduino

I got an SD card breakout from an online shop, its the iteed kind without the level shifter, it has the 3.3 / 5 V switch. I cannot find any libraries or write example for it. Has anyone dealt with it ...
0
votes
1answer
98 views

Garbage stored in SD card

I am an electronics graduate and an embedded design engineer, working in this field for about two years apart from the hobby time during my graduation. I am currently working on a system that has an ...
0
votes
1answer
26 views

listing sd card files on a tft screen

I'm currently working on a Arduino project that plays audio files from SD card through a speaker. First Arduino sends the list of all music files, and when I send it a file name, the music is played. ...
0
votes
2answers
157 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 ...
0
votes
2answers
190 views

How to set CS pin on Beetle BLE/Bluno Beetle to Adafruit SD Card Breakout - Initialization Failed!

Hi I have a Beetle BLE (https://www.dfrobot.com/wiki/index.php/Bluno_Beetle_SKU:DFR0339) and I am trying to connect an Adafruit MicroSD card breakout board+ (https://www.adafruit.com/product/254) via ...
-1
votes
1answer
121 views

“undefined reference to SD” with SdFat library [closed]

is there any way to rename a file in sd card without using SdFat? Thank you im getting error when inclung the #include <SPI.h> //#include <SD.h> #include <SdFat.h> ...
0
votes
2answers
235 views

Use 5V SD-Adapter on 3.3V System

I want to use a Catalex Micro SD Card Adapter in Combination with my Arduino MKR GSM 1400. The problem is, that the Arduino uses 3.3V to operate but the SD Adapter needs 5V (or at least 4.5V) to ...
0
votes
1answer
327 views

Using Arduino wireless SD Shield to save data to sd card and send to PC over wireless network

new here. I'm using an Arduino Mega to monitor the current & voltage input to four different sensors. This works fine - the sensors work as expected and I can view the results via the Serial ...
0
votes
2answers
234 views

Reading names of files on sd card returning odd file names

When trying to read the file names from an sd card some are being returned with a ~1 and cutting off the full file name. Initializing SD card...initialization done. TEST.TXT 402 UNTITL~1 ...
0
votes
5answers
249 views

Arduino SD card cannot write (writes crap files and then I get error)

I am developing a very simple project to measure some temperatures and store them in an SD card. I have a problem trying to write. No matter what I do the SD card always ends up with content like this:...
0
votes
1answer
162 views

Reading text from sd card is returning weird characters?

I have an ebook which is converted to a .txt file saved on an sd card which is connected to the arduino. I'm trying to display the words from the book on a 16x2 lcd display on word at a time. It works ...
-1
votes
2answers
38 views

Second SD not writing

simple problem I can't see the reason behind, the sd card writes the first file fine, but the second doesn't write at all. Can any one see why? #include <SPI.h> #include <SD.h> ...
0
votes
1answer
31 views

Can I use GSM and Data Logger Shield at the same time on one Arduino?

Me and my classmates are trying to make an arduino base project where we will be using sensors, GSM, and Data logger shield. We want the arduino to store the data collected and at the same time send a ...
1
vote
1answer
204 views

Use SD-Card module in combination with MKR GSM 1400

I have bought a SD Module with the following Pin-Names: VCC,GND,MOSO,MOSI,CS,SCK. I've found many tutorials on how to use it with the Arduino Uno. But haven't found any on how to wire it with the MKR ...
0
votes
1answer
22 views

Serial string readout analyzed and logged onto an SD card [closed]

I have a sensor that gives me this string, serially read @9600: @T;+019.8;H;043.6;51 This burst arrives automatically about every second. It means: "@" start of the string "T;" means the ...
0
votes
1answer
77 views

Arduino writes file to SD but not content to file

I'm using an Arduino UNO, the Extended Database Library (EDB), and an microSD Card to read/write 2 database tables. I've managed to create both ".db" files on the SD (they show up in Finder when I ...
0
votes
1answer
883 views

Reading bytes from a file on SD Card - Understanding Buffer

I have the following piece of code which opens a Bitmap from the SD card and outputs the width to the serial monitor. #include <SPI.h> #include <SD.h> File bitmap; void setup() { ...
0
votes
1answer
74 views

FIle not being found on sd card

I have some quite long code to copy a file from an SD to the same card, but under a different name. I have one version where the file names are built-in to the sketch, but to make it more portable, i ...
0
votes
1answer
897 views

NodeMCU V3 + SD Card with Arduino IDE Not working

I am trying to connect CATALEX MicroSD Card adaptor to new NodeMCU V3 and PIN configuration are as below, NodeMCU ---------> SD Card GPIO13 (D7) ------> MOSI GPIO12 (D6) ------> MISO GPIO14 ...
0
votes
1answer
78 views

Arduino UNO And SD Card Custom csPin

I've connected SD card module to Arduino UNO. I want to use PIN 10 for PWM DC motor control and because of that, I've connected CS pin directly to another pin (A3). SD card is working properly, but ...
0
votes
1answer
383 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 ...
-3
votes
1answer
204 views

How we can Create the folder into SD card and gives the path for file to save the data into the folder

I am trying to store files inside a series of folders, depending on month and year. I am using a RTC, and the standard SD library. I have previously gotten the program to set the file name to the ...
0
votes
1answer
39 views

Cannot access SD card on WINC1500

I have a WINC1500 shield and have the Wi-Fi side working fine. I want to do some datalogging to the SD card and am having trouble getting it running. I have bought a 16 GB Sandisk card and inserted it....
0
votes
2answers
190 views

Data is not being written into SD card

I want to save the file as date and time and I want to open the file mySensorData = SD.open(filename, FILE_WRITE); in the set up. It shows "insert SD card" when I try to open the file in setup. The ...
0
votes
2answers
456 views

`.readFileCounts()` not working on DFPlayer mini module

I just played around using a MP3-TF-16P module, aka DFPlayer mini. The library and the examples I used as a basis can be found here. My current setup contains a button (NC, normally closed), which is ...
0
votes
0answers
928 views

Arduino ESP8266 Webserver SD

I connect Micro SD card adapter to my esp8266. I uploaded the SD webserver example sketch into the esp8266, everything works perfectly once I created index.htm, now I add LED to digital pin 4, now, ...