BasicStamp Weather Station LOGGING DATA
bubby9534
Posts: 36
Hi I am setting up a Basic Stamp 2 Weather Station using Pbasic 2.5 on the BOE board. I will have sensors to measure air pressure, temperature, precipitation level, etc. I would like to LOG the data every hour for between a week and a month, I don't know yet. Any suggestions for how to log the data? I was thinking using the debug terminal, but that would be difficult to keep that up for a whole month.
Comments
http://forums.parallax.com/showthread.php?105313-Using-BASIC-stamp-to-access-SD-via-SPI
I'm thinking of going with some external storage but also using some EEPROMs to store the data. The code would write the data to EEPROM and then check to see if the SD or USB device is attached before writing the data there. That way, it I remove ot for plotting on a PC, the device can continue to log data without errors and I'm not pressed to do the swap it at certain times or the device flakes out because there's nothing available to write to.
How long will this be able to store data before it runs out. And if it runs out and I try to write to it, what will happen? Do I need to include some sort of "full EEPROM" handling? Thanks.
Go to our team's project forum: http://forums.parallax.com/showthread.php?122688-ARLISS-Team-NH/page59
Our ASP "Atmospheric Sampling Probe" samples and records temperature, humidity, time, and CO2 onto a DataLogger/flash drive. The program code is include in this program on the forum (link above) but it also contains some irrelevant code. The program is called "SHT Fast Data" and it measures and records every second. Look back through our forum pages and some of the schematics are posted as JPEG's. Let me know we can help.
Mark - ARLISS Team New Hampshire
mkibler@alumni.unity.edu