Re: [Tinyos-help] Accelerometer in avrora

2010-01-04 Thread Zainul M Charbiwala
Do you want to know how to interface your sensor data trace in Avrora, or do you want to know how to get readings from a real sensor board (say MTS310) on a real Micaz ? Zainul. On Mon, Jan 4, 2010 at 5:09 PM, Érico Lemos eric...@gmail.com wrote: Hello everyone, I'm using avrora to simulate

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Zainul M Charbiwala
Hi Akankshu, On Thu, Nov 12, 2009 at 9:17 AM, Akankshu Dhawan akank...@gmail.com wrote: Hi All I am using two mechanisms for high sampling. 1. Using MicStreamC and changing the prescalar value inside MicP to ATM128_ADC_PRESCALE_32 and the gain value is set to 64. I create a buffer of 1000

Re: [Tinyos-help] Synchronization error measurement

2009-08-15 Thread Zainul M Charbiwala
Hi Jinkyu, If you want to go the GPS way, and have a scenario where a good GPS signal is available to you, you could use the PPS signal that is provided by most GPS receivers. This is a pulse-per-second signal, the edge for which is guaranteed to have a jitter no less than 1us (typically). To

Re: [Tinyos-help] Avrora with TinyOS

2009-08-05 Thread Zainul M Charbiwala
Hi Faisal, This is an Avrora issue so I'm cross posting it to the Avrora list. I believe this problem was encountered earlier and fixed. Are you using a CVS version from Sourceforge ? Zainul. On Wed, Aug 5, 2009 at 6:47 AM, Faisal Aslamas...@informatik.uni-freiburg.de wrote: Hi, The

Re: [Tinyos-help] ask about energy consumption

2009-06-20 Thread Zainul M Charbiwala
more data than the others?and how could possibly the node transmit more data than the others if  i already set all node to transmit every 10 ms?? in my case its node 3 ran out the power first. --- On Wed, 6/17/09, Zainul M Charbiwala zai...@ee.ucla.edu wrote: From: Zainul M Charbiwala zai

Re: [Tinyos-help] ask about energy consumption

2009-06-17 Thread Zainul M Charbiwala
It is hard to tell whether the batteries for each node had the same capacity to begin with. Assuming they were fresh batteries with equal capacity, they would all die at pretty much the same time. This is what you see and its because: 1. Transmit cost and receive cost on the CC2420 are about the

Re: [Tinyos-help] Avrora Radio Stack

2009-03-03 Thread Zainul M Charbiwala
Apologies for cross posting, I believe this may be useful to both communities. The reason that the one node starts 100 cycles after the other is because John's example command includes a stagger-start interval of that amount. That said, I don't quite know why each node starts with an offset

Re: [Tinyos-help] Instrumentation

2008-12-23 Thread Zainul M Charbiwala
On Tue, Dec 23, 2008 at 1:53 PM, Michael Schippling sc...@santafe.edu wrote: I think basically: nothing. I seem to remember questions about support for a stack usage metric, searching this list might find something on that. Otherwise you probably need hardware support like an ICE. Or, if

Re: [Tinyos-help] wind and telosb

2008-12-16 Thread Zainul M Charbiwala
But in each time I get 4095 it never change! But the wind speed I could not understand how it works I search in google I found some thing like counter and many formulas Any help will be appreciated From: Zainul M Charbiwala zai...@ee.ucla.edu

Re: [Tinyos-help] wind and telosb

2008-12-15 Thread Zainul M Charbiwala
Hi Mark, You could use one of these http://www.sparkfun.com/commerce/product_info.php?products_id=8942 interfaced to the timer capture unit of the MSP430. By counting pulses from the anemometer, it should be fairly easy to get the wind speed. To get wind direction, you could use one of the free

Re: [Tinyos-help] Payload length influence on energy consumption and padding

2008-12-11 Thread Zainul M Charbiwala
Hi Delphine, Avrora tries to emulate the behavior of the chips as much as possible. A Mica2 radio is byte based and I know of no routine in Avrora that adds padding bytes. I believe the padding comes from TinyOS's packet management. Try changing the value of TOSH_DATA_LENGTH in

Re: [Tinyos-help] Mobility support

2008-12-10 Thread Zainul M Charbiwala
I believe he means node mobility. I'm not sure how one would implement it in TOSSIM but we have been working on some simple extensions to Avrora, if you're interested. Zainul. On Wed, Dec 10, 2008 at 7:15 PM, Eric Decker [EMAIL PROTECTED] wrote: What exactly does this mean? What is mobility

Re: [Tinyos-help] Drift - Time Synchronization

2008-10-18 Thread Zainul M Charbiwala
Hi Somnath, The main clock on the Telos motes runs on an internal DCO which has a lot of frequency error (could be on the order of 10%), unless the error is corrected through periodic recalibration with the crystal. I believe the timers are run off the 32KHz crystal in TinyOS, which would lead

Re: [Tinyos-help] Drift - Time Synchronization

2008-10-18 Thread Zainul M Charbiwala
. You said that the freq error (worst case) for the 32 Khz crystal is 40 ppm. What if we use the internal DCO ? will our internal freq error go up ? Thanks, Somnath On Sat, Oct 18, 2008 at 3:35 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Hi Somnath, The main clock on the Telos motes

Re: [Tinyos-help] Drift - Time Synchronization

