At 09:10 PM 7/14/04 +0000, you wrote:
> > The simplest method I have run into is to use FRAM. The write speed
>of
> > SRAM, the non-volatile nature of EE and an endurance of something
>like 1e9
> > cycles. Ramtron now makes serial FRAMs in up to 256Kb (thats bits).
> >
>
>I have read a little on the Ramtron chips. they also have a real
>time clock AND FRAM on a chip so that starts to use less parts as
>well as make it easier to write the data.
Some of them do, but they have a family that is just data storage. An FRAM
with an RTC might make sense as a place to store your parameters.
>It seems that for some EEPROM chips, one needs to write a whole page
>and others, one can address individual bits. At this point, it seems
>to write a page would be simplier as far as keeping track of
>addresses.
One of the reasons I like FRAMs for simple work, you just pick an address
and write to it. That and you don't need to check to see when it's done
programming. That speed makes using them simpler (It also narrows the
window during which they are vulnerable to externally induced change but
that shouldn't be an issue for you).
>But, your comment about the possibility of putting the variables on a
>Memory card seems like a much easier way. that would make only one
>connection to the PC, and it would also allow each student to carry
>their own timings.
Ah but then you are back to timing issues, and building a file system. It
does have advantages but I suspect you want to start simpler.
>When looking at chips, the low memory count is the thing that limits
>the total duration of a data logger. By using a memory card, the
>huge storage allows a 'just read every point all the time' method and
>then one can pick out the data when it is back in the spreadsheet.
>
>I have been looking at a brighness device to log how bright the sun
>is over daylight hours. This would be a once a minute log. with
>things like soil moisture changing hourly, it seems like a waste of
>memory to store 10 points each minute for a week or two.
>
>If my math is correct, 10 points per minute is 600 points per hour or
>14,400 per day and 100,800 per week. If 7 points are hourly, that
>drops to around 30,000 points per week. If each point is a byte,
>then there would be 800,000 bits or 240,000 bits. That starts to
>get important with a EEPROM or FRAM chip, but not important with a
>memory card.
OK a weeks worth is ~ 100K at max sampling. Using the largest FRAM chips
that would be 4, maybe 5 per board. Probably doable on space. Would need
to check cost though. I suspect it's no more expensive that a MMC
connector + card. Might well be cheaper. If it's for a student device
does it need a full week?
The bigger issue I see is you are talking about an awful lot of data for
the students to analyze. For the 1/min you are talking about 42000
points. Will your spreadsheet (or whatever analysis program) handle
that? And if it does will it do it w/o slowing to a crawl? It would be
easy to create a dummy data file to check that out.
There is an intermediate step between all channels at full rate and all
channels at independent rates where you keep two or 3 separate logs at
different rates. That reduces the total storage but still leaves you with
that 42K points for your fastest.
>This is a good discussion for my level of interest although it is
>somewhat over my head for programming.
That's the main reason I'd suggest starting with something simple like an
FRAM and restrict the size of problem you are willing to deal with on the
first iteration. If it works out successfully but more data looks like a
good idea you can always do another iteration with more complex and larger
storage. Starting simple with a new solution also means you can try
something and see if it works from a human point of view (this is where you
find out that every student pressure washes them :)
One last data question. What are you trying to track with the brightness
measurement? Do you really expect to see a significant change in 1
minute? I would have guessed a 5 minute period made more sense (maybe even
longer at night).
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, III