[Tinyos-help] sensor networks - water temperature

2012-11-28 Thread Gary Lee
Hi,

does anyone know any off-the-shelf sensor networks which can collect water
temperature?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about Deluge T2 - new program image

2012-09-24 Thread Gary Lee
Hi,


I have one question about Deluge T2: when a node receives a new program
image, how does TinyOs/Deluge update its program memory into this new image?


I am using MicaZ mote. I trace Deluge T2, eventually I go to
ReprogramGuard.okToProgramDone() in NetProgM.nc. It seems to me: when a
node receives a new image,


ReprogramGuard.okToProgramDone() just calls IFlash.write() to update the
boot arguments (containing the received image address), then reboot the
node. That is it.

So my question about Deluge T2:

1. 1. Before the node is rebooted, where is the received image stored?
In RAM?

2.  2. The reboot process will write this newly received image into
MicaZ program image? Where is the reboot code in TinyOS?

Thanks a lot,


Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about InternalFlash interface

2012-09-21 Thread Gary Lee
Hi,

On micaz mote, is the InternalFlash interface only used for EEPROM, instead
of the Program Memory of AVR Atemgal128?


If yes, does TinyOS 2.1.1 provide some interface to access the Program
Memory of MicaZ?


Thanks.


Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about BOOTLOADER=tosboot

2012-09-14 Thread Gary Lee
Dear All,

Here is what I do:

1.   For the Null application, I run “make micaz”, the image needs 608
byte of ROM and 4 byte of RAM;

2.   Then in the Makefile, I add “BOOTLOADER=tosboot”, and I run “make
micaz”, the image still needs 608 byte of ROM and 4 byte of RAM;

I think the image from 2) should be larger than the image from 1), because
2) includes bootloader, right?


Thanks a lot,


Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about using avr-gdb to debug TinyOS program

2012-08-14 Thread Gary Lee
Hi,

I am using TinyOS 2.1.1 and using avr-gdb to debug BlinkToRadio app. I use
avrora gdbserver at the server side.

then I run

# avr-gdb BlinkToRadio.elf
(gdb) target remote :10001
Remote debugging using :10001
0x in __vectors ()
(gdb)break BlinkToRadioC__Timer0__fired
Function BlinkToRadioC__Timer0__fired not defined.

Function BlinkToRadioC__Timer0__fired is indeed defined in app.c file.

How can I decide what functions/names can I use to set breakpoint?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] error in make micaz safe

2012-08-03 Thread Gary Lee
Hi,

I just installed TinyOS 2.1.1.

Under Blink app, I type make micaz, it works fine. When I type make
micaz safe, I got the many errors like:

/opt/tinyos-2.1.1/tos/platforms/mica/MeasureClockC.nc:61: Error: Assertion
will always fail in pointer access check:
  (unsigned int volatile   * BND(__this, cbound27__e)  )76 + 1 = (unsigned
int volatile   * COUNT(0) SNT  )76

/opt/tinyos-2.1.1/tos/platforms/mica/MeasureClockC.nc:61: Error: Type
mismatch in coercion:
  from: int
to: unsigned int volatile   * BND(...)
   exp: 76

/opt/tinyos-2.1.1/tos/platforms/mica/MeasureClockC.nc:69: Error: Assertion
will always fail in pointer access check:
  (unsigned char volatile   * BND(__this, cbound28__e)  )82 + 1 =
(unsigned char volatile   * COUNT(0) SNT
)82



why?

thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyOS protocol/application to transmit image?

2012-08-01 Thread Gary Lee
Hi,

I am wondering is there a tinyos protocol/application that is used to
transmit image?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TOSBoot in TinyOS 2.x

2012-08-01 Thread Gary Lee
Hi,

I am wondering someone can provide some tutorials to understand
tos/lib/tosboot?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Does TinyOS dist from http://tinyos.stanford.edu/tinyos/dists/ubuntu support TelosB motes?

2012-07-26 Thread Gary Lee
Thanks for your reply.

Could you let me know how to install *-legacy packages, where the 3.2.3
compiler lives now from stanford.


On Thu, Jul 26, 2012 at 12:17 AM, Eric Decker cire...@gmail.com wrote:



 On Wed, Jul 25, 2012 at 8:49 PM, Gary Lee gary.lee1...@gmail.com wrote:

 make telosb works before.

 when I run ncc --version -target=telosb, I got

 ncc: 1.2.4
 nescc: 1.3.4
 msp430-gcc: msp430-gcc (GCC) 4.5.3
 Copyright (C) 2010 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.


 Prior to updating the tools from dists/ubuntu, I strongly suspect you had
 the 3.2.3 compiler.   Because it worked.

 When you updated the tools again you got the 4.5.3 compiler which is
 incompatible with the T2.1.1 release code you have in /opt/tinyos-2.1.1.


 Try installing the  *-legacy packages, it is where the 3.2.3 compiler
 lives now.   I beleive they are in the dists/ubuntu repository at stanford.
   They also exist in the tinyprod repository at
 http://tinyprod.net/repos/debian/






 On Wed, Jul 25, 2012 at 10:41 PM, Eric Decker cire...@gmail.com wrote:



 On Wed, Jul 25, 2012 at 8:26 PM, Gary Lee gary.lee1...@gmail.comwrote:

 Hi,

 I have installed TinyOS 2.1.1 from
 http://tinyos.stanford.edu/tinyos/dists/ubuntu many times.


 Did make telosb  work before?


 recently, when I installed from
 http://tinyos.stanford.edu/tinyos/dists/ubuntu again, when I run make
 micaz, it works fine.

 However, when I run make telosb, lots of errors.


 what does the output of

 ncc --version -target=telosb

 say?




 Any help?

 Thanks a lot,

 Gary

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Eric B. Decker
 Senior (over 50 :-) Researcher






 --
 Eric B. Decker
 Senior (over 50 :-) Researcher



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to debug TelosB code at instruction level?