2008-10-18 Thread Zainul M Charbiwala
the DCO at all temperatures and voltages (re-run calibration only when the sensor values change). Zainul. On Sat, Oct 18, 2008 at 3:32 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Hi, I would think so. If you use just the DCO, without any calibration, the error will be very high. From

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-28 Thread Zainul M Charbiwala
. On Wed, Aug 27, 2008 at 1:41 PM, Omprakash Gnawali [EMAIL PROTECTED] wrote: Were you able to get CTP to work on mica2's? Was that with or without LPL? - om_p On Wed, Aug 27, 2008 at 1:36 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Hi everyone, Just wanted to post my findings

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-27 Thread Zainul M Charbiwala
, Zainul. On Mon, Aug 25, 2008 at 8:55 AM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Thanks, I'll investigate with TestNetwork further and keep the group posted. Regards, Zainul. On Mon, Aug 25, 2008 at 8:28 AM, Omprakash Gnawali [EMAIL PROTECTED] wrote: On Sun, Aug 24, 2008 at 1:39 PM

Re: [Tinyos-help] tos.chips.msp430.usart documentation

2008-08-26 Thread Zainul M Charbiwala
Hi Ravish, I'm not too familiar with the IRIS node, but isn't it Atmel based ? In which case, you ought to be looking in tos/chips/atm128. The standard baudrate for the MicaZ is 57600 as defined in tos/platforms/micaz/hardware.h under PLATFORM_BAUDRATE. This setting is used in

Re: [Tinyos-help] Static route using switch statement....

2008-08-26 Thread Zainul M Charbiwala
Hi, I recently implemented a quick and dirty static routing implementation. I used a different strategy, but yours would also work. An equivalent but more compact implementation could use: uint8_t route[7] = {0x00, 0x00, 0x01, 0x01, 0x00, 0x04, 0x04}; if (TOS_LOCAL_ADDRESS) { destination =

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-25 Thread Zainul M Charbiwala
Thanks, I'll investigate with TestNetwork further and keep the group posted. Regards, Zainul. On Mon, Aug 25, 2008 at 8:28 AM, Omprakash Gnawali [EMAIL PROTECTED] wrote: On Sun, Aug 24, 2008 at 1:39 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: ... 3. What is this exchange

Re: [Tinyos-help] tos.chips.msp430.usart documentation

2008-08-25 Thread Zainul M Charbiwala
Hi, Since you're looking at TinyOS-2.x, I believe a good starting point may be the BaseStation application in the apps directory. Regards, Zainul. On Mon, Aug 25, 2008 at 6:40 AM, - - [EMAIL PROTECTED] wrote: Hi there! We are two university students searching for enlightenment... We need

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-24 Thread Zainul M Charbiwala
6.666 ms I'd really appreciate if anyone could point me to the component/module that generates this message. Is this part of CTP or part of the CC1000 stack ? Thanks very much, Zainul. On Sat, Aug 23, 2008 at 2:17 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Hi, I've been tinkering

[Tinyos-help] Does CTP work on Mica2 ?

2008-08-23 Thread Zainul M Charbiwala
Hi, I've been tinkering with the MultihopOscilloscope application and even the EasyCollection app from the tutorial and I can't seem to get CTP working on the Mica2. I'm using Avrora for all my testing, so it could possibly be an issue with the simulation tool. Using Avrora's packet monitor, I

Re: [Tinyos-help] Multihop Routing Application in TinyOS 2.0.2

2008-08-22 Thread Zainul M Charbiwala
Hi Dinesh, Take a look at MultihopOscilloscope and MViz in the apps directory. They both use CTP for multihop data collection. Regards, Zainul. On Fri, Aug 22, 2008 at 11:31 AM, Dinesh Koya [EMAIL PROTECTED] wrote: Hi all I am new to tinyos and I have just started working on with the telosb

Re: [Tinyos-help] TinyOS2.x and Avrora - possible bug

2008-07-27 Thread Zainul M Charbiwala
(); components new AMSenderC(AM_RADIO_SENSE_MSG); components new AMReceiverC(AM_RADIO_SENSE_MSG); components new TimerMilliC(); Regards, Zainul. On Sat, Jul 26, 2008 at 10:08 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: Hi everyone, I'm puzzled over some behavior I noticed when using Avrora

Re: [Tinyos-help] toscomm works on ubuntu hardy?

2008-07-26 Thread Zainul M Charbiwala
Hi, You need to use the sun-java6-jre package instead of the ones that ship standard with Hardy. You will also need to change the link in /etc/alternatives/java to usr/lib/jvm/java-6-sun/jre/bin/java Regards, Zainul. On Fri, Jul 25, 2008 at 9:32 PM, John Regehr [EMAIL PROTECTED] wrote: Is

[Tinyos-help] TinyOS2.x and Avrora - possible bug

2008-07-26 Thread Zainul M Charbiwala
Hi everyone, I'm puzzled over some behavior I noticed when using Avrora with TinyOS2.x. I'd really appreciate if someone could reproduce the behavior, which may possibly be a bug in the Mica implementation. I'm using the RadioCountToLeds application in T2.0.2. I've checked CntToLedsAndRfm in

Re: [Tinyos-help] Injecting ADC readings with TOSSIM in TinyOS2.x

2008-07-21 Thread Zainul M Charbiwala
Hi Raymond, Thanks for your reply. Yes, you extension would be really helpful. If you could post it or add it to the repository, I can work off it and try to use it. Thanks again, Zainul. On Mon, Jul 21, 2008 at 6:25 AM, Raymond Paxton [EMAIL PROTECTED] wrote: I have a working extension for

[Tinyos-help] Injecting ADC readings with TOSSIM in TinyOS2.x

2008-07-20 Thread Zainul M Charbiwala
Hi, I'd like to ask how one could use the TOSSIM Python framework to inject sensor readings into nodes ? Its unusual that a message (regarding the ADC implementation) on this mailing list from earlier this year was unanswered.