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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
9 views

Arduino SD card cannot write

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
26 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 ...
0
votes
2answers
24 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
12 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
14 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
31 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
12 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
36 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
30 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
36 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
60 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
32 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
28 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
70 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
23 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
86 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
80 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
96 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
62 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
17 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
43 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
25 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
72 views

Two SD card interfaces on one ESP8266?

I know it's possible to hookul 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
171 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
101 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
55 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
146 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
35 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
37 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
164 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
49 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
184 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
188 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
496 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
147 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
112 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
535 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
65 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 " /**...
0
votes
0answers
102 views

Retrieving problem in Extended Database Library and SD Card

I can successfully save to the extended database library, but when I retrieve the records the fullname of the previous records is replaced with the recently saved fullname. What could possibly be the ...
0
votes
1answer
106 views

SD begin affecting OLED display

Okay, I'm using u8g2 library for my OLED display. After calling SD.begin(4) function, I cannot display anything on my OLED. I'm using U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ ...
0
votes
2answers
173 views

Reading setting from microSD

I modified the SD sketch for ESP8266 to read WIFI setting from a file named CONFIG.TXT. The text file's content format is SETTING=VALUE. Ex. SSID=AP001 KEY=AP001 I manage to separate the SETTING and ...
-1
votes
1answer
593 views

Using SD library in a ESP-IDF project on ESP32 [closed]

I just started to move from the Arduino firmware to the esp-idf firmware. I read that link. I learn that I have to include libraries creating a component files, with a component.mk file, *.c, *.cpp ...
0
votes
2answers
137 views

EDB. Is it possible to create multiple tables with db.create()?

Good day! I seem to be having trouble creating multiple tables with EDB. I am using Arduino UNO and SD Card module to save my db. Here is my Serial. Here is my table declaration. struct ...
0
votes
1answer
119 views

How to create a log file document which is not editable by a word processor on SD card

I'm using a Arduino Mega 2560 and SD card shield to make an industrial logging panel. Is there any way to write log data document in a read-only type file like a pdf on SD card so that the contents ...
1
vote
1answer
109 views

Portal gun sound effects and lights

I'm building a portal gun from the game Portal and I'm struggling with the wiring for the lights and sound. I've the lights working using the first image from Instructables and adding more LEDs ...
1
vote
1answer
134 views

Pass a char array to a function that uses File as parameter

I am in serious need for help here. I have a rather small function that get's the number of files from within a given directory. Now, the directory name (that is the path) is stored in a char array ...
0
votes
2answers
87 views

Arduino extended database library data type. Is char str[] in Arduino the equivalent of VARCHAR in SQL?

I am new to Arduino and I am currently working with an Arduino Uno and SD card module - SD/MMC for database storage using the Arduino database library from https://github.com/jwhiddon/EDB. My ...
0
votes
0answers
35 views

Code runs fine under USB power, but SD file reading fails when powered through RAMPS 1.4

While building a fairly complex sketch for a 5 axes CNC machine, I ran into repeated problems trying to get a stable read from the SD card-reader built into the Ramps 1.4 128x64 LCD display. After a ...
0
votes
2answers
186 views

Using a Micro SD card for data logging, bad idea? Reliable?

I'm planning a project that will read data from an I/O board. The micro SD card would hold data for input bit identity, labeling ?, then logging after events end. Nothing would be written to or read ...