Comments on: ESP32 Data Logging Temperature to MicroSD Card https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 09 Feb 2025 09:40:00 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-1006543 Sun, 09 Feb 2025 09:40:00 +0000 http://randomnerdtutorials.com/?p=63239#comment-1006543 In reply to FF.

Hi.
Thanks for the info.
Regards,
Sara

]]>
By: FF https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-1006004 Fri, 07 Feb 2025 08:25:42 +0000 http://randomnerdtutorials.com/?p=63239#comment-1006004 In reply to Sara Santos.

I think this task can be easily achieved by using the ClientFTP library on the ESP32

#include “ESP32FtpServer.h”

the lib code can be downloaded from GitHub at this link:

github.com/techworldthink/ESP32_FTPSERVER_SD?source=post_page—–7bd8da10c8c0——————————–

so you can access to your SD data through the FTP from the local network. Access can be done directly in Windows Explorer or using a client like FileZilla or by simple Python script based on the ftplib module.

Hope it help.
BR

]]>
By: FF https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-1006002 Fri, 07 Feb 2025 08:16:49 +0000 http://randomnerdtutorials.com/?p=63239#comment-1006002 In reply to Andi.

You have to check if your SD card module have or not the on board regulator, if not you can power the SD card directly from the 3.3V of the ESP32, if the regulator is on board you have to power the SD card module by means of the 5V from the ESP32 board.
BR

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-989209 Fri, 06 Dec 2024 10:29:58 +0000 http://randomnerdtutorials.com/?p=63239#comment-989209 In reply to Kris Pal.

Good question.
It was a mistake. I’ll check it out.
Regards,
Sara

]]>
By: Kris Pal https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-988997 Thu, 05 Dec 2024 12:57:26 +0000 http://randomnerdtutorials.com/?p=63239#comment-988997 Why the card is initialized two times ?

if(!SD.begin(SD_CS)) {
Serial.println(“Card Mount Failed”);
return;
}

…….

Serial.println(“Initializing SD card…”);
if (!SD.begin(SD_CS)) {
Serial.println(“ERROR – SD card initialization failed!”);
return; // init failed
}

I have problem with appending file.

]]>
By: Ray Cleary https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-968748 Tue, 08 Oct 2024 18:43:10 +0000 http://randomnerdtutorials.com/?p=63239#comment-968748 Thanks very much for having this available it was quite a learning experience for me.

My application is to know how much hot water there is in the insulated hot cylinder. I have five sensors: Cylinder Bottom, Cylinder Middle, Cylinder Top, Cold pipe, and Hot pipe. They show on a 2 line 16 char LCD display and are also saved to SD. Initially I will save the data every minute so I can see the optimal duration to heat the water with gas, solar PV, or grid. Also the others in the household can see if there is sufficient hot water without turning on the heating.

Because I wanted to keep the LCD display going I did not want to use the sleep method you demonstrated. I had to figure out what to put in the Loop and how to call the functions from within the loop. I am new to this but I got there.

Thanks again

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-948264 Wed, 14 Aug 2024 22:50:33 +0000 http://randomnerdtutorials.com/?p=63239#comment-948264 In reply to TSLB.

Yes.
That’s right.
Regards,
Sara

]]>
By: TSLB https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-948194 Wed, 14 Aug 2024 12:26:07 +0000 http://randomnerdtutorials.com/?p=63239#comment-948194 I have a question about the license to use the code.
In your other projects you write in your code, that it can be used by other people. Is it allowed to use your code from this project, too, as long as you get mentioned in the code of an other project ?

Best Regards and thank you very much for your tutorials !

]]>
By: Graham H https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-897624 Mon, 11 Mar 2024 03:23:58 +0000 http://randomnerdtutorials.com/?p=63239#comment-897624 In reply to Sara Santos.

Thank you this great tutorial and others. I was able to make a battery powered temperature logger with two ds18b20 waterproof probes, measuring temperatures within a climate controlled container. I did come across an issue when my Arduino IDE detected a newer version of the NTPClient. I updated, and the code no longer compiled. I was able to revert to the Taranais version, but now I keep having to “ignore” the new version update. Do you know how tell Arduino IDE to ignore the newest version on NTPClient?

]]>
By: Jim Aps https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/#comment-890833 Tue, 13 Feb 2024 17:24:07 +0000 http://randomnerdtutorials.com/?p=63239#comment-890833 Hello and thank you for this nice tutorial. I would like to ask a question.
I use SD card for data logging with ESP32 DevKit V1. I need to read the contents of a file on the SD card in reverse order, first the last written and backwards. Not just the last 10 or 30 records, but as far back as I need at any given time. Is there any way to do it? Thanks in advance.

]]>