2012-07-26 Thread Gary Lee
TelosB motes have no JTAG interface. Avrora does not support debugging
TelosB. So any suggestion about what tools can be used to analyze TelosB
TinyOS code at instruction level?

Thanks.

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Does TinyOS dist from http://tinyos.stanford.edu/tinyos/dists/ubuntu support TelosB motes?

2012-07-25 Thread Gary Lee
Hi,

I have installed TinyOS 2.1.1 from
http://tinyos.stanford.edu/tinyos/dists/ubuntu many times.

recently, when I installed from
http://tinyos.stanford.edu/tinyos/dists/ubuntu again, when I run make
micaz, it works fine.

However, when I run make telosb, lots of errors.

Any help?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Does TinyOS dist from http://tinyos.stanford.edu/tinyos/dists/ubuntu support TelosB motes?

2012-07-25 Thread Gary Lee
make telosb works before.

when I run ncc --version -target=telosb, I got

ncc: 1.2.4
nescc: 1.3.4
msp430-gcc: msp430-gcc (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


On Wed, Jul 25, 2012 at 10:41 PM, Eric Decker cire...@gmail.com wrote:



 On Wed, Jul 25, 2012 at 8:26 PM, Gary Lee gary.lee1...@gmail.com wrote:

 Hi,

 I have installed TinyOS 2.1.1 from
 http://tinyos.stanford.edu/tinyos/dists/ubuntu many times.


 Did make telosb  work before?


 recently, when I installed from
 http://tinyos.stanford.edu/tinyos/dists/ubuntu again, when I run make
 micaz, it works fine.

 However, when I run make telosb, lots of errors.


 what does the output of

 ncc --version -target=telosb

 say?




 Any help?

 Thanks a lot,

 Gary

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Eric B. Decker
 Senior (over 50 :-) Researcher



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyOS Library

2012-06-20 Thread Gary Lee
build/micaz/main.exe is the program image that is used to be written to
micaz, right?

Thanks.

On Tue, Jun 19, 2012 at 8:51 PM, Eric Decker cire...@gmail.com wrote:


 TinyOS is a set of source code that is used to build complete programs
 that get loaded into motes.

 There are no libraries of any kind.   It is completely statically linked
 and it is whole program.   Meaning there are no libraries.

 On Tue, Jun 19, 2012 at 8:43 AM, Gary Lee gary.lee1...@gmail.com wrote:

 Hi,

 I am wondering: suppose that we run Oscilloscope application based on
 TinyOS 2.1.1, what TinyOS libraries are loaded into the motes?

 When we compile/program a mote, are TinyOS libraries statically or
 dynamically linked?

 Thanks a lot,

 Gary

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Eric B. Decker
 Senior (over 50 :-) Researcher



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] about ncc

2012-06-01 Thread Gary Lee
Hi,

I am using TinyOS 2.1.1 based on Ubuntu 11. Regarding ncc, is it open
source? if yes, where is the source code in Ubuntu?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Low duty-cycled Trickle protocol

2012-04-06 Thread Gary Lee
I am wondering what kind of time synchronization (working schedule)
sensor nodes have in Collection Tree protocol?

As stated in CTP paper, Trickle is used for adaptive beaconing.
Suppose node A and node B are neighbors. Nodes A is about to send a
beacon when Trickle timers expires. However, node B is sleeping then.
What shall node A do?

Thanks.


On 4/4/12, Omprakash Gnawali gnaw...@cs.uh.edu wrote:
 On Tue, Apr 3, 2012 at 11:15 AM, Gary Lee gary.lee1...@gmail.com wrote:
 Hi,

 Trickle protocol is used for data dissemination. The original Trickle
 paper
 assumes sensor nodes are always on.

 I am wondering is there some paper/TinyOS implementation that is about
 Trickle on low-duty-cycled sensor networks?

 CTP uses Trickle and works with duty-cycled radios. That might be a
 good place to start.

 - om_p

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Low duty-cycled Trickle protocol

2012-04-03 Thread Gary Lee
Hi,

Trickle protocol is used for data dissemination. The original Trickle paper
assumes sensor nodes are always on.

I am wondering is there some paper/TinyOS implementation that is about
Trickle on low-duty-cycled sensor networks?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] wireless spectrum analyzer

2012-02-07 Thread Gary Lee
Hi,


