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
1 vote
1 answer
65 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 ...
0 votes
1 answer
26 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 ...
0 votes
1 answer
353 views

Connecting microSD reader and e-paper display to Nano at the same time?

Pretty much as the question states, I'm wondering if it's possible to connect (this: https://www.waveshare.com/7.5inch-HD-e-Paper-HAT.htm ) 7.5" e-paper display that has raspberry pi HAT and an ...
0 votes
1 answer
69 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 "...
2 votes
1 answer
159 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 ...
2 votes
1 answer
1k views

Arduino Mega2560, Ethernet Shield & OV0706: "Camera not found"

I want to take a picture with the OV0706 and save it to an SD card. I'm using an Arduino Mega2560, Ethernet Shield (with SD slot) and an OV0706. I tried the tutorial for this camera from Adafruit, but ...
1 vote
1 answer
105 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 ...
0 votes
1 answer
893 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, one word at a time. It ...
1 vote
1 answer
699 views

Using a keypad to play an audio file on Arduino Mega and Adafruit VS1053?

I am trying to use a keypad to trigger an audio file using an Arduino Mega and Adafruit VS1053 Music Maker. I have gotten the music files to play independently, and when the correct number is entered ...
2 votes
1 answer
184 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' '...
0 votes
3 answers
2k 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 ...
5 votes
0 answers
337 views

SPI between Master arduino and Slave arduino

How can I send the string from Slave SPI to Master SPI? I want to write code in Bare Metal. The problem which I am facing is I can't make out what will be my blocking function in Master SPI code when ...
3 votes
0 answers
2k views

How to extract fingerprint template from Arduino Fingerprint Sensor

How to extract fingerprint template from Arduino Fingerprint Sensor and store it to SD card module using adafruit library and then search/import it from SD card module when tapping the fingerprint? ...
2 votes
1 answer
168 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?
0 votes
2 answers
674 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 ...
1 vote
0 answers
74 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 ...
-3 votes
2 answers
47 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 ...
2 votes
2 answers
611 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 ...
1 vote
0 answers
41 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 ...
2 votes
0 answers
190 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 ...
2 votes
1 answer
3k views

Record data to SD card with ATtiny85

An application of ATtiny with SD card is complicated due to missing of hardware SPI in attiny. The "ATmega" code for creating of a "SD file" is: #include <SPI.h> ...
1 vote
1 answer
2k views

How to get the free/used space on a SD card and transmit it

I'm using this block of code to read and sum up the bytes of all the text files I have on an SD card: long get_sd_memory_taken() { File dir = SD.open("/"); long sd_memory_taken; int c = 0; ...
0 votes
2 answers
846 views

TFT and SD don't work together

I use a 2.8" TFT Touch Shield v1 and I want to read some data that were stred in sd and plot them with the tft. When the following code is ordered, to access the data. TFT freezes.... but the code's ...
1 vote
0 answers
483 views

SD card creating "extra" file?

So, maybe I'm too tired to see the obvious issue here, but my SD card script is causing a "blank" file to be created, then a secondary file to be correctly created. I'm trying to store data logs, and ...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
747 views

Is is possible to hook up an SD card and a GSM/GSRM module?

Is it possible to hook up a GSM/GSRM module AND an SD card at the same time to an Arduino Uno, or any Arduino? I want to build a cellphone to read off the buttons that are being dialed into it for a ...
2 votes
2 answers
263 views

Arduino Uno SD card storage

I am interested in storing accelerometer data to an SD card. Since power consumption is the main consideration of my project, it is important to do as few writes to the SD as possible, because the SD ...
1 vote
2 answers
6k 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() { ...
-1 votes
2 answers
250 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 ...
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 ...
1 vote
0 answers
60 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 ...
1 vote
1 answer
297 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 ...
7 votes
7 answers
10k views

Understanding why should avoid “String” and alternative solutions

Why “Strings” are bad for Arduino? Which is the most efficient and fastest solution to read and store the data from Accelerometer and GPS? Stings are evil for Arduino An Uno or other ATmega328-...
1 vote
2 answers
365 views

Is there some hardware that can be used to upload sketch source code via USB flash disk (Automatically By plugging it in)

Well am asking this basically to know if it is possible to create a bootable flash drive that automatically uploads any source code onto the arduino just like creating a bootable flash drive when ...
3 votes
1 answer
264 views

Wire SlaveReceiver : will the registered function in onRecieve interrupt/conflict with loop block?

I am currently researching on I2C, and I made a configuration that has MasterWriter that transmits data to a SlaveReceiver that will store the data received from Master, into an SD card, and then ...
1 vote
0 answers
257 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 ...
-1 votes
1 answer
694 views

"undefined reference to SD" with SdFat library

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
1 answer
1k 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 vote
3 answers
2k views

Arduino writes only one time on SD card - Data log

I connected the SD card to Arduino as it's explained here. The problem is that the Arduino writes only once to the SD card and I don't understand the reason. #include <SD.h> #include <SPI.h&...
12 votes
3 answers
40k views

How to increase SD card write speed in arduino

I'm creating a data-logger system which logs data in SD card at a high speed of about 20000-30000 bytes per second. But the SD library in arduino currently writes data at about 4500-5000 bytes per ...
0 votes
1 answer
3k views

ESP32 saving data to SD card in .csv doesnt format correctly

i want to save a vector to a .csv file on a SD Card. I watched this tutorial on how to do it and it describes it perfectly even though its kinda dated. My Problem is that everything is saved into the ...
0 votes
1 answer
531 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. ...
2 votes
1 answer
1k views

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

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 Monitor or ...
1 vote
1 answer
283 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 ...
0 votes
1 answer
689 views

Byte text file to array

I'm trying to display a bitmap on gLCD 128x64, I stored the bitmap into txt file 1.txt in a SD card this is a part of bit map as following: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,...
3 votes
1 answer
124 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
1 answer
1k 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 &...
-1 votes
1 answer
3k 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 ...
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 ...
1 vote
0 answers
108 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 ...

1
2 3 4 5
8