brown-SSW / brown-solar-charger

This program monitors a solar power system and runs a physical and online dashboard.
https://brown-ssw.github.io/brown-solar-charger/
4 stars 1 forks source link

read and write data to SD card #8

Closed joshua-8 closed 3 years ago

joshua-8 commented 3 years ago

an sd card would give lots of space for keeping logs of data to analyze later to find out how the station is getting used

an sd card could also be a way for the esp32 to "remember" even if it gets reset

I think there are example programs that attach files on an sd card to an email

joshua-8 commented 3 years ago

I've done some initial work. I wired an sd card to an esp32 and was able to read and write from the card. The sd card is used for #17 (sending emails with file from sd card). More work is needed to do everything needed for creating and logging data to files (copying functions from the sd_test example program, modifying them, testing them, and handling sd cards being removed and put back in. swapping cards might become a separate issue

joshua-8 commented 3 years ago

closed, the esp32 is just a sensor and does not need to save data. an sd card is less accessible anyways