I’d like to purchase a wireless spectrum analyzer to analyze protocols
based on TelosB/MicaZ/IRIS. Anyone can give me a recommendation of the
product?



Thank,


Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question app.c

2011-09-23 Thread Gary Lee
Hi,

after running make micaz, we get build/micaz/app.c When I run gcc app.c,
I got many errors.

My question is: how can I get the TOS image for micaz from app.c?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] One question regarding Memsic Eko ES1110 sensor

2011-06-07 Thread Gary Lee
Hi,



We have deployed eko from memsic. We use ES1110 sensor.


Today we have lots of rain and the soil is very wet. However, the eko ES1110
reading is at most 20%. I think the reading from es1110 should be a much
larger value. Could you give me some comments?



Thanks,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] One question about using JTAG to debug MDA300+MicaZ

2011-03-09 Thread Gary Lee
Hi,

I have one question about using JTAG to debug MICAz+MDA300:
I am using ubuntu + tinyos 2.1.1. Hardware is MIB520+MDA300+MicaZ. The
question is: it is difficult for me to physically attach the AVR JTAG ICE to
the JTAG interface on the MIB520. Please suggest what I need to do.


Thanks,
gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Where to download XubunTOS (for TinyOS 1.x)?

2011-02-21 Thread Gary Lee
Hi,

I would like to use XubunTOS for TinyOS 1.x However, it seems that only
XubunTOS for TinyOS 2.x are available.

Please let me know where to download XubunTOS (for TinyOS 1.x)?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about the installation TinyOS 1.1

2011-02-10 Thread Gary Lee
Hi,

I am using ubuntu + TinyOS 2.1. I also need to use TinyOS 1.1

I used to be able to install TinyOS 1.1 using command sudo apt-get install
tinyos-1.1. I just try to install again,  but I got an error message
saying tinyos-1.1 package not found. I tried tinyos 1.1.0, 1.x. and I got
the same error.

Anyone can help me?

Also, I used to be able to view the source code of all versions of TinyOS
through CVS, but this feature seems disabled, right?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about JTAG debug IRIS

2011-02-01 Thread Gary Lee
Hi,

I am following this manual:

http://docs.tinyos.net/index.php/Debugging_IRIS_motes

I have successfully followed this tutorial until  when I run sudo avarice
-2 -j usb localhost:4242, I got the following output:


AVaRICE version 2.9, Sep 19 2009 01:29:51

Defaulting JTAG bitrate to 250 kHz.

JTAG config starting.
Found a device: JTAGICEmkII
Serial number:  07:00:00:00:59:5e
Reported JTAG device ID: 0x
No configuration available for device ID: 

Questions:

1. What is wrong?
2. Do I need to change 4242 to some value?

Thanks a lot,

gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] largest valid value assigned to a variable of uint16_t type?

2011-01-26 Thread Gary Lee
Hi,

What is the largest valid value assigned to a variable of uint16_t type?

Thanks a lot,

gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Conflict between NXTMOTE and TinyOS installation

2010-09-13 Thread Gary Lee
Hi,



I would like to ask some help about installing NXTMOTE together with TinyOS
2.x.  http://nxtmote.sourceforge.net/ and
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/nxtmote/misc/docs/html/tutorial/lesson-a.htmlare
the tutorials we follow.



1.   We first have TinyOS 2.x installed on Ubuntu 9.10. then I try to
install NXTGCC for NXTMOTE. However, I got the following error:



g...@ubuntu:/opt/nxtmote/0.05/usr/src/rpm/RPMS/i386$ sudo dpkg -i
arm-elf-gcc_4.1.2-2_i386.deb
(Reading database ... 123236 files and directories currently installed.)
Unpacking arm-elf-gcc (from arm-elf-gcc_4.1.2-2_i386.deb) ...
dpkg: error processing arm-elf-gcc_4.1.2-2_i386.deb (--install):
 trying to overwrite '/usr/share/locale/nl/LC_MESSAGES/gcc.mo', which
is also in package msp430-gcc-tinyos 0:3.2.3-20080806
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 
arm-elf-gcc_4.1.2-2_i386.debg...@ubuntu:/opt/nxtmote/0.05/usr/src/rpm/RPMS/i386$%20sudo%20dpkg%20-i%0barm-elf-gcc_4.1.2-2_i386.deb%0b(Reading%20database%20...%20123236%20files%20and%20directories%20currently%20installed.)%0bUnpacking%20arm-elf-gcc%20(from%20arm-elf-gcc_4.1.2-2_i386.deb)%20...%0bdpkg:%20error%20processing%20arm-elf-gcc_4.1.2-2_i386.deb%20(--install):%0b
trying%20to%20overwrite%20'/usr/share/locale/nl/LC_MESSAGES/gcc.mo',%20which%0bis%20also%20in%20package%20msp430-gcc-tinyos%200:3.2.3-20080806%0bdpkg-deb:%20subprocess%20paste%20killed%20by%20signal%20(Broken%20pipe)%0bErrors%20were%20encountered%20while%20processing:%0b
arm-elf-gcc_4.1.2-2_i386.deb



