I am currently working on a small battery-powered wine storage quality sensor. The sensor will take temperature, humidity, and ambient light readings (I2C) every 10 minutes. The MCU will be in sleep mode otherwise.
I want to make a user interface for the device. The idea is to store the measurements in flash memory (256 KB) and once the user plugs in the device, the measurements will be read and displayed on the user interface. I don't have a lot of experience with projects of this nature and I'm confused about how one can do this.
I was hoping someone with more experience can give me clarification on:
How you would get a computer program to read the flash memory of the microcontroller?
Is it a better solution to make use of an SD card (SPI) and then create a program that reads the SD card?
Any alternative ideas are welcome!
Thank you (apologies if this is the incorrect forum, this is my first post)
I think an SD card is the easier option. Also, you don't need a program to read the data from the card, just plug it into the computer. For example, you save the data as a text file, which you then view with Notepad or whatever you want.
I'll do the work for free. Old school analog, circa 1976 wine quality analyzer here, carbon substrate CPU. Also, I make wicked nachos. Feed me your wine; I'll tell you how good it is (or isn't). Beer too.
I assume that the module for working with the SD card has a constant consumption. See if there is some way to turn off its power when the microcontroller is not using the SD card.