Stack Exchange Network

Stack Exchange network consists of 174 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
2answers
25 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
49 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
0answers
23 views

Pause and resume logic using single pushbutton

I am able to stop the logic using a pushbutton. However, I would like to pause and also resume with the pushbutton instead of stopping.( When pressed once, pause for 5 min and when pressed gain resume ...
0
votes
1answer
17 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
50 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
58 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
67 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
44 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
62 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
0answers
25 views

How to switch power modes in the Arduino SD Library?

I am using the Arduino SD library and I was having an inconsistent response with some SD card modules: some of the SD cards failed to initialize (with SD.begin()) despite having the same hardware (...
0
votes
2answers
25 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
3answers
42 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
52 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
30 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
15 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 ...
0
votes
1answer
50 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
0answers
40 views

bad audio quality

I want to do a project where I need a relatively small speaker, so I tried one of a door bell (16 ohm , 0.25 W), but the sound quality was so bad. Actually I don't know if it's because of the speaker ...
0
votes
0answers
18 views

db.open() not working

I'm trying to use a database on an SD card, using the Extended Database Library. I've managed to create a database (which shows up as a file on my SD card), but my program doesn't get past the line ...
0
votes
1answer
13 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
39 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
155 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
41 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
198 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
38 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
63 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
77 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
26 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
103 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
1answer
171 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
244 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, ...
-1
votes
1answer
87 views

Unable to save the Date and Time as the filename [closed]

I want to save the filename as current date and time
0
votes
0answers
22 views

Save my data into different tables

I use this library EDB master I want to save my data into 3 different tables what's the best way to do this? #include "Arduino.h" #include <EDB.h> // Use the external SPI SD card as storage #...
0
votes
1answer
65 views

Error using SD card module: no matching function for call to

This code is just a test code to write a file to an SD card using an SD card module. When I run the code, I get this error message and I'm not sure what to do to fix the code: no matching function for ...
1
vote
1answer
39 views

SdFat initialization blocks HC-SR04

I appreciate the help of this forum very much and it`s my first time to ask you experts befor driving crazy... ArduinoUno and SDcard-BreakOutboard and DistanceSensor HC-SR04 are not working well ...
2
votes
2answers
120 views

Two SD card interfaces on one ESP8266?

I know it's possible to hook up multiple SPI devices, but how can one access the second drive from a sketch? Looking at the SDWebServer.ino example, my doubt is with the SD.begin(SS); part. If I ...
0
votes
1answer
514 views

Saving a .txt file to SD Card and Reading each content data to txt file then save it to a variable

I am new to arduino I am trying to create an arduino project that Saving a .txt file to SD Card and Reading the txt file then save it to a variable data type "Long" named 'savednum'. I had ...
1
vote
2answers
127 views

Writing “theremin” outputs to a MIDI file on an SD card

I am making a musical instrument (theremin simulator). I want there to be a "record" capability which stores the volume and note the user is playing, into a MIDI file. Note this doesn't actually ...
0
votes
1answer
59 views

Arduino variables loaded from SD card

I am trying to load some variables from an SD card on the start up of my arduino Uno. I have been given some advice but am unable to communicate at the same hours. Using this advice, I have the ...
0
votes
1answer
263 views

Arduino: load variables with values read from SD card

I am having a bit of trouble loading values stored on an SD card and assigning them to variables within my program. I can achieve this as one big block of data, but would much prefer them to be saved ...
0
votes
1answer
45 views

Use SD Card while Pin 11 is being used for PWM

On Arduino Uno Rev3, I just ran the speaker_pcm demo that used TIMER1 and TIMER2 to generate a PWM wave. However, this means that the Pins 3, 9, 10 and 11 can not be used anymore; according to the ...
-1
votes
1answer
48 views

Run python in Windows OS installed in micro SD card which is read by Arduino microcontroller board

I have a python code which runs in my computer with Windows operating system. The code reads some images as input, extends some cognitive services apis from Microsoft azure and finally give an audio ...
1
vote
1answer
231 views

ArduCAM OV2640 and microSD card module — SPI problems

So what I'm trying to do is use the ArduCAM OV2640 (2MP Mini) to take a timelapse. Of course the first thing I have to do it to get it to take a picture and write it to an SD card. The thing is, the ...
1
vote
1answer
50 views

Strange behavior on bitwise operation

i am trying to write a simple program that writes the outputs of an accelerometer (which comes down to 3 analog inputs) onto an SD-Card. I got the hole thing working fine (sending the values as ...
0
votes
1answer
216 views

Parse long CSV file with esp8266

I'm trying to write a code for nodeMCU (esp8266 based board) to continuously calculate distance between GPS location and geographical coordinates written in a CSV file in SD. Originally I thought the ...
3
votes
2answers
291 views

Using SD shield for extra external memory?

I am an Arduino beginner and I am planning to make a musical instrument with it. I want to add record and playback functionalities into the instrument. I figure I will have to store lots of data to ...
0
votes
2answers
625 views

Read CID from SD card with ESP8266

I would like to get the serial numbers of SD cards, with follow code: #include <SPI.h> #include <SD.h> // set up variables using the SD utility library functions: Sd2Card card; SdVolume ...
0
votes
1answer
182 views

Interrupt crashes code when implemented

I've got a mini weather-station with a Davis Anemometer Vantage Pro that uses a reed switch to detect rotations. Using the rotations it then can convert to MPH. When using it alone, I have no problem ...
1
vote
1answer
174 views

Failed to initialise SD card on Leonardo

I'm trying to connect SD card reader to my Arduino. For testing i'm running CardInfo example. It seems like it runs ok when I'm running it on my Arduino UNO, but it fails to initialise SD Card while ...
0
votes
3answers
941 views

Is there a way to play .mp3 files from an SD card on Arduino?

Is there a way to have mp3 files on an SD card in the SD card shield for the Arduino and play an mp3 file on that SD card with a buzzer? If possible also with something like: playmp3(thismp3.mp3); ...
0
votes
0answers
93 views

Arduino SD Card unreadable

Im using the example code shown below and when I open up the serial monitor it says:"Can't access SD card. Do not reformat. No card, wrong chip select pin, or SPI problem? SD errorCode: 0X20,0X0 " /**...