Chat freely about anything...

User avatar
By edneti
#53163 Hi,
I'am searching for this for a while now but couldn't find the exact answer i needed.
Our Arduino gets a small amount of data every few ms. How is it possible to write this data into the flash memory of the esp in one file? The data contains numbers and some ",".
The file, which contains the data, will be available over a webserver.

Thanks
dango
User avatar
By martinayotte
#53165 Are you saying that you have linked an Arduino and ESP thru SPI ?
Which one is the Master ?
If volume of data is small, I would rather use ESP as I2C master and asking at regular interval the Arduino to provide it's data and ESP could write them into SPIFFS file.
User avatar
By rudy
#53186 I'm sure he means that he wants the data to go int the files system and then the ESP8266 would make it available on a web page. No direct transfer to flash. Probably through a RX/TX exchange, but I2C is certainly possible.
User avatar
By edneti
#53214
rudy wrote:I'm sure he means that he wants the data to go int the files system and then the ESP8266 would make it available on a web page. No direct transfer to flash. Probably through a RX/TX exchange, but I2C is certainly possible.


Yep, you are right. So what would be better?
We are doing something like this for the first time. Do you have any tips?