Data Logging
muttvac
Posts: 14
in Propeller 1
Does anyone have any experience storing data. Moving data from sensor to a memory. Does anyone have code example??
Comments
1) How much data (in bytes) in what period of time?
2) What kind of memory? SD card, EEPROM, SRAM, tape drive, neurons?
3) Are you looking for a specific language? Here on the forums, we have experts in Spin, C, C++, Forth, Basic, Propeller Assembly, and a few others even.
2. written into Quick start propeller memory - SRAM
3. Example in Spin
Thank you. This is a good start. Ten bytes isn't much, but it depends how often you need to write those ten bytes.
The Quickstart does not have SRAM. It has a 64kB EEPROM, and the Propeller's built-in RAM (which is volatile, so I'm guessing not what you're looking for). For just 10-bytes, the EEPROM might work very well for you since no extra hardware or pins will be required, and it has plenty of space for an extra 10 bytes of data.
At this point though, I'll drop out of the conversation. Once you answer the above, an expert in Spin should be able to point you at the right object in the OBEX and some example code for writing data to the EEPROM.
https://www.parallax.com/product/40004
There is Spin code available in the "Download" on the product page.
EDIT: The Product is sold out!
The Human Interface Card has a uSD card holder that is handy for data logging:
https://www.parallax.com/product/40003
forums.parallax.com/discussion/97625/pe-kit-lab-applications-%C2%96-eeprom-datalogging-and-i2c/p1
John Abshier