[Tinyos-help] Data logging from MDA300

Gary Pan globe_gary at yahoo.com
Sat Feb 10 19:37:32 PST 2007


I tried to revise the code base on SenseLightToLog so that I can store and retrieve data from MDA300 by injecting command. Can anyone teach me how to wire the interfaces?
   
  I use Micaz and MDA300.
  I searched the archive and followed some instructions. But I could not retrieve correct data.
   
  I wired the Sample interface which is in <xbow>/tos/sensorboards/mda300 folder instead of ADC interface in the SenseLightToLogM.nc file. And I use Sample.getSample() and Sample.dataReady instead of ADC.getData and ADC.dataReady. The code past the compiler and it seems work. I could see the red LED toggle when I injected the start_sensing command. However, I could not receive correct data from the Micaz EEPROM. Everytime I use the log_read command, the log message appeared the same or changed in the same way.
   
  I thought I made some linking mistake in the SenseLightToLog.nc configuration file. But I don't know what should I modify even though it past the compiler. 
   
  I can provide the code I modified if anyone can help me. Thanks 
   
  G.P.

 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070210/d5df10bd/attachment.htm


More information about the Tinyos-help mailing list