I think this is because “usr/share/locale/nl/LC_MESSAGES/gcc.mo” has already
been used TelosB (MSP430). Therefore, it cannot be used by NXTMOTE.



2.   Then I delete TinyOS 2.x from my machine. We install NXTMOTE first.
IT works fine. We then install TinyOS 2.x. However, this time, we got the
following error:

“Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/avr-gcc-tinyos_4.1.2-20080806_i386.deb
 /var/cache/apt/archives/msp430-gcc-tinyos_3.2.3-20080806_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)”



Again, there is a conflict between NXTMOTE and mspgcc.



Could someone suggest what I should go ahead?



Thanks a lot,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] wireless sensor network and robots

2010-08-06 Thread Gary Lee
Hi,



We are interested in combining wireless sensor networks with robots. What
are the most popular hardware/software in this respect?



Thanks,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] lower level driver semantics between TinyOS 2.0 and TinyOS 2.1

2010-04-21 Thread Gary Lee
Hi,

Based on TinyOS 2.0, we have a device driver that works.

We now upgrade TinyOS 2.0 to TinyOS 2.1. The driver does not work. I was
told the device driver semantics have changed from TinyOS 2.0 to TinyOS 2.1.

Could someone tell me how to modify the driver to make it work under TinyOS
2.1?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Strange compile problems under TinyOS 2.0.2 / MicaZ/MDA300

2010-04-21 Thread Gary Lee
Hi,

I use TinyOS 2.0.2 based on Ubuntu 9.1. The hardware is MicaZ + MDA300 and
an external sensor.

The MDA300 driver I am using is the newly posted MDA300 driver on:
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/

I write a simple application, which has the following two lines:

components new SensorMDA300CA() as Sensor;
App.Read - Sensor.ADC_0;

when I compile, I got the following strange partial errors:

/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterP.nc:46: syntax error
before `TI2CBasicAddr,

/opt/tinyos-2.0.2/tos/interfaces/I2CPacket.nc:63: syntax error before
`flags'

