Does your mote need to be powered off at any point before reading the data out?
The tmote's have 10k of RAM, which I've found to be very sufficient for many applications, including reading and storing data for a short period of time - you could, for example, create a 8kB+ buffer in RAM to store your readings. Assuming you're dealing with 1-byte values and depending on your application size, you could probably store over 8192 readings in RAM alone. Then you won't have to deal with writing to flash. If your application requires to you store to non-volatile memory or you need more measurements than can be held in RAM, you'll need to write to flash. The tmotes provide 1 MB of external flash, which you can access through the BlockStorage interface. www.tinyos.net/ttx-02-2005/tinyos2/ttx2005-storage.ppt. All of this requires lots of programming ability, or at least a lot of reading, time, and testing. If you can simply take your readings as they come in and transmit them to the computer immediately instead of storing them on the mote, that might be your easiest bet. Take a look at how the oscilloscope app works in terms of grabbing data, throwing it in packets, and delivering it to the computer. http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html If you don't want to use the oscilloscope program directly, you'll probably need Java or Python to do anything useful with the incoming data on the computer. -david -----Original Message----- From: Colin Couper [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 9:25 AM To: David Moss Cc: [email protected] Subject: Re: [Tinyos-help] Dumping sensor data to a file I'm using tmote sky modules - I'm hoping to get hex data in over th eradio and then display the voltage levels but I need to keep the data somewhere so i can review it. I also need to be able to display the data using something other than java(as I can't program in java). On 2/22/06, David Moss <[EMAIL PROTECTED]> wrote: > Yes. What type of mote are you using? And how large do you expect your > data to get? > > If the amount of data you're measuring is only a few kB, you can probably > create a huge buffer in RAM to store it, and read it out later. That's the > easiest method, but you can't turn the mote off after the data is collected. > > If you're using a mica2/mica2dot/micaz you can use a file system like > Matchbox to store data to flash. See > http://www.tinyos.net/tinyos-1.x/doc/matchbox.pdf > > Of course, once you have your data stored somewhere, you'll need to write > functionality to read it out somehow. > > -david > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Colin > Couper > Sent: Wednesday, February 22, 2006 9:05 AM > To: [email protected] > Subject: [Tinyos-help] Dumping sensor data to a file > > > Is there any way i can dump sensor data (in hex) into a file and then > read it out dynamically(or even statically) in order to do extra > manipulation on the data or to save the data for another time? > > Thanks > > > Colin > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
