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.
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
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
Hi.
The closest thing we have is the following tutorial:
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