Re: [Tinyos-help] GPS module of MTS420 not working

2008-04-20 Thread Nikhil Singhal
Hi I have acquired the MoteWorks SDK and installed the patch as given on the web page. I'm now running into a problem with actually getting the data. I have a MIB520 programming board, a micaZ board and the MTS420CC GPS mote (with the ublox chip). I installed TestMTS420cc application (apps/xsenso

[Tinyos-help] MAX packet size for Listen.java

2008-04-20 Thread Bhavish Aggarwal
Hi, I'm sending packets from mote to PC via UART and using the Listen.java app to print out the packet. I am sending an AM packet with data length (excluding headers etc.) of 44 bytes by modifying the -DTOSH_DATA_LENGTH flag in the makefile. But the packet is not output in the Listen.java app. On

Re: [Tinyos-help] MDA300/MDA320 - Writing to digital I/O ports

2008-04-20 Thread Dhivya G
Hi, I am using Micaz mote,MDA320 Data Acquisition board and Mib520 programming board of crossbow. For my application I have to set any three Dio pins of MDA320 board to low. I used DioC component and Dio interface in my program. I set modes of Dio0,Dio1,Dio2 pins as DIG_OUTPUT in DioM.nc. In S

[Tinyos-help] Digital I/O pins in MDA320 Data Acquisiton Board

2008-04-20 Thread Dhivya G
Hi, I am using Micaz mote,MDA320 Data Acquisition board and Mib520 programming board of crossbow. For my application I have to set any three Dio pins of MDA320 board to low. I used DioC component and Dio interface in my program. In StdControl.start() I gave the following lines: command result_

[Tinyos-help] How to do external SPI devices on MICAZ?

2008-04-20 Thread jiang chen
Deal Dr. Philip Levis, *Reccently I am working on the MICAZ platform and I would like to connect an additional hardware component (analog to **digital converter with SPI interface) with the MICAZ board by using **the 51 pin connector.* *I search on the web and know that someone ask you the simi

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
Thanks Philip. It is very useful. On 4/20/08, Philip Levis <[EMAIL PROTECTED]> wrote: > > > On Apr 20, 2008, at 5:35 PM, renjie huang wrote: > > > Hi David > > Yes, I ignored 802.11 interference. Thanks for your advice. That is a > > much better solution. > > > > > Figure 6 of SING tech report SI

Re: [Tinyos-help] how to get the hops using CTP

2008-04-20 Thread Omprakash Gnawali
On Sun, Apr 20, 2008 at 6:56 PM, jiwen zhang <[EMAIL PROTECTED]> wrote: > Hello all : >i am using tinyos2.x . i want to get the hops from the source to the root > . how should i realize this ? >thank you !! CTP does not store hopcount as a routing state. But if you want to know how many ho

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread Philip Levis
On Apr 20, 2008, at 5:35 PM, renjie huang wrote: > Hi David > Yes, I ignored 802.11 interference. Thanks for your advice. That is > a much better solution. > Figure 6 of SING tech report SING-06-00 plots typical interference strength you can observe for different 802.11 and 802.15.4 pairs:

Re: [Tinyos-help] GPSR Implementation

2008-04-20 Thread MINO GB
You can refer http://enl.usc.edu/projects/gpsr/. They have an implementation of GPSR on mica. On Mon, Apr 21, 2008 at 8:51 AM, Chao Sun <[EMAIL PROTECTED]> wrote: > Hi all, > > > > I am wondering if there is any GPSR implementation on TOSSIM? > > And if yes, could you provide a copy to me? Thank

[Tinyos-help] how to get the hops using CTP

2008-04-20 Thread jiwen zhang
Hello all : i am using tinyos2.x . i want to get the hops from the source to the root . how should i realize this ? thank you !! ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/lis

[Tinyos-help] GPSR Implementation

2008-04-20 Thread Chao Sun
Hi all, I am wondering if there is any GPSR implementation on TOSSIM? And if yes, could you provide a copy to me? Thanks. Sincerely, Chao ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
Hi David Yes, I ignored 802.11 interference. Thanks for your advice. That is a much better solution. On Sun, Apr 20, 2008 at 4:40 PM, David Moss <[EMAIL PROTECTED]> wrote: > You don't need other nodes around for the hardware CCA to show the > channel is in use. WiFi and other transmitters will

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread David Moss
You don't need other nodes around for the hardware CCA to show the channel is in use. WiFi and other transmitters will cause energy and noise on the channel. An RSSI based approach is good for deciding the best channel to establish a network, if you're trying to find a quiet channel. Traverse

[Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
Hi I am trying to use CCA for a node to detect all radio channels around. If CCA is false, then there may be some nodes transmitting packets on corresponding channel. But in my test there has some problem. When a node uses a channel , eg 11, while no other nodes are around, it will report channel

Re: [Tinyos-help] Help about Packet transfer through CTP protocol and low power listning

2008-04-20 Thread Omprakash Gnawali
On Sun, Apr 20, 2008 at 11:28 AM, gaurav mathur <[EMAIL PROTECTED]> wrote: > > Sir, > I am using Tmote Sky mote and tinyos-2.x. I am reading status of proximity > sensor attached on tmote sky. My network should have exectly one root and > multiple sensor nodes. All sensor nodes should act as repeat

Re: [Tinyos-help] changing UART0 baud rate in TOS2 on tmote

2008-04-20 Thread Juan Antonio López Riquelme
Hello, In the folder C:\cygwin\opt\tinyos-2.x\tos\chips\msp430\usart is the file msp430usart.h. Redefine in your application msp430_uart_union_config_t msp430_uart_default_config or you change the default values in msp430usart.h. A greeting, Juan Antonio. - Original Message - From: <[

Re: [Tinyos-help] Help about using HplMsp430InterruptC

2008-04-20 Thread Juan Antonio López Riquelme
Hello Gaurav, In the configuration file you need two components: components HplMsp430GeneralIOC as Pins, HplMsp430InterruptC as IntPins; The wiring: App.Pin27 -> Pines.Port27; App.IntPin27 -> IntPines.Port27; The module: ... uses interface HplMsp430GeneralIO as Pin27; uses interface HplMsp4

Re: [Tinyos-help] Weird Results FromSensors

2008-04-20 Thread Michael Schippling
Try using ListenRaw to see what you are really getting. One possibility is that Listen is expecting a different TOS_Msg format than the one being received. This is flagged in the MOTECOM variable, e.g.: [EMAIL PROTECTED]:tmote and [EMAIL PROTECTED]:mica2 will use different AM headers... MS ren

Re: [Tinyos-help] question about number of bytes in RAM

2008-04-20 Thread Michael Schippling
A data element declared "globally" (outside of a method) will not be on the stack and its size will be included in compiler's report of RAM used. (IIRC) the stack itself is not included in this report. What exactly is the "it" that says how much RAM you are using? The compiler? And have you possi

Re: [Tinyos-help] Acoustic Monitoring

2008-04-20 Thread Michael Schippling
SPL is measured as an average of the instantaneous values you get from, for instance, a microphone. What you need to do is sample the mic at some reasonable rate (making some assumptions about the frequency range you are interested in). In T1 there is a HighFrequencySampling demo app that sorta doe

Re: [Tinyos-help] TOS_Msg length

2008-04-20 Thread Michael Schippling
TOS_Msg is defined in various AM.h files according to your platform. I count 44 bytes in the T1 micaz/AM.h definition, however your mileage may vary on other versions and platforms. sizeof(TOS_Msg) will always return that number. sizeof(YourStruct) will always return (according to your count) 34.

[Tinyos-help] Does TOSSIM 2.x simulate a serial port?

2008-04-20 Thread Oliver Frietsch
Hello, short question: Does TOSSIM 2.x simulate a serial port that I can connect to with the TOS java classes? I found some hints, but they seemed to cover TOSSIM 1.x only. It would be nice if I was able to use TOSSIM, but I don't see it as a must have, as Avrora offers serial simulation that

[Tinyos-help] Help about using HplMsp430InterruptC

2008-04-20 Thread gaurav mathur
Hi, I am connecting external digital sensor on Tmote Sky. I want to use HplMsp430InterruptC (tinyos-2.x )interface to connect sensor at port 27 of MSP 430. My code is not generating any interrupt. I need a sample code which uses HplMsp430InterruptC interface. Thanks Gaurav Mathur D-54 Karakor

Re: [Tinyos-help] Activating node

2008-04-20 Thread renjie huang
You had better let nodes to boot up at different time. There is some example code in tutorial of lesson 11. On 4/20/08, Nahr ... <[EMAIL PROTECTED]> wrote: > > Hi, > Please how can I activate all the node on my network (64 nodes) > should I write like that > a = 64 > while a>0: > m = t.getNo

Re: [Tinyos-help] Weird Results FromSensors

2008-04-20 Thread renjie huang
It should not be caused by sensor data but UART transmission. You can first check whether the data length field in the packet is correct or not. On 4/18/08, Maria Taramigkou <[EMAIL PROTECTED]> wrote: > > Hello!!! > > I have loaded the Oscilloscope and TOSBase applications on 2 motes..I > execute

Re: [Tinyos-help] packet ratio (urgent)

2008-04-20 Thread renjie huang
1.You can use a timer to fire periodically. When timer fired, if it is not busy(senddone is already signaled), send another packet. 2. Use a counter inside timer.fired() event to limit the duration. On 4/19/08, Nahr ... <[EMAIL PROTECTED]> wrote: > > Hi, > > Please , can some one tells me how to

[Tinyos-help] changing UART0 baud rate in TOS2 on tmote

2008-04-20 Thread sgreenbe
I need to change the default baud rate of the UART0 on the 10-pin expansion of my telosb/tmote in tinyos 2. Higher or lower doesn't matter right now, I just need to be able to change the default. any help is immensely appreciated; please be gentle, this is my first time ever working with tinyos.

[Tinyos-help] Activating node

2008-04-20 Thread Nahr ...
Hi, Please how can I activate all the node on my network (64 nodes) should I write like that a = 64 while a>0: m = t.getNode(a); m.bootAtTime(45654); a--; thnk you very much Nahr Elk ___ Tinyos-help mailing list Tinyos-help@millennium.berk

Re: [Tinyos-help] isolated node

2008-04-20 Thread Omprakash Gnawali
On Sun, Apr 20, 2008 at 3:48 AM, funofnet Funofnet <[EMAIL PROTECTED]> wrote: > > > > Hi, > > Please, > > When some node seem to be isolated ( couldn't contribute in routing tree > forming) > > How so, could they transmit their information??? > They can't. - om_p _

[Tinyos-help] question about number of bytes in RAM

2008-04-20 Thread Gaurav Chhawchharia
Hello All, I am using tinyos-1.x on boomerang on windows. I am doing some application programming. I have declared an array of about 600 bytes (plus some other data) in the implementation section of the module (So it should not be on stack. Right?). When I compile it, it says 860 bytes in the RAM

[Tinyos-help] use the spi port when the radio is off

2008-04-20 Thread jiang chen
Hi all, Is it possible to use the spi port when the radio is off? I would like to connect an external device which has an spi interface also, to the spi interface on the MICAZ, but I am not sure if this is possible. Because I konw the cc2420 chip also connect with atmega128 through SPI,and I want

Re: [Tinyos-help] Tinyos-help Digest, Vol 60, Issue 50

2008-04-20 Thread jiang chen
aders) = 34. But > the length is shown to be 46. > > I'm confused as to how this is so. I'd be thankful for help on this. > > Bhavish > > > -- > > Message: 5 > Date: Sun, 20 Apr 2008 13:08:22 +0800 >

[Tinyos-help] Acoustic Monitoring

2008-04-20 Thread Rogério De Pieri
Hi dear all I am working on an acoustic project within tinyos-2.x environment. The goal of the project is to take a view of the distribution of SPL (Sound Pressure Level) in an ambience. I took just a few of steps on that, and a this time I'm looking for documentation about how to take datas from

[Tinyos-help] isolated node

2008-04-20 Thread funofnet Funofnet
Hi, Please, When some node seem to be isolated ( couldn't contribute in routing tree forming) How so, could they transmit their information??? Thanks, Best regards, Funofnet __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meille

[Tinyos-help] Error compiling even simple programs

2008-04-20 Thread Urs Hunkeler
Hi all, I think I updated my tinyos tree (T2) via CVS. Whatever happened, tinyos won't compile any programs anymore. Any ideas what might cause this error? Cheers, Urs nescc 1.2.9 tinyos 2.x (cvs update from this morning) mac os 10.5.2 (x86) Trying to compile the Blink application: >> make cle