If you have verified that you get correct sensor readings using
pre-compiled app distributed with MoteView (i.e. XMDA300_*_*.exe), you
can find the source code for this under MoteWorks
(\opt\MoteWorks\apps\xmesh\XMDA300). All the application files are
located under here. The sensor board driver related files are at
\opt\MoteWorks\tos\sensorboards\mda300. The main app file that you would
need to edit is XMDA300M.nc. Once you edit the file, you need to
recompile the app and then flash it on to the Mote using MIB programming
board. For details of each of these steps please refer to MoteWorks
getting started guide below.
http://www.xbow.com/Support/Support_pdf_files/MoteWorks_Getting_Started_
Guide.pdf

You could write application level logic to control the sampling rate
based on the temperature input. 

Good luck,
Giri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of zhia
howe chong
Sent: Tuesday, July 29, 2008 2:28 AM
To: Eric Keller
Cc: [email protected]
Subject: Re: [Tinyos-help] Digital Channels as Output on MDA300CA

Hi. I need some help from you.
I am a beginner in this TinyOS and nesC thingy.
However, my supervisor requires me to deal with these few components :
MDA300, MicaZ, and MIB520.
As far as i am concern, i am using MoteView to get reading from these
motes.
In order to program this MicaZ, i would have to use MoteWork 2.0.
One question here is that, how can i edit the source code for MicaZ?
I mean, how do i know which file to edit?
How can i download it into the board? Can i use MoteWork to download it
into the platform? Or i have to use anothe method?
Since MDA300 come with build-in temperature and humidty sensor, if i
would want to alter its behaviour, let say, when the temperature detects
40 Celcius, the light/soil sensor connected to port A0 will take reading
more frequently. Let say, Temperature sensor takes reading every 10
minutes, and my soil moisture probe takes reading every 30 minutes, by
default. When the temperature reading reaches 30 Celcius, my soil
moisture probe takes reading every 15 minutes. How can i achieve this?
Please give some advice.

THanks a lot.
Howe


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to