Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Can you explain what you're trying to achieve? Are you just looking for a way to store long-term data on the Arduino, or do you want another device to be able to read the file as well? Commented Oct 15, 2014 at 15:27
  • You can connect a SD-card, and communicate to it via SPI. Commented Oct 15, 2014 at 15:34
  • I am trying to save the output from a sensor as a text file temporarily which I can later tansfer to a PC Commented Oct 15, 2014 at 15:42
  • 2
    You can save it in a buffer in RAM, and if you maintain power and avoid reset then list it out on the debug serial interface and capture it on the PC side. Or if it is bigger or you want it to last longer, you can use an SD card as already described. An on-board SPI flash would be cheaper, but requires you to build the functionality for dumping the data over the serial and capturing it. Commented Oct 15, 2014 at 15:56