/opt/tinyos-2.0.2/tos/interfaces/I2CPacket.nc:79: syntax error before
`flags'??

Could someone tell me why I have some errors?

Thanks,

Gary

=

Below is the partial compile output.


In component `BlinkToRadioC':
BlinkToRadioC.nc: In function `Timer0.fired':
BlinkToRadioC.nc:113: warning: passing argument 2 of `Packet.getPayload'
makes pointer from integer without a cast
/opt/tinyos-2.0.2/tos/interfaces/ResourceConfigure.nc:23:1: warning: /*
within comment
In file included from
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterC.nc:45,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/MDA3XXADCC.nc:15,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/ADCDeviceC.nc:32,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/SensorMDA300CA.nc:47,
 from BlinkToRadioAppC.nc:55:
In interface `I2CPacket':
/opt/tinyos-2.0.2/tos/interfaces/I2CPacket.nc: At top level:
/opt/tinyos-2.0.2/tos/interfaces/I2CPacket.nc:63: syntax error before
`flags'
/opt/tinyos-2.0.2/tos/interfaces/I2CPacket.nc:79: syntax error before
`flags'
In component `Atm128I2CMasterC':
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterC.nc:45: syntax error
before `TI2CBasicAddr'
In file included from
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterC.nc:52,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/MDA3XXADCC.nc:15,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/ADCDeviceC.nc:32,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/SensorMDA300CA.nc:47,
 from BlinkToRadioAppC.nc:55:
In component `Atm128I2CMasterP':
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterP.nc:46: syntax error
before `TI2CBasicAddr'
In file included from
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterP.nc:55,
 from
/opt/tinyos-2.0.2/tos/chips/atm128/i2c/Atm128I2CMasterC.nc:52,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/MDA3XXADCC.nc:15,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/ADCDeviceC.nc:32,
 from
/opt/tinyos-2.0.2/tos/sensorboards/mda300ca/SensorMDA300CA.nc:47,
 from BlinkToRadioAppC.nc:55:
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to debug where is wrong when reading from an external sensor under MicaZ?

2010-04-16 Thread Gary Lee
Hi,

I attach an external sensor to the MicaZ mote. After following the tutorial
and installing the driver for the sensor, I write a simple application,
trying to read values from this sensor.

I use Leds to test whether the reading is successful or not. Based on the
display of Leds, the reading is not successful.

I am wondering how I can further debug to check where is wrong. Is
build/micaz/app.c a good start to debug?

I am using TinyOS 2.1.0.

Any comments are highly appreciated.

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] mda300 driver under TinyOS 2.1.0

2010-04-15 Thread Gary Lee
Hi,

Has anyone tested the recently posted MDA300 driver under TinyOS 2.1.0? Does
it work? any bugs?

http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/mda300ca/

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Problems when programming IRIS motes using TinyOS 2.1.0 + Ubuntu 9.1

2010-04-14 Thread Gary Lee
Hi,

I am using Ubuntu 9.1 and TinyOS 2.1.0, mib520 and one iris mote.

here is the output whn I try to program this iris mote with Blink
application

=

g...@ubuntu:/opt/tinyos-2.1.0/apps/Blink$ make iris install,1
mib510,/dev/ttyUSB0
mkdir -p build/iris
compiling BlinkAppC to a iris binary
ncc -o build/iris/main.exe  -Os -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22
--param max-inline-insns-single=10 -DIDENT_APPNAME=\BlinkAppC\
-DIDENT_USERNAME=\bosun\ -DIDENT_HOSTNAME=\ubuntu\
-DIDENT_USERHASH=0x0ccae4e2L -DIDENT_TIMESTAMP=0x4bc5d2b6L
-DIDENT_UIDHASH=0xecb88db2L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm
compiled BlinkAppC to build/iris/main.exe
2268 bytes in ROM
  51 bytes in RAM
avr-objcopy --output-target=srec build/iris/main.exe build/iris/main.srec
avr-objcopy --output-target=ihex build/iris/main.exe build/iris/main.ihex
writing TOS image
tos-set-symbols build/iris/main.srec build/iris/main.srec.out-1
TOS_NODE_ID=1 ActiveMessageAddressC$addr=1
Could not find data section in build/iris/main.exe, aborting.
Could not find symbol ActiveMessageAddressC$addr in build/iris/main.exe,
ignoring symbol.
Could not find symbol TOS_NODE_ID in build/iris/main.exe, ignoring symbol.
installing iris binary using mib510
avrdude -cmib510 -P/dev/ttyUSB0 -U hfuse:w:0xd9:m -pm1281 -U efuse:w:0xff:m
-C/etc/avrdude/avrdude.conf  -U flash:w:build/iris/main.srec.out-1:a
avrdude: stk500_recv(): programmer is not responding
make: *** [program] Error 1

==\

Anyone can help me with it?

Thanks a  lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] MDA300CA driver

2010-02-11 Thread Gary Lee
But if you check out the CVS tree tinyos-2.x-contrib/uoit, it is empty
(except license and index). No driver is available.

Can someone tell us when the driver will be uploaded here?

On Wed, Feb 10, 2010 at 7:54 PM, Sylvain sylvain.peliss...@ymail.comwrote:

 Hello,

 You can checkout it with CVS. The command is:
 cvs -z3 -d:pserver:anonym...@tinyos.cvs.sourceforge.net:/cvsroot/tinyos
 checkout -P tinyos-2.x-contrib/PROJECT_NAME

 where PROJECT_NAME should be uoit in your case.
 Regards


 -
 Sylvain Pelissier


 On Wed, 2010-02-10 at 10:12 -0600, Li, Haixia wrote:
  Hello,
 
 
 
  I find a MDA300CA driver in the “TinyOS 2.x index of contributed
  code”.  Can anyone tell me how can I get the code? Any help will be
  appreciated.
 
 
 
 
 
 
 
  Thanks
 
  Haixia Li
 
 
 
 
 
 
 
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] MDA300 and ECHO5 to measure soil moisture.

2010-02-09 Thread Gary Lee
Hi,

Many papers mention that they can use MDA300 and echo5 to measure soil
moisture based on TinyOS. Can someone provide the sample code to make this
work?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Wireless Sensor Network to collect soil moisture data

2009-08-17 Thread Gary Lee
Hi,



Could someone let me know the current status of applying wireless sensor
networks to collect soil moisture data?



We have the following requirement:



Hardware: MicaZ/IRIS or some other motes from Xbow;

Softeware: we need open source softeware – TinyOS.



Any information is highly appreciated.



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to measure packet latency?

2009-06-18 Thread Gary Lee
Hi,

I have a multihop sensor networks running T2. How do I measure the latency
for a paticular packet because different motes and the desktop have
different clocks?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CS and CCA

2009-06-12 Thread Gary Lee
Hi,

In TinyOS implementtion, what is the difference between Carrier Sense and
Clear Channel Assessment? Both are said to be used to decide whether the
channel is idle or not..

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Components new AMSenderC(TOS_NODE_ID)?

2009-06-11 Thread Gary Lee
hi,


What is wrong with the following statement?



Components new AMSenderC(TOS_NODE_ID)?



That is, can I used TOS_NODE_ID as the AM? When I compile it, I got error
saying that TOS_NODE_ID is not a constant...



Thanks.,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Power consumption measurement for sensor nodes

2009-04-15 Thread Gary Lee
Hi,



I am wondering how to measure the energy consumption of protocols in sensor
networks. For example, the first paragraph of section 4.1 of this paper:



http://sing.stanford.edu/pubs/sing-08-00.pdf



had some descriptions. However, it is still difficult to understand.



Did someone have a more details description or figures to explain how to
measure the power consumption?



Thanks,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] X-MAC on TinyOS 2.1

2009-04-15 Thread Gary Lee
Hi,



Could anyone tell me whether X-MAC has been implemented based on TinyOS 2.1?
Where is the implementation?



Thanks,



Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] MAC protocols used in TinyOS 2.x?

2009-04-08 Thread Gary Lee
Hi,

I am wondering what is the default MAC protocol used in TinyOS 2.x? if it is
B-MAC, which file actually implements B-MAC?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] One question about Sensor node scheduling

2008-10-16 Thread Gary Lee
Hi,

Regarding sensor network energy efficiency, there are many research
addressing sensor node scheduling (active and sleep). Some focus on MAC
layer (S-MAC, B-MAC, etc), some focus on application layer.

Is there any work which focus on cross-layer node scheduling? For example,
there is duty cycle at MAC layer. There is also duty cycle at application
layer. How do these two duty cycles interact with each other?

Thanks for the information.

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Does TOSSIM in TinyOS 2.x support Mica2 motes?

2008-07-20 Thread Gary Lee
Does TOSSIM in TinyOS 2.x support Mica2 motes? Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TelosB/MicaZ and soil moisture measurement

2008-07-16 Thread Gary Lee
 Hi,

I am wondering anyone has experience using TelosB or MicaZ to measure soil
moisture?

If so, what sensor do you use?

any information is highly appreciated.

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Motes for outdoor deployment

2008-06-13 Thread Gary Lee
We are trying to deploy a wireless sensor network in an outdoor
environment. I have the following two questions:

1. How can I get enclosure for MicaZ/TelosB motes, so they can deploy
weather-proof? Could someone recommend some companies?

2. battery is a problem. Is it easy to use solar energy to provide the
energy? again, which company can provide this for MicaZ or TelosB?

Thanks a lot,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] How to update the TinyOS I am using?

2008-06-11 Thread Gary Lee
Sarfraz,

Thanks for your reply. I have t

1. you mean, I need to create a separate directory, and copy the entire
tinyos-2.x directory from CVS to Xubuntos?

2. If yes, how can I perform a fast copy? I mean, is there a tool which I
can use to download the entire tinyos-2.x CVS automatically?

Thanks a lot,

Gary

On Tue, Jun 10, 2008 at 6:25 PM, Sarfraz Nawaz [EMAIL PROTECTED] wrote:

 XubunTOS has tinyos release version 2.0.2 which is not cvs updatable. You
 will have to check out the entire tinyos-2.x directory from the CVS
 repository into a separate directory.


   On Wed, Jun 11, 2008 at 12:42 AM, Gary Lee [EMAIL PROTECTED]
 wrote:

   I have one basic question: I am using XubunTOS. Suppose that some part
 of TinyOS 2.x is modified on CVS, for example, one interface is changed, how
 do I update the XubunTOS I am using?

 Do I have to manually copy the modified interface from CVS to my XubunTOS?

 Thanks,

 Gary

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to update the TinyOS I am using?

2008-06-10 Thread Gary Lee
I have one basic question: I am using XubunTOS. Suppose that some part of
TinyOS 2.x is modified on CVS, for example, one interface is changed, how do
I update the XubunTOS I am using?

Do I have to manually copy the modified interface from CVS to my XubunTOS?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how to measure the Rssi with mica2

2008-06-09 Thread Gary Lee
Hi,

I tried to run RssiDemo under Tinyos 2.x. I copied all the files to the
directory. However, when I type make telosb, it says that there is a
conflicting type for RadioIntercept.forward error.

Anyone can help? Regards,

Gary

On Mon, Jun 9, 2008 at 1:41 PM, Ittipong Khemapech [EMAIL PROTECTED]
wrote:

 This may be useful to you.

 http://docs.tinyos.net/index.php/Rssi_Demo

 Ittipong

 2008/6/9 wang wei [EMAIL PROTECTED]:

  Hi, all
 I'm trying to get the RSSI from the Rx with mica2 mote, but after learning
 many messages posted befoore,im more confused about how to measure it.
 my platform is tinyos1.x, mica2,cc1000,mib510
 1.i tried the Pong applicaction, but it seems its not compatible to mica2,
 I really wanna know if the Pong application can work with mica2?
 2.someone said it needs to import two interfaces: RSSI and ReceiveMSG.
 Initially use enable signal strength reading by RSSI.rssi_enable(). When you
 receive a message  in  ReceiveMsg.receive(), you can read the signal
 strength using  strength field. but i dont think there is RSSI interface in
 tinyos1.x
 3.how to use TOS_Msg to measure?
 Ican anyone tell me how to get the RSSI with mica2 ,thanks in advance.

 /V

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] one question about T2 TEP

2008-06-06 Thread Gary Lee
I am wondering why some TEP about T2 are not listed as a link in
www.tinyos.net.

For example, TEP 105 is not listed in www.tinyos.net. However, it can be
accessed.

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinySec on TinyOS 2.x

2008-05-19 Thread Gary Lee
Hi,

I am wondering whether TinySec has been implemented on TinyOS 2.x?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Transmission range of MicaZ mote

2008-05-15 Thread Gary Lee
Hi,

In an outdoor environment, I put one MicaZ mote A about 1.5m high above the
ground. I use another MicaZ+MIB520 to receive data transmitted from MicaZ A.

I am using TinyOS 2.x and I do set the maximum transmission range of A
(CFLAGS +=-DCC2420_DEF_RFPOWER=30). However, the transmission range of MicaZ
A is only about 20 meters. In the specification of MicaZ, it says the
outdoor range could be 75m to 100m.

How could I achieve this 75m transmission range? Please share the
experience.

Many thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] How high to put a mote in order to make this mote realize its maximum transmission range

2008-05-08 Thread Gary Lee
Hi,

I put one MicaZ mote about 1.5 meters high above the ground in an outdoor
environment and I set the maximum transmission power.

I then run Oscilloscope to collect data. It seems to me the transmission
range is only about 20meters.

I only tried in one direction, though.

Is there anything wrong with what I am doing?

Thanks,

Gary

On Fri, Apr 18, 2008 at 4:08 AM, Nilesh Mishra [EMAIL PROTECTED] wrote:

 Hi,
   I have experimented with telosb motes and my observation has been to put
 the motes atleast waist hight (~ 2-3 feet above ground) for better results.
 Keeping directly on the ground kills the range drastically (except on shiny
 floors).
 Regards,
 Nilesh

   On Thu, Apr 17, 2008 at 8:49 PM, Gary Lee [EMAIL PROTECTED]
 wrote:

   Hi,

 If I put a programmed micaz mote in an outdoor environment with no
 obstruction, how high do I need to put this micaz mote in order to make this
 mote realize its maximum transmission range?

 Thanks,

 Gary

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Regards
 Nilesh

 Nilesh Mishra
 Embedded Networks Laboratory
 University of Southern California,
 3710 S. McClintock Avenue, Ronald Tutor Hall (RTH) 418
 Los Angeles, CA 90089
 mail: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 ph: (213) 821-5627 (lab)
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Gary Lee
Hi,

I am wondering how to measure the energy consumption in TinyOS 2.x?

For example, the energy consumption of transmission of packet? receipt of
packet? etc.

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Gary Lee
Is there any general code or approach we can use?

Datasheet is only a reference, I think.

For example, what if I would like to measure how much energy it will cost to
sense a temperature value?

Best regards,

Gary

On Wed, May 7, 2008 at 2:39 PM, Ittipong Khemapech [EMAIL PROTECTED]
wrote:

 I think one of several ways to do is to have a look at CC1000/2420
 datasheet. They provide current consumption required for transmitting at
 various transmission power levels.

 Ittipong

 2008/5/7 Gary Lee [EMAIL PROTECTED]:

Hi,
 
  I am wondering how to measure the energy consumption in TinyOS 2.x?
 
  For example, the energy consumption of transmission of packet? receipt
  of packet? etc.
 
  Thanks,
 
  Gary
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Are Mica motes suitable for outdoor long-term deployment?

2008-04-24 Thread Gary Lee
 Hi,

I am wondering whether MicaZ motes are suitable for outdoor long-term
deployment, say several months?

Using T2, is MicaZ stable in an outdoor environment? Please share the
experience.

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Telos and TelosB

2008-04-24 Thread Gary Lee
Hi,

Are Telos and TelosB different? I know xbow.com offers TelosB. But where can
purchase Telos?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] micaz transmission range

2008-04-23 Thread Gary Lee
Hi,

In an outdoor evironment, I put the micaz mote about 1.5 meters high. I use
the following line in Makefile:

CFLAGS += DCC2420_DEF_RFPOWER=30

That is almost the maximum transmission power.

However, I find out that the transmission rage is only about 25 meters, far
less than the data specified in Micaz datasheet.

Is this normal?

Thanks for the information.

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] micaz transmission range

2008-04-23 Thread Gary Lee
For testing purposes, I only deploy 2 micaz nodes.

Is there any paper talking about this? Thanks.

Gary

On Wed, Apr 23, 2008 at 1:42 AM, Ittipong Khemapech 
[EMAIL PROTECTED] wrote:

 It's very hard to tell. How many motes did you employ? Did they give you
 the same trend?

 You may deploy the same mote(s) in indoor to see how it goes.

 Ittipong

   On 23/04/2008, Gary Lee [EMAIL PROTECTED] wrote:

Hi,
 
  In an outdoor evironment, I put the micaz mote about 1.5 meters high. I
  use the following line in Makefile:
 
  CFLAGS += DCC2420_DEF_RFPOWER=30
 
  That is almost the maximum transmission power.
 
  However, I find out that the transmission rage is only about 25 meters,
  far less than the data specified in Micaz datasheet.
 
  Is this normal?
 
  Thanks for the information.
 
  Gary
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Sensed temperature values using Micaz/Mts300 Mts310

2008-04-23 Thread Gary Lee
Hi,

I am running the MultihopOscilloscope from tinyos 2.x from CVS. I am using
Micaz motes to measure the temperature as one example. In the PC, I run
Listen.

I notice that: when I use Micaz + MTS 300, everything is ok. Listen can
display the correct sensed temperature.

However, when I use Micaz + MTS310, the sensed values are all 0.

does this mean MTS310 sensor board will not work under T2? Under T2, there
is only mts300/ directory, not mts310/

I have made sure that the sensor boards are securely attached to Micaz.

Thanks for the help,

Gary

On Fri, Apr 18, 2008 at 10:14 AM, Michael Schippling [EMAIL PROTECTED]
wrote:

 If you are using the same hardware/software and getting 0 readings for
 only some of the motes you may have hardware issues. Make sure the sensor
 boards are securely attached to the motes, and maybe try switching some
 around to see if the problem follows.

 The good values you get will vary some, maybe the bottom couple of bits.
 One problem with the temp sensor is that it gets heat from the electronics
 and might not indicate the real air temp. Also they are anything but
 calibrated so values may vary between devices somewhat dramatically...

 MS

 Gary Lee wrote:

  Hi,
 
  I use T2/Micaz/MTS300 to test the temperature in an outdoor environment.
 
  I revise and install MultihopOscilloscope on one micaz/mts300, which
  transmit read temperature to the base station. I run Listen to print out the
  received values.
 
  For some motes, the sensed values are reasonable
 
  For some other motes, the sensed values are 0. Why is that?
 
  Even with reasonable sensed values, the values are not constant for
  consecutive packets. Is this normal?
 
  Thanks for the information,
 
  Gary
 
 
  
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 

 --
 Platform: WinXP/Cygwin
 TinyOS version: 1.x, Boomerang
 Programmer: MIB510
 Device(s): Mica2, MicaZ, Tmote
 Sensor board: homebrew


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Octopus and XubunTOS

2008-04-22 Thread Gary Lee
Hi,

I download Octopus from CVS of TinyOS 2.x.  I am using Xubuntos. However,
after I run Octopus, except the root nodes, no nodes are displayed.

I am using Micaz/MTS300.

What are the possible problems?

Many thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Octopus and XubunTOS

2008-04-22 Thread Gary Lee
Hi,

I download Octopus from CVS of TinyOS 2.x. I am using Xubuntos. However,
after I run Octopus, except the root nodes, no nodes are displayed.

I am using Micaz/MTS300.

What are the possible problems?

Many thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Octopus and XubunTOS

2008-04-22 Thread Gary Lee
Hi,

I download Octopus from CVS of TinyOS 2.x. I am using Xubuntos. However,
after I run Octopus, except the root nodes, no nodes are displayed.

I am using Micaz/MTS300.

What are the possible problems?

Many thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Why so many bad packet?

2008-04-22 Thread Gary Lee
Hi,

I am running MultihopOscilloscope, and use Listen to print the packet on the
PC.

In a lab environment, I got bad packet many times, is this normal?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Sensed temperature values using Micaz/Mts300

2008-04-18 Thread Gary Lee
Hi,

I use T2/Micaz/MTS300 to test the temperature in an outdoor environment.

I revise and install MultihopOscilloscope on one micaz/mts300, which
transmit read temperature to the base station. I run Listen to print out the
received values.

For some motes, the sensed values are reasonable

For some other motes, the sensed values are 0. Why is that?

Even with reasonable sensed values, the values are not constant for
consecutive packets. Is this normal?

Thanks for the information,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Topology generation of CTP

2008-04-18 Thread Gary Lee
I notice that when we run MViz application, it also has topology part. Is
this topology accurate? Frankly, I can come up with the topology, but I
cannot get much information from this topology. That is, I do not think this
topology is very useful.

Any comments about this are appreciated.

Gary

On Thu, Apr 17, 2008 at 10:02 PM, Omprakash Gnawali [EMAIL PROTECTED] wrote:

 On Thu, Apr 17, 2008 at 8:53 PM, Gary Lee [EMAIL PROTECTED] wrote:
 
  Hi,
 
  Could some expert show me: using CTP (like MulhopOscilloscope in T2),
 how do
  generate Figure 2 in page 4 of this paper:
 
  http://sing.stanford.edu/pubs/hotnets07-4b.pdf
 
  ?
 

 If you look at apps/tests/TestNetwork, you will notice that the
 application puts the parent id in the collection packet. You need to
 do something similar in MultihopOscilloscope. When you receive that
 collection packet at the base station, you can grab the parent id and
 origin for each node. Once you have a set of directed edges, you can
 use graphviz or other graph drawing tools to draw the topology.

 - om_p

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to use Micaz/MTS400 under T2?

2008-04-18 Thread Gary Lee
Hi,

I notice that under the distribution of T2, there is no mts400 directory.
So, how can I make micaz+mts400 work under T2?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How high to put a mote in order to make this mote realize its maximum transmission range

2008-04-17 Thread Gary Lee
Hi,

If I put a programmed micaz mote in an outdoor environment with no
obstruction, how high do I need to put this micaz mote in order to make this
mote realize its maximum transmission range?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Topology generation of CTP

2008-04-17 Thread Gary Lee
 Hi,

Could some expert show me: using CTP (like MulhopOscilloscope in T2), how do
generate Figure 2 in page 4 of this paper:

http://sing.stanford.edu/pubs/hotnets07-4b.pdf

?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] MTS300/Micaz to measure temperature reading

2008-04-15 Thread Gary Lee
Hi,

I use XubunTOS/T2 and MTS300/Micaz to measure the temperature of my lab.

I use Oscilloscope and Listen. I modify DemoSensorC() in OscilloscopeAppC.nc
to TempC(). Listen shows the value of Read() to be 01 E1.

However, based on MTS300 manual from xbow, I cannot conver 01 E1 to a
correct temperature value.

Please help.

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help