Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

Intermittent read failure when merging binary files on ESP32-S3 using SdFat library

I have a function that merges two binary files into a single output file on an ESP32-S3 device. Sometimes, the operation completes successfully, but other times, the function encounters a read failure....
Devloper's user avatar
0 votes
1 answer
44 views

WiFi credentials pulled from an SD card fail, but work hard-coded?

I'm trying to move my hard-coded wifi SSID/password credentials to an SD card so they can be more easily changed, but when passing the SSID to the WiFi.begin() function, I'm getting a status code 1 - &...
radioloko's user avatar
1 vote
2 answers
73 views

Can't read SD card

I get errors to open file on SD card. This is the instructions I use https://www.instructables.com/Micro-SD-Card-Tutorial/ /* SD card read/write This example shows how to read and write data to ...
Gil Sven's user avatar
0 votes
1 answer
41 views

Why can't I write to SD, while the ReadWrite example works?

I've created a sensor that measures the color of the external cerebrospinal fluid drain using TCS3200. I'm able to get readings, but I'm unable to save them on the SD card, yet I'm very much able to ...
Bilal Bahadır Akbulut's user avatar
0 votes
0 answers
52 views

How can I save an image from the ESP32-CAM to a separate SD card?

For a project, I need to take a picture with the ESP32-CAM, save it to an SD card, and then have the Arduino UNO access the image. I have the ESP32-CAM with OV2640 connected to the ESP32-CAM-MB, which ...
elvishpotato's user avatar
0 votes
0 answers
154 views

ESP-C3 Super mini MAX98357A and SD Card Reader together

After a lot of research and minimum results about pin mapping and particular specific configurations for SPI and I2S on ESP-C3, i about to give up on this. I have recently bought ESP32-C3 Supermini ...
eduardogarcia234's user avatar
0 votes
0 answers
48 views

How can I display an image on a Waveshare ILI9486?

I am using STM32 and 3.5 inch TFT display (Waveshare ILI9486) and I want to display an image and I have connected the SD card. How to do using the Arduino IDE? For now I am trying to fetch a word from ...
Sharan k's user avatar
0 votes
0 answers
141 views

DFPlayer Mini unable to begin

I'm using a ESP32-Wroom-32d Firebeetle V4 board and the DFplayer Mini but I'm unable to get a signal from the DFPlayer to the ESP. I checked every connection with a multimeter and see that the player ...
sha88y's user avatar
  • 11
0 votes
1 answer
145 views

More flash memory with SD card

I am pretty sure that everyone have seen the low flash memory error, the same I have got while making my raycaster. So, I was thinking that is there any way to increase the flash memory of ESP32 with ...
Aditya Roy's user avatar
1 vote
1 answer
63 views

SdFat.h pin selection ESP8266

This super simple code, that saves data to a csv file, works perfectly fine on my Arduino Uno (I am using the default SPI pins). However, for my project I need to use an ESP8266. Does the library ...
LMJ's user avatar
  • 25
0 votes
1 answer
145 views

Compressing grayscale image with ESP32-S3-WROOM Freenove

I have a ESP32-S3-WROOM module by Freenove which has a camera and a micro SD card module. I can take a snapshot as a PIXELFORMAT_JPEG photo. However, when I change the pixelformat to "...
BehicMV's user avatar
  • 11
1 vote
1 answer
181 views

I can't connect a microSD card

I can’t connect a microSD card to either the Arduino or the ESP32. It needs to be connected to the ESP32; I just tested it on the Arduino to see if it works at all. Equipment: ESP32 devkit v1, Arduino ...
anon's user avatar
  • 11
2 votes
1 answer
226 views

Read values from a txt file on an SD card

I'm trying to read a text file (has numeric values) from SD card. The values in the file like this 87 512 255 I need to read 87 in ch1 and 512 in ch2 and 255 in ch3. Why did I get on 'SKIP_NONE' '...
stella's user avatar
  • 31
0 votes
2 answers
1k views

SD Card Mount Failed with Waveshare ESP32 using Arduino IDE

I'm currently working on a project using an ESP32 (the Waveshare ESP32 Driver Board), and I am trying to read data from an SD card, but consistently getting a "SD Card Mount Failed" error. I ...
Mike Buss's user avatar
1 vote
0 answers
92 views

COM disconnects and program fails when including code trying to initialize SD card (RP2040 Pi Pico W running Arduino)

I'm having an issue where anytime I run a program such as the SD card read write example (Below) the COM port disconnects. The only changes I have made to the example code is I am using SPI1 instead ...
Rian Noble's user avatar
-3 votes
2 answers
55 views

How to estimate the storage room for txt file when writing data to SD card module? [closed]

