• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP 32 saving string in CSV in JSON in local folder

Q&A Forum › Category: ESP32 › ESP 32 saving string in CSV in JSON in local folder
0 Vote Up Vote Down
Swapnil Bhole asked 2 years ago

We have string coming from ESP 32 every second, we have to store this string in CSV or JSON or in MySQL database,
I am software in vb.net. In this, instead of serial , I have to read data from any file format. 
strings are coming from serial & we are able to read in vb.net. But, I have to route it through any file format.
 

Question Tags: saving string
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I’m sorry, but I didn’t understand your request.
Do you want to know how to save data in a file using the ESP32? Would you like to save the file in the ESP32 filesystem?
 
Can you please clarify?
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 2 years ago

Do you want to know how to save data in a file using the ESP32? =>
Yes.
But, file should be in local folder in PC (Not in SD card of ESP32 or ESP32 storage).
or data from esp32 to database in local folder in PC
 

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
The closest thing we have is the following tutorial:

  • https://randomnerdtutorials.com/esp32-esp8266-mysql-database-php/

In that case, we have a database on a cloud server. But, as mentioned in the tutorial, it can be adapted to use any server that runs your database. We have an example of how to set it up on a Linux/RPi computer: https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/
 
I’m not sure about setting it up on other operating systems.
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.