Memory/Datalogger Issues
My company has need of a sensor capable of sensing and recording movement for extended periods of time. We are curently trying to work from a Basic Stamp 2 board, but have not found a very wide selection of external, mass memory storage devices (dataloggers?)·that are compatable with the BS2.
The two Memory·dataloggers we looked at were:
Are we just using the wrong stamp for the job? Or are we just overlooking a storage device?
Thanks for any advice or help.
Riley
The two Memory·dataloggers we looked at were:
- Micro-SD Card Adapter
- SD Card Adapter
Are we just using the wrong stamp for the job? Or are we just overlooking a storage device?
Thanks for any advice or help.
Riley
Comments
I would suggest one of the other BS2 models because of the additional memory available (like the BS2p). The BS2 will work, but the other models may make the work easier. You may want a external real-time-clock for timekeeping
You might also consider using a Propeller with an SD card. The Propeller can act as the SD card controller and can easily do timing for time/date stamping of the data. A number of people have described using both a Basic Stamp with the Datalogger and a Propeller with an SD card for extended period datalogging.
I assume there are ways of recoding dates and times for the data if the data logger is communicating with the DS1302 Timekeeping Chip?
We would like mm/dd/yyyy hh[noparse]:mm:[/noparse]ss.000 if that is possible...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Riley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Riley
Is there a simple way to establish a frequency for sampling, 1HZ or 10HZ for example?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Riley
The DS1302 can provide you with a very accurate 1Hz clock, but to get an accurate 10Hz clock, you may need some external hardware. It all depends on what you want.
With the BASIC Stamp you probably won't get a better rate than 1Hz...Mainly because you'd have to time it off the RTC (external) and most are limisted to 1Hz resolution. Using a Propeller you could get faster and still maintain accurate resolution, but it also depends on how much data you're writing as it takes a finite amount of time at a given baud rate to transmit all the data as ASCII text (formatted).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
With the DS1302, the program executes a tight loop reading the seconds register, and when that rolls over, break out and take a sample, then back to waiting for the next rollover. This uses an auxiliary variable, "seconds0" to track the rollover...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com