I'm planning to use Arduino UNO to do some measurements and record it in a SD card module. The measurements is going to last for a year or 20 month. I need some advice on how to estimate how long can ...
jjk's user avatar
  • 1
2 votes
2 answers
701 views

Read one byte from file and convert to decimal

Ok, I'm fairly new to Arduino and I'm trying to read bytes from a file in an SD card and convert to integer values (0-255). I have a file, with 1 byte on it (128 int value, created in Python, can ...
melev's user avatar
  • 71
1 vote
0 answers
54 views

Arduino MEGA crashes with Ethernet shield to connect to two TCP servers

I have Arduino MEGA with Ethernet Shield and a SD card connected to a RUT950 GSM router. Then, I also have two sensors connected to the router and they run a TCP server that sends measurements ...
Marcus Barnet's user avatar
2 votes
0 answers
218 views

SD card breakout sometimes does not initialise (SPI connection - Teensy 3.2)

I have connected this Adafruit SD Breakout to a Teensy 3.2 over SPI. Because Teensy 3.2 is 3.3 V, I've connected the 3.3 V pin of the Teensy to the 3V pin of the SD breakout. See sketch below. I'm ...
daniel's user avatar
  • 185
-1 votes
2 answers
274 views

Read SD card on ATMEGA328 from ESP826

I have a ATMEGA328 with ESP826 (like this http://arduinolearning.com/hardware/atmega328-esp8266-arduino-board.php) and can successfully send information from the ATMEGA328 to the ESP826 via serial. I ...
user1505631's user avatar
1 vote
0 answers
64 views

Why is my SD shield making my Arduino not power on?

I wanted to use an SD shield on an Arduino Elegoo to make a typewriter (for saving files). I put the shield on the Arduino Elegoo, then connected an LCD screen, then tried to power on using USB to ...
dragonitebrian1024's user avatar
1 vote
1 answer
319 views

Efficient way to save accelerometer data on sd card

I have analog accelerometer that transfer acceleration on 3 axis with frequency 5 kHz. I want to store that data in SD card for in txt file. My sketch is the following: void loop() { // Get raw ...
Kracozebr's user avatar
  • 111
1 vote
0 answers
309 views

SPI protocol with multiple devices

I need to write and read the measurements received by a sensor on an SD card. The card reading would be to display the data on a TFT screen. Specifically, I am using the 1.8-inch ST7735 screen. To use ...
Libegria's user avatar
2 votes
1 answer
165 views

How can I do web hosting having all the code of the site stored on an SD?

I am carrying out this project in which the Arduino acts as a web server and hosts a website in which I show the constantly updated temperature of a laboratory. The problem is running all this code in ...
Leo's user avatar
  • 23
1 vote
1 answer
313 views

Unexpected character added to char buffer array in serial monitor only when SD card initialized

I'm getting an unexpected extra character added to the serial monitor print line only when I initialize an SD card in the code. Normal The code below gives me this expected result in the serial ...
Dashiell Rose Bark-Huss's user avatar
0 votes
1 answer
2k views

how can I delete contents of an SD card in arduino?

I have a datafile, datalog.txt I can open, read and write cool. What is the best way to delete all the file contents? Should I try rewriting the SD card file with NULL data? I have been reading the &...
j0h's user avatar
  • 892
1 vote
1 answer
1k views

How can I play sound on Arduino with an SD card?(I have a problem with the sound)

I am working on a "personal assistant" with Arduino and I am having trouble playing sound from an SD card... I am using a shield called "Easy Shield UNO" by Simkeim, and it has an ...
Renier Jr.'s user avatar
1 vote
0 answers
111 views

Using a level converter to adjust the voltage levels

we are currently working on a device that needs us to connect an sd card reader to 2 Arduino’s ( Uno and zero) , however, we just found that it is not possible to do so without a level converter , may ...
Alya's user avatar
  • 11
2 votes
0 answers
260 views

Low Power, SD Card module and SCK

in order to minimise power consumption in a project using the Arduino Nano, I need to set pin D13 to HIGH after using it as SCK for transferring data to an SD card module (I use the SD.h module. I ...
Kilroy's user avatar
  • 49
2 votes
0 answers
74 views

SD Card Initialization Failed, cannot add inactive module

Just to preface I am not that great at coding or anything and I am currently building sensors off of Oregon State University's Smart Rock sensor code, so the code I am being used is not mine. I am ...
Bryce K's user avatar
  • 21
2 votes
1 answer
372 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 ...
AlexSp3's user avatar
  • 203
0 votes
1 answer
582 views

Seeking to write a ton of information to an SD card as close to live as possible

So I've recently started a project where I am using an accelerometer, along with a SD card breakout board. I've been able to get information to write properly to the SD card with no issues whatsoever. ...
Colby Johnson's user avatar
1 vote
0 answers
75 views

RTC shield with LCD and Keypad

I am having issues with a code that I have been modifying. I can change the TIME, and DATE from a keypad, and see the data on the serial monitor, but it is not recording on the SD Card. Anyone that ...
Merkhav's user avatar
  • 31
1 vote
0 answers
112 views

SD Card Library interferes with Adafruit

Im currently working on a datalogger that uses oled i2c displays and current sensors. Both of them uses adafruit libraries. To write the data, im using arduino's sd library, but somehow, the sd ...
3MP The Rook's user avatar
2 votes
0 answers
210 views

Writing file from SD card to ethernet client stops sending after about 2980 characters, STM32f7 board

I am attempting to write a file found on an SD card to a connected Ethernet client. The file opens fine, and we have no problems writing to the client. For testing purposes I also write the lines read ...
JackOfAllTrades99's user avatar
1 vote
0 answers
109 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 ...
Nitek's user avatar
  • 123
1 vote
1 answer
386 views

StoreProhibited error while trying to read file to PROGMEM

I'm trying to read a file from micro SD on an ESP32-cam board and upload to an FTP server, but when I try to read data from the opened file to an unsigned char, it gives me the following error: Guru ...
user2959923's user avatar
1 vote
1 answer
374 views

Substring: What is causing my output to be truncated?

I suspect that I might be using too many resources, because of the strings, but I am new to Arduino, so not sure where I am going wrong. Any help would be appreciated. What it should do when complete:...
E_Ja's user avatar
  • 21
1 vote
0 answers
63 views

Sending data to server

I have an SD card have a very big file (1M character). i try to load it into memory in terms of 4K character array ( The maximum I could do using Arduino Mega). but this take almost 250 call to the ...
Antoun's user avatar
  • 11
2 votes
2 answers
822 views

read first line from sd card and save the position for again reading from sd card

I am reading sd card .txt file, I want to read the first line then how to save the position of the pointer for the next line read?
Shrikant Nikam's user avatar
0 votes
1 answer
257 views

Arduino RTC SD Card problem

I am using a script on an Arduino to record BME280 data onto an SD card and to display it on a lcd display. To have a valid time stamp I am also using a DS3231 RTC module. I set the time succesfully ...
Kj Ell's user avatar
  • 11
1 vote
0 answers
289 views

How can we remove unused feature in Arduino's standard SD library so we can reduce the sketch size?

With the ReadWrite example in Arduino IDE, the sketch size is 10980 bytes (34%) of an Arduino UNO's storage. How can we reduce the sketch size? There isn't any kind of #define to turn on/off features ...
raspiduino's user avatar
1 vote
0 answers
54 views

SD card initialize and fails when date changed

i am making a project using Arduino Uno that display data on 7 seg display which stored in SD card as day by day. when i make power ON to device then SD card initialization done & data shows ...
Asif Ruikar's user avatar
1 vote
0 answers
1k views

ESP32 SD writes but doesn't append

I've got a microSD module adapter from the far east, and so far so good, and although it can create files using writeFile, it does not append messages. It returns true, i.e: message appended ...
The VaLo's user avatar
1 vote
0 answers
580 views

sdFat and Serial conflict?

I am using the sdFat library to manage an SD card with an ATmega1284p @ 8MHz internal clock. I have come across a strange issue in my system, and I created the smallest sketch that shows the problem: ...
NickG's user avatar
  • 163
2 votes
1 answer
660 views

seeeduino can-bus shield v2: can't read can bus and write on SD card

I'm using a seeeduino V4.0 and a CAN-BUS shield v2.0 with industrial grade SD card. I'm using the default library given by the wiki of seeed. I've simulate a can bus with two mcp2515. I can read it ...
Thanatheos's user avatar
3 votes
0 answers
118 views

Keypad - Speaker - Interference

I am trying to build a system, that plays specific audios (.wav files) from a SD-Card, according to the key combination that has been pressed. I am using: 4x4 Membrane 4 Ohm Speaker MicroSD Card ...
D_0's user avatar
  • 31
3 votes
2 answers
2k views

Nextion Display not getting updated data

I am using an Arduino Mega to display the readings of 4 pots on a Nextion Display as well as store them on an SD Card with a time stamp. I keep getting: recvRetCommandFinished err on the serial ...
Niteesh Shanbog's user avatar
2 votes
1 answer
191 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?
none none's user avatar
  • 233
2 votes
1 answer
2k views

How to read an analog value on ESP32-CAM with the SD card reader enabled?

I use an ESP32-Cam module for a project for which I need both the SD card and the cam. According to this page, the only pins that are not in use by either the camera or the SD card reader are GPIO0, ...
Klaus Meier's user avatar

1
2 3 4 5
8