Storing Sensor Data on SD Cards or Memory, Keeping Variables During Reboots, and Anything Else Around Safekeeping Your Data

Storing data is essential for many projects. In this section you learn your various options.

Permanent Storage

If you’d like to keep data (i.e. sensor data) safe even during power losses or reboots, you need a way of permanent storage.

SD Cards

Probably the easiest and most versatile method is to use cheap SD Cards. They provide gigabytes of storage volume and cost only a few bucks. Maybe you want to even recycle an old SD Card from your old camera.

To read and write to SD Cards, you need an SD Card Reader. They are really cheap to get at around 1 Euro. Here is an article with all the details you need to know to hook up an SD Card Reader to your project.


Please do leave comments below. I am using utteran.ce, an open-source and ad-free light-weight commenting system.

Here is how your comments are stored

Whenever you leave a comment, a new github issue is created on your behalf.

  • All comments become trackable issues in the Github Issues section, and I (and you) can follow up on them.

  • There is no third-party provider, no disrupting ads, and everything remains transparent inside github.

Github Users Yes, Spammers No

To keep spammers out and comments attributable, all you do is log in using your (free) github account and grant the permission to submit issues on your behalf.

If you don’t have a github account yet, go get yourself one - it’s free and simple.

If for any reason you do not feel comfortable with letting the commenting system submit issues for you, then visit Github Issues directly, i.e. by clicking the red button Submit Issue at the bottom of each page, and submit your issue manually. You control everything.


For chit-chat and quick questions, feel free to visit and participate in Discussions. They work much like classic forums or bulletin boards. Just keep in mind: your valued input isn’t equally well trackable there.

  Show on Github    Submit Issue

(content created Feb 28, 2024)