[Tinyos-help] Sequence Number in Multihop application

2007-12-06 Thread manu suryavansh
Hi,

I am using the sequence number in my multihop application and sometime I am 
receiving packets with the same sequence number multiple times at the serial 
port with the same data. Is this because the same packet may be reaching the 
base node through multiple routes? Below are the sequence numbers I received

   28913   28914   28914   28915   28915   28915   
28915   28916   28916   28916   28916   28920   28920   
28917   28918   28919   28919   28919   and few of them are 
repeated many times and this does not happen very often like out 35000 packets 
only few(8-9) of them got repeated.

Thank you
Manu Suryavansh
UF

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Sequence Number

2007-12-04 Thread manu suryavansh
Hi,

I am using the sequence number transmitted to find out the number of packets, I 
am using byte 20 and 21 (counting from 0) for my sequence number, the problem 
is that suddenly the sequence number start counting out of order for examples 
below is a list of sequence numbers I received
   5113   5114   5115   5116   5117   5118   5119   
320   321   322   323   324   325   325   325   
326   327   328   329   330   331   332   333   
334   335   5136   5137   5138   5139   5140   
5141   So as you can see, I received sequence number in the range of 5000 and 
suddenly it became 320 and then again it became correct

Please tell me what is the problem or any better way to find the number of lost 
packets

Thank you
Manu Suryavansh

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Effect of packet size

2007-11-30 Thread manu suryavansh
Hi,

From information on the list I found out that the tmotes can perform well at 
100 packets per second and also there is the 250kbps data rate limit of the 
transceiver, so in order to achieve higher sampling rate in a multihop 
application it was suggested to put more reading in one packet there by 
increasing the packet size and getting more efficiency in terms of data. 
I want to know is there any disadvantage of using a very large packet size as 
long as the total data rate is less than 250kbps?

Thank you
Manu Suryavansh
University of Florida

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tmote sky docs ...

2007-11-19 Thread manu suryavansh
Hi,
 
 I am using the Delta application from Moteiv and I am looking for the Delta 
application packet structure. It was earlier available at 
http://www.moteiv.com/support/tmote-message-format.html, but that link is no 
longer working and I have looked at following links 
 http://docs.tinyos.net 
 http://www.sentilla.com/moteiv-endoflife.html 
 http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/boomerang/
 http://www.cems.uvm.edu/~aobrien/tmote/
  
 and it is not available at any of the above links.
 If anybody knows where I can find this information please respond.
 
 Thank you
 Manu 
 UFL

Joe Polastre [EMAIL PROTECTED] wrote: FYI, All the documentation is available 
at
http://www.sentilla.com/moteiv-endoflife.html
and
http://docs.tinyos.net

The code is now checked into TinyOS CVS
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/boomerang/

-Joe

On Nov 8, 2007 8:23 AM, Andrew Parson O'Brien  wrote:
 Hello,

 here

 http://www.cems.uvm.edu/~aobrien/tmote/

 you can find ISO images of the driver and documentation CDs, data
 sheets for the tmote-sky and tmote-connect as well as the quickstart
 guide for the tmote-sky.

 Thanks go to Charley Robinson here at UVM for having the good sense to
 d/l them.

 Cheers,
 Andy




 ___
 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


   
-
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Sequence Number?

2007-11-19 Thread manu suryavansh
Hi,

Thanks for the information. I have one more question - there are various 
sequence number  transmitted in the packet (seqno, originalseqno etc). I am 
trying to find out the number of packets lost based on the sequence number- 
which sequence number should I use and what does the other sequence number 
signify. Below is one of the packet structure I found on the help-list and I 
think the Delta has similar structure and there are multiple sequence number in 
there.
   
  
ByteTOS_Msg

01length

02fcfhi

03fcflo

04dsn

05-06   destpan

07-08   addr

09type

10group
  /*- the next group of elements is stored in TOS_Msg.data 
---*/ 
  
11-12  sourceaddr

13-14  originaddr

15-16  seqno

17-18  originseqno

19ttl

20id

/*-  the next group of elements is stored in TOS_MHopMsg.data */

   DeltaMsgBeaconMsg

21seqno  parent

22seqno  parent

23seqno  cost

24seqno  cost

25readinghopcount

26readinghopcount

27parent timestamp

28parent timestamp

29neighborsizetimestamp

30retransmissionstimestamp

31neighbors

32neighbors

34neighbors

35neighbors

36neighbors

37neighbors

38quality

39quality

40quality

41quality

42quality

43quality


Thank you
Manu Suryavansh
UFL
Michael Schippling [EMAIL PROTECTED] wrote: You did look under:
 http://docs.tinyos.net/index.php/Boomerang
right? I was under the impression that all of the Moteiv support
pages had been transfered there, but maybe they shorted us some...

If you want the actual Boomerang message structs, look at:
 moteiv/apps/Delta/Delta.h
and
 moteiv/tos/lib/MultiHopLQI/MultiHop.h

Note, looking at the latter just solved one of my mysteries...
There are 3 different multi-hop message types defined there.
I couldn't figure out why I was getting different messages
with Listen connected to the Delta system...

MS



manu suryavansh wrote:
 Hi,
 
 I am using the Delta application from Moteiv and I am looking for the 
 Delta application packet structure. It was earlier available at 
 http://www.moteiv.com/support/tmote-message-format.html, but that link 
 is no longer working and I have looked at following links
 http://docs.tinyos.net
 http://www.sentilla.com/moteiv-endoflife.html
 http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/boomerang/
 http://www.cems.uvm.edu/~aobrien/tmote/
  
 and it is not available at any of the above links.
 If anybody knows where I can find this information please respond.
 
 Thank you
 Manu
 UFL
 
 */Joe Polastre /* wrote:
 
 FYI, All the documentation is available at
 http://www.sentilla.com/moteiv-endoflife.html
 and
 http://docs.tinyos.net
 
 The code is now checked into TinyOS CVS
 http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/boomerang/
 
 -Joe
 
 On Nov 8, 2007 8:23 AM, Andrew Parson O'Brien wrote:
   Hello,
  
   here
  
   http://www.cems.uvm.edu/~aobrien/tmote/
  
   you can find ISO images of the driver and documentation CDs, data
   sheets for the tmote-sky and tmote-connect as well as the quickstart
   guide for the tmote-sky.
  
   Thanks go to Charley Robinson here at UVM for having the good
 sense to
   d/l them.
  
   Cheers,
   Andy
  
  
  
  
   ___
   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
 
 
 
 Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try 
 it now. 
 
  
 
 
 
 
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.___
Tinyos-help mailing list
Tinyos-help

Re: [Tinyos-help] About MoteIV support information

2007-11-14 Thread manu suryavansh
Hi,

I am looking for tmote message format (that is the packet structure), it was 
earlier available at this link - 
http://www.moteiv.com/support/tmote-message-format.html 
If somebody knows where I can find this information please respond.

Thank you
Manu Suryavansh

Cory Sharp [EMAIL PROTECTED] wrote: Oh, and all of the datasheets are here
http://www.sentilla.com/moteiv-endoflife.html .

On Nov 8, 2007 1:29 AM, Cory Sharp  wrote:
 You can find the Moteiv Community Wiki articles here
 http://docs.tinyos.net/index.php/Boomerang announced from Joe's blog
 post here http://blog.sentilla.com/2007/10/sentilla-beta-update-and-docum.php
 . - Cory



 On Nov 8, 2007 1:15 AM, Urs Hunkeler  wrote:
  It might be possible to access large parts of the original web site
  through this link:
  http://web.archive.org/web/20070715062122/http://moteiv.com/
 
  However the archive is relatively slow and some parts might not be
  included (especially the areas where a subscription was required). Also
  the most recent information might not be available (though google cache
  might help there) I haven't checked yet. Maybe we should use the archive
  to make a local copy somewhere?
 
  Cheers,
  Urs
 
 
  Peizhao Hu schrieb:
   Dear All Tmote Sky Users;
  
   Anyone has a backup of all moteiv support information from the web site?
   As the sudden shutdown of MoteIV support web site, we lost all this
   information. It will be really graceful to have a copy for future
   reference. :-)
  
 
 
  ___
  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


   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tmote sky docs ...

2007-11-09 Thread manu suryavansh
Hi,

Does any body has the Delta (Moteiv) application packet structure. It was 
earlier available online but that link is not working and I couldn't find it on 
both the links mentioned below.

Thank you
Manu

Joe Polastre [EMAIL PROTECTED] wrote: FYI, All the documentation is available 
at
http://www.sentilla.com/moteiv-endoflife.html
and
http://docs.tinyos.net

The code is now checked into TinyOS CVS
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/boomerang/

-Joe

On Nov 8, 2007 8:23 AM, Andrew Parson O'Brien  wrote:
 Hello,

 here

 http://www.cems.uvm.edu/~aobrien/tmote/

 you can find ISO images of the driver and documentation CDs, data
 sheets for the tmote-sky and tmote-connect as well as the quickstart
 guide for the tmote-sky.

 Thanks go to Charley Robinson here at UVM for having the good sense to
 d/l them.

 Cheers,
 Andy




 ___
 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


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Wireless Switch

2007-07-31 Thread manu suryavansh
Hi,
I want to turn off/on the power supply to my mote remotely, I want to put a 
wireless switch which connects the battery to the mote and using some type of 
remote I should be able to turn the switch on and off, and I need a range of 
60-100 feet, if anybody knows how to make something like this please help me.
Thank you
Manu Suryavansh
University of Florida


   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Sending Start Signal

2007-07-23 Thread manu suryavansh
Hi,
I am using tmote sky and multihop routing, I am sampling values from a pressure 
sensor, I want to send a start signal to all the motes(all at the same time and 
same signal) so that I can start the sampling process whenever I want  can 
somebody tell me what will be the easiest way to do this
thank you
manu
University of Florida

   
-
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding battery and Voltage Regulator

2007-06-25 Thread manu suryavansh
Hi,
I am using tmote sky and I want to use a rechargeable battery with the motes. 
I wanted to know is there any specific type of battery I should use with 
particular 
amount of output current. Also if someone can tell me any voltage regulator/dc 
dc 
converter to use with the battery which can give 3v output.

Thank you
Manu Suryavansh
   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Time synchronization for Tmote Sky

2007-06-19 Thread manu suryavansh
Hi,
I there any example of time synchronization with multihop for tmote sky. I have 
25 tmote sky systems  connected to pressure sensors and I want to synchronize 
the sampling of the sensors. 
Thank you
Manu Suryavansh

 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding battery Life

2007-06-15 Thread manu suryavansh
Hi,
The tmote sky system can work from 2.1V to 3.6V. In that case when the battery 
voltage drops to below 2.1V it will stop working and the remaining energy 
stored in the battery will not be used, so if the battery has 2200mAh of energy 
not all of it will be used, is this correct?. Is there any voltage up converter 
present on the system?
Thank you
Manu Suryavansh

   
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, 
when. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding Labview and Time

2007-06-12 Thread manu suryavansh
Hi all,
I am using Tmote and Tinyos 1.1. I want to collect data at base node using 
labview, so is it possible to collect data using Labview?, if somebody knows 
how to do it please tell me.
Also is there any way I can find out the approximate time at which the samples 
where taken by the remote nodes, so that it is know that when a particular 
event occured?
Thank you
Manu


   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to find lost no of packets

2007-05-16 Thread manu suryavansh
Hi,
I am using T1 and multihop application with tmote sky. I want to know how can I 
find out that how many packets have been lost? What happens if the 
acknowledgment also gets lost?.
Thank you
Manu Suryavansh


   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Reading sensor reading from a Multihop packet

2007-04-12 Thread manu suryavansh
Hi,
Thanks for the help. I am planning to take the byte array and then write it to 
file using java i/o or may be to a database according to motes address. I don't 
understand what you meant by- work out the sequence of stream opens needed to 
use Java file i/o directly. 
Thank you
Manu Suryavansh


Michael Schippling [EMAIL PROTECTED] wrote: You should be able to modify 
Listen.java to dump the data in any
format you like. You can then just redirect it's output to a file
Listen  file.txt
or for extra credit work out the sequence of stream opens needed
to use Java file i/o directly.

MS

manu suryavansh wrote:
 Hi,
 I am sending 10 sensor readings in one packet using Multihop. I just 
 want to store the reading in a text file corresponding to each mote. I 
 don't want any GUI display.
 Can somebody please tell me how to get started?
 I have tried to understand the Trawler (Surge) but I find it very 
 complicated and there is no documentation.
 I want to know that since I want to write readings in a file, should I 
 write in the file in append mode. With the trawler application I think 
 the readings are stored in an array and on selecting save all the 
 reading are saved at once but in this case only approximately 16000 
 reading can be saved.
 
 Thank you
 Manu Suryavansh
 University of Florida
 
 
 
 No need to miss a message. Get email on-the-go 
 
 with Yahoo! Mail for Mobile. Get started. 
 
 
 
 
 
 ___
 Tinyos-help mailing list
 [EMAIL PROTECTED]
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.___
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Multihop Routing Protocol and Data logging Application

2007-04-10 Thread manu suryavansh
Hi,
I am using Tmote and a multihop application like surge or Delta. I want to 
store all the readings at my laptop in text files and I don't need any GUI 
based display. I just need some direction as to how to write a application 
which can read the packets from the COM port and then store the readings in a 
text file. Each packet contains multiple readings and also it contains multihop 
routing information.
Also is there any paper which describes the multihop routing protocol which has 
been implemented?
Thank you
Manu Suryavansh
University of Florida

   
-
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error in Readings

2007-04-04 Thread manu suryavansh
 result_t HumidityError.error(uint8_t token) {
humidity = 0;
post putHumidity();
state = TEMPERATURE;
return SUCCESS;
  }

  async event result_t Pressure2.dataReady(uint16_t data) {
temperature = data;
post putTemperature();
state = TSRSENSOR;
return SUCCESS;
  }

  event result_t TemperatureError.error(uint8_t token) {
temperature = 0;
post putTemperature();
state = TSRSENSOR;
return SUCCESS;
  }

  async event result_t TSR.dataReady(uint16_t data) {
tsr = data;
post putTSR();
state = PARSENSOR;
return SUCCESS;
  }

  async event result_t PAR.dataReady(uint16_t data) {
par = data;
post putPAR();
state = ITEMP;
return SUCCESS;
  }

  async event result_t InternalTemperature.dataReady(uint16_t data) {
itemp = data;
post putIntTemp();
state = IVOLT;
return SUCCESS;
  }

  async event result_t Pressure.dataReady(uint16_t data) {
ivolt = data;
post putIntVoltage();
state = HUMIDITY;
return SUCCESS;
  }
}

If someone can tell me the problem it will be very helpful.
Thank you
Manu Suryavansh
University of Florida


 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Voltage of AVcc pin on Tmote Sky-Pin1

2007-04-03 Thread manu suryavansh
Hi,
Thanks Michael.
I am using the 1.5V reference, I want to know how much does the reference 
voltage varies. I am planning to use a voltage regulator if it varies much, 
because Tmote allows to use external reference. As the sensor output is between 
0-10mV I am getting very low resolution so either I have to lower the reference 
or amplify my signal. Usually sensor outputs are low voltage so what is 
generally done and how a constant supply is maintained?
Any suggestions?
Thank you
Manu Suryavansh
UFL

Michael Schippling [EMAIL PROTECTED] wrote: If the telos is like the mica's 
the AVcc pin is pretty much the battery
supply, so 2.9v is reasonable. Is there a spec someplace that says it
should be 2.5v?

If the above is true it's actually a feature...yes, a ratio-metric sensor
is a voltage divider, and the output will change with the supply voltage.
But (on the mica's at least) the ADC reference voltage is tied to the
battery and droops by the same amount, so they remain (mostly) calibrated
to each other.

tricky design...do you think it was intentional?
MS

manu suryavansh wrote:
 Hi,
 I measured the voltage of the AVcc pin on tmote sky using a multimeter 
 and it shows to be 2.9 volts. Is it not supposed to be 2.5 volts?- I 
 want to use that pin to give supply to my sensor but if that voltage 
 keeps varying then output will not be correct because the sensor is 
 ratiometric and its output depends on the power supply. Is this the 
 correct way to do this?
 Any suggestions will be helpful.
 Thank you
 Manu Suryavansh
 University of Florida
 
 Food fight? 
  
 Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA. 
  
 
 
 
 
 
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Setting ADC in differential Sampling Mode

2007-03-29 Thread manu suryavansh
Hi,
I am using Tmote SKy and I want to connect pressure sensor to it which gives 
differential output. At present I have connected the V+ and V- to two different 
channels and the I reading from both ADC channels and then doing subtraction in 
the code. Can somebody  tell me how to set up the ADC in differential sampling 
mode.
Thank you
Manu Suryavansh
University of Florida

 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to get Absolute value-Modulus function

2007-03-27 Thread manu suryavansh
Hi, 
I am using tmote sky and want to measure differential voltage so I am 
connecting V+ and V- to ADC1 and ADC2 on the tmote sky and then I am taking the 
difference between the two adc values but I am getting values like 65416.0 for 
the difference so I wanted to know is there any function which gives the 
absolute value of the difference (modulus of the difference) . I think this is 
the problem.
Is this correct? 
Thank you
Manu Suryavansh
University of Florida

 
-
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Mote not sending data

2007-03-20 Thread manu suryavansh
Hi,
I am using Tmote sky and Boomerang. I am trying to send two reading in one 
message by modifying the Delta application in boomerang but the mote is not 
sending data. I have defined two variables in the structure: reading1 and 
reading2 and I have defined BUFFER_SIZE as two. The code compiles properly but 
when I install it on motes the leds don't turn on and off which tell that it is 
not sending data.
Below is the ADC event function:
async event result_t ADC.dataReady(uint16_t data) {

result_t rv = FAIL;
  if( index  BUFFER_SIZE )
{
  m_adc[ index ] = data;
  index=index+1;
  if( index = BUFFER_SIZE )
post sendData();

  rv = SUCCESS;
}
   return rv;

}

The sendData function is:
task void sendData() {
uint16_t _length;
int i;

uint16_t neighbors[MHOP_PARENT_SIZE];
uint16_t quality[MHOP_PARENT_SIZE];


if (cqueue_pushBack( queue ) == SUCCESS) {
  DeltaMsg* dmsg = (DeltaMsg*)call SendDeltaMsg.getBuffer(msg[queue.back], 
_length);

  atomic dmsg-reading1 = m_adc[0];
  atomic dmsg-reading2 = m_adc[1];

  dmsg-parent = call RouteControl.getParent();

  call RouteStatistics.getNeighbors(neighbors, MHOP_PARENT_SIZE);
  call RouteStatistics.getNeighborQuality(quality, MHOP_PARENT_SIZE);

  for (i = 0; i  MHOP_PARENT_SIZE; i++) {
dmsg-neighbors[i] = neighbors[i];
dmsg-quality[i] = quality[i];
  }

  dmsg-neighborsize = MHOP_PARENT_SIZE;
  dmsg-retransmissions = call RouteStatistics.getRetransmissions();

  dmsg-seqno = m_seqno;
  if (call SendDeltaMsg.send( msg[queue.back], sizeof(DeltaMsg) ) == 
SUCCESS) {
call Leds.redOn();
  }
  else {
// remove from queue
cqueue_popBack( queue );
  }
}
// always increase seqno.  gives a better idea of how many packets
// really have been dropped
m_seqno++;
  }



index is a global variable and I have initialized it to zero in the command 
result_t StdControl.init()  function.I have tried changing the message size in 
the makefile but it did not work. I think there is some problem with the 
initialization of index. if somebody could please tell me what mistake I am 
making it will be very helpful.
All the code files are attached.

Thank you
Manu Suryavansh
University of Florida


 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.// $Id: Delta.h 896 2006-08-02 02:17:38Z polastre $
/*
 * Copyright (c) 2006 Moteiv Corporation
 * All rights reserved.
 *
 * This file is distributed under the terms in the attached MOTEIV-LICENSE 
 * file. If you do not find these files, copies can be found at
 * http://www.moteiv.com/MOTEIV-LICENSE.txt and by emailing [EMAIL PROTECTED]
 */
#ifndef H_Delta_h
#define H_Delta_h

#include MultiHop.h

#define DELTA_QUEUE_SIZE MHOP_DEFAULT_QUEUE_SIZE - (MHOP_DEFAULT_QUEUE_SIZE  2)

enum {
  DELTA_TIME = 1024,
  BUFFER_SIZE=2,
};

enum {
  AM_DELTAMSG = 33
};

typedef struct DeltaMsg {
  uint32_t seqno;
  uint16_t reading1;
  uint16_t reading2;
  //uint16_t reading3;
 // uint16_t reading4;
  //uint16_t reading5;
 // uint16_t reading6;
 // uint16_t reading7;
//  uint16_t reading8;
//  uint16_t reading9;
//  uint16_t reading10;

  uint16_t parent;
  uint8_t neighborsize;
  uint8_t retransmissions;
  uint16_t neighbors[MHOP_PARENT_SIZE];
  uint16_t quality[MHOP_PARENT_SIZE];
 

} DeltaMsg;

#endif//H_Delta_h



Delta.nc
Description: 3519607903-Delta.nc


DeltaM.nc
Description: 894936906-DeltaM.nc


Makefile
Description: 402397780-Makefile
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Mote not sending data

2007-03-12 Thread manu suryavansh
Hi,
I am using tmote sky and I am using the Delta application in Boomerang. The 
delta application sends one reading per message but I have modified it to send 
10 readings per message, I store the reading in an array and then send them, 
the code gets compiled but the motes are not sending data and when I run the 
listen tool I get this-
--
TOS_Msg length is invalid: header_length=5,real_length=18 ... modifying msg to 
fit
Received message:08 00 00 00 00 00 7E 00 65 7D 00 00 00 00 00 00 00 00
-
I changed the variable TOSH_DATA_LENGTH  to 76 in both AM.h and the in the 
makefile for my application but then also I am receiving this error.

The code which I use to store reading is-
 async event result_t ADC.dataReady(uint16_t data) {

result_t rv = FAIL;
   
  DeltaMsg* dmsg ;
dmsg-count++;
if( dmsg-index  BUFFER_SIZE )
{
  dmsg-reading[ dmsg-index++ ] = data;
  if( dmsg-index = BUFFER_SIZE )
post sendData();
  rv = SUCCESS;
}
return rv;

}
The send method is :
task void sendData() {
uint16_t _length;
int i;

uint16_t neighbors[MHOP_PARENT_SIZE];
uint16_t quality[MHOP_PARENT_SIZE];


if (cqueue_pushBack( queue ) == SUCCESS) {
  DeltaMsg* dmsg = (DeltaMsg*)call SendDeltaMsg.getBuffer(msg[queue.back], 
_length);

  //atomic dmsg-reading = m_adc;
  dmsg-parent = call RouteControl.getParent();

  call RouteStatistics.getNeighbors(neighbors, MHOP_PARENT_SIZE);
  call RouteStatistics.getNeighborQuality(quality, MHOP_PARENT_SIZE);

  for (i = 0; i  MHOP_PARENT_SIZE; i++) {
dmsg-neighbors[i] = neighbors[i];
dmsg-quality[i] = quality[i];
  }

  dmsg-neighborsize = MHOP_PARENT_SIZE;
  dmsg-retransmissions = call RouteStatistics.getRetransmissions();

  dmsg-seqno = m_seqno;
  if (call SendDeltaMsg.send( msg[queue.back], sizeof(DeltaMsg) ) == 
SUCCESS) {
call Leds.redOn();
  }
  else {
// remove from queue
cqueue_popBack( queue );
  }
}
// always increase seqno.  gives a better idea of how many packets
// really have been dropped
m_seqno++;
  }

-
Please tell me what mistake I am making. I am also attaching all the code files.
Thank you
Manu Suryavansh

 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.// $Id: Delta.h 896 2006-08-02 02:17:38Z polastre $
/*
 * Copyright (c) 2006 Moteiv Corporation
 * All rights reserved.
 *
 * This file is distributed under the terms in the attached MOTEIV-LICENSE 
 * file. If you do not find these files, copies can be found at
 * http://www.moteiv.com/MOTEIV-LICENSE.txt and by emailing [EMAIL PROTECTED]
 */
#ifndef H_Delta_h
#define H_Delta_h

#include MultiHop.h

#define DELTA_QUEUE_SIZE MHOP_DEFAULT_QUEUE_SIZE - (MHOP_DEFAULT_QUEUE_SIZE  2)

enum {
  DELTA_TIME = 1024 * 5,
  BUFFER_SIZE=10,
};

enum {
  AM_DELTAMSG = 33
};

typedef struct DeltaMsg {
  uint32_t seqno;
  uint16_t reading[BUFFER_SIZE];
  uint16_t parent;
  uint8_t neighborsize;
  uint8_t retransmissions;
  uint16_t neighbors[MHOP_PARENT_SIZE];
  uint16_t quality[MHOP_PARENT_SIZE];
  uint8_t index;
bool send_data_ready;
uint16_t lastCount;
uint16_t count;
uint16_t data[BUFFER_SIZE];
uint16_t send_data[BUFFER_SIZE];

} DeltaMsg;

#endif//H_Delta_h



Delta.nc
Description: 3519607903-Delta.nc


DeltaM.nc
Description: 894936906-DeltaM.nc


Makefile
Description: 402397780-Makefile
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Code not working on tmote

2007-03-09 Thread manu suryavansh
Hi Gaurav,
After I made that change and run the Listen tool, it is giving the following 
error-
---
Received message:08 00 00 00 00 00 7E 00 65 7D 00 00 00 00 00 00 00 00
08 00 00 00 00
TOS_Msg length is invalid: header_length=5,real_length=18 ... modifying msg to 
fit
-
I have changed the message length in the AM.h file in the CC2420 dir to:
#define TOSH_DATA_LENGTH 76

#define TOSH_MAX_DATA_LENGTH (156 - 10 - 2)

Do I have to change the message length somewhere else also?

Thank you
Manu

[EMAIL PROTECTED] wrote: Hi Manu,

I am not sure but you can try this: take postdata() out from atomic statement.

Gaurav

 Original message 
Date: Thu, 8 Mar 2007 12:04:22 -0800 (PST)
From: manu suryavansh   
Subject: [Tinyos-help] Code not working on tmote  
To: tinyos-help@Millennium.Berkeley.EDU

   Hi,
   I am using tmote and boomerang, I want to send more
   readings in one message using multihop, I am using
   Delta(similar to surge) application from moteiv,
   I store the reading in an array and then send the
   whole array the change I made is:
   ---
   async event result_t ADC.dataReady(uint16_t data) {
  
   result_t rv = FAIL;
   atomic
   {
 DeltaMsg* dmsg ;
   dmsg-count++;
   if( dmsg-index  BUFFER_SIZE )
   {
 dmsg-reading[ dmsg-index++ ] = data;
 if( dmsg-index = BUFFER_SIZE )
   post sendData();
 rv = SUCCESS;
   }
   }
   return rv;

   //m_adc = data;
   //post sendData();
   //return SUCCESS;
 }
   ---
   where reading is an array of the structure dmsg,
   the whole program is also attached, the program is
   compiling but when I install it on my motes it is
   not receiving any reading in the trawler application
   if somebody can please tell me what I have done
   wrong it will be very helpful
   Thank you
   Manu



 

   Be a PS3 game guru.
   Get your game face on with the latest PS3 news and
   previews at Yahoo! Games.

Delta.h (2k bytes)

Delta.nc (5k bytes)

DeltaM.nc (6k bytes)

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding Acknowledgement and retransmission

2007-03-08 Thread manu suryavansh
Hi,
I am using Boomerang and tmotes, I wanted to know that is their any 
acknowledgment  mechanism in the oscilloscope application so that I can find 
out how many messages have been lost,
also how can acknowledgment and retransmission can be implemented in any 
application?

thank you
Manu

 
-
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Code not working on tmote

2007-03-08 Thread manu suryavansh
Hi,
I am using tmote and boomerang, I want to send more readings in one message 
using multihop, I am using Delta(similar to surge) application from moteiv,
I store the reading in an array and then send the whole array the change I made 
is:
---
async event result_t ADC.dataReady(uint16_t data) {

result_t rv = FAIL;
atomic
{
  DeltaMsg* dmsg ;
dmsg-count++;
if( dmsg-index  BUFFER_SIZE )
{
  dmsg-reading[ dmsg-index++ ] = data;
  if( dmsg-index = BUFFER_SIZE )
post sendData();
  rv = SUCCESS;
}
}
return rv;

//m_adc = data;
//post sendData();
//return SUCCESS;
  }
---
where reading is an array of the structure dmsg,
the whole program is also attached, the program is compiling but when I install 
it on my motes it is not receiving any reading in the trawler application
if somebody can please tell me what I have done wrong it will be very helpful
Thank you
Manu 

 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.// $Id: Delta.h 896 2006-08-02 02:17:38Z polastre $
/*
 * Copyright (c) 2006 Moteiv Corporation
 * All rights reserved.
 *
 * This file is distributed under the terms in the attached MOTEIV-LICENSE 
 * file. If you do not find these files, copies can be found at
 * http://www.moteiv.com/MOTEIV-LICENSE.txt and by emailing [EMAIL PROTECTED]
 */
#ifndef H_Delta_h
#define H_Delta_h

#include MultiHop.h

#define DELTA_QUEUE_SIZE MHOP_DEFAULT_QUEUE_SIZE - (MHOP_DEFAULT_QUEUE_SIZE  2)

enum {
  DELTA_TIME = 1024 * 5,
  BUFFER_SIZE=10,
};

enum {
  AM_DELTAMSG = 33
};

typedef struct DeltaMsg {
  uint32_t seqno;
  uint16_t reading[BUFFER_SIZE];
  uint16_t parent;
  uint8_t neighborsize;
  uint8_t retransmissions;
  uint16_t neighbors[MHOP_PARENT_SIZE];
  uint16_t quality[MHOP_PARENT_SIZE];
  uint8_t index;
bool send_data_ready;
uint16_t lastCount;
uint16_t count;
uint16_t data[BUFFER_SIZE];
uint16_t send_data[BUFFER_SIZE];

} DeltaMsg;

#endif//H_Delta_h



Delta.nc
Description: 3519607903-Delta.nc


DeltaM.nc
Description: 894936906-DeltaM.nc
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Code not working on tmote

2007-03-08 Thread manu suryavansh
Hi Gaurav,
After I made that change and run the Listen tool, it is giving the following 
error-
---
Received message:08 00 00 00 00 00 7E 00 65 7D 00 00 00 00 00 00 00 00
08 00 00 00 00
TOS_Msg length is invalid: header_length=5,real_length=18 ... modifying msg to 
fit
-
I have changed the message length in the AM.h file in the CC2420 dir to:
#define TOSH_DATA_LENGTH 76

#define TOSH_MAX_DATA_LENGTH (156 - 10 - 2)

Do I have to change the message length somewhere else also?

Thank you
Manu


[EMAIL PROTECTED] wrote: Hi Manu,

I am not sure but you can try this: take postdata() out from atomic statement.

Gaurav

 Original message 
Date: Thu, 8 Mar 2007 12:04:22 -0800 (PST)
From: manu suryavansh   
Subject: [Tinyos-help] Code not working on tmote  
To: tinyos-help@Millennium.Berkeley.EDU

   Hi,
   I am using tmote and boomerang, I want to send more
   readings in one message using multihop, I am using
   Delta(similar to surge) application from moteiv,
   I store the reading in an array and then send the
   whole array the change I made is:
   ---
   async event result_t ADC.dataReady(uint16_t data) {
  
   result_t rv = FAIL;
   atomic
   {
 DeltaMsg* dmsg ;
   dmsg-count++;
   if( dmsg-index  BUFFER_SIZE )
   {
 dmsg-reading[ dmsg-index++ ] = data;
 if( dmsg-index = BUFFER_SIZE )
   post sendData();
 rv = SUCCESS;
   }
   }
   return rv;

   //m_adc = data;
   //post sendData();
   //return SUCCESS;
 }
   ---
   where reading is an array of the structure dmsg,
   the whole program is also attached, the program is
   compiling but when I install it on my motes it is
   not receiving any reading in the trawler application
   if somebody can please tell me what I have done
   wrong it will be very helpful
   Thank you
   Manu



 

   Be a PS3 game guru.
   Get your game face on with the latest PS3 news and
   previews at Yahoo! Games.

Delta.h (2k bytes)

Delta.nc (5k bytes)

DeltaM.nc (6k bytes)

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Sending aggregate data

2007-03-01 Thread manu suryavansh
Hi,
I am trying to write a application which sends 10 or more sensor readings using 
multihop (like done in Delta and oscilloscope in boomerang),
i want to know that should i modify the oscope interface so that it sends the 
data using multihop,
also if I store 10 readings in an array in the Delta application then how to 
construct message from that array

any suggestion will be helpful
thank you
manu

 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Difference between send and sendMsg interface

2007-03-01 Thread manu suryavansh
Hi, 
Q1. what is the difference between send and sendMsg interface?
Q2. Without using Genericcomm how can a message be send?(like done in Delta)?
thank you
manu

 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tmote sky range and power consumption with external antenna

2007-02-21 Thread manu suryavansh
Hi,
I am using an antenova antenna(titanis) with a typical gain of 4.1 dBi, I 
wanted to know does the mote consumes more power with an external antenna( I 
think power consumption remains same and it is transferring the same power to 
the antenna as it was to the internal antenna).
Also how can I increase the transmitted power?
So if a use a antenna with 15 dBi gain then my range will become much better 
and my power consumption will remain same.
Thank you
Manu Suryavansh

 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Outdoor Range with Tmote sky

2007-02-20 Thread manu suryavansh
hi,
what is the range when not in line of sight, i thought that the communication 
in 2.5Ghz frequency range is not affected by line of sight
thank you
manu

Joe Polastre [EMAIL PROTECTED] wrote: As per the datasheet, 1 meter elevated 
above the ground, line of sight.

For on the ground results, see:
http://www.polastre.com/papers/spots05-telos.pdf

-Joe

On 2/6/07, Xavier Orduña  wrote:
 Hi,

 I'm using the tmote sky to deploy a wsn in an outdoor environment. After
 firsts tests, I discovered that when motes are on the floor (without any
 tripod or similar) the maximum range (using max tx power) is no higher
 than 7 or 8 meters. That's very far from the 125 meter range that is
 described in the tmote datasheet.

 Does anyone know what are the conditions in which the maximum range is
 125 meter in outdoor? Does anyone know if I'm doing something wrong (I'm
 using the just unpacked Delta program and a little modification of Delta
 to get sensor data)?

 Thanks a lot

 Xavi
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Oscilloscope with Multihop

2007-02-15 Thread manu suryavansh

Hi all,

I am trying to modify oscilloscope so that it sends data 
using a multihop mechanism through BaseStation in MultiHop. 

I have wired the interfaces like shown below-

OscillorouteM.RouteControl - multihopM;
OscillorouteM.Send - multihopM.Send[AM_OSCRT];

And in OscillorouteM:
[. . .]
task void dataTask() {

struct OscopeMsg *pack;


if ((pack = (struct OscopeMsg *)call 
Send.getBuffer(msg[currentMsg],Len))) {
   

atomic {

 packetReadingNumber = 0;

 pack-lastSampleNumber = readingNumber;

   }


pack-channel = 1;

pack-sourceMoteID = TOS_LOCAL_ADDRESS;

 

if (call Send.send(msg[currentMsg], sizeof(struct OscopeMsg)))

  {

  atomic {

currentMsg ^= 0x1;

  }

 call Leds.yellowToggle();
 

  }
   

}

  }


  async event result_t ADC.dataReady(uint16_t data) {

struct OscopeMsg *pack;

atomic {

  pack = (struct OscopeMsg *)msg[currentMsg].data;

  pack-data[packetReadingNumber++] = data;

  readingNumber++;

  //dbg(DBG_USR1, data_event\n);

  if (packetReadingNumber == BUFFER_SIZE) {

  post dataTask();

  }

}

   } 
However it is not working, the sensors don't send directly 
to the parent the data they have collected.
Can somebody please tell me what i have done wrong?

thank you
manu


 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] High gain Antenna

2007-02-09 Thread manu suryavansh
Hi,
I want to connect an external antenna to the Tmote sky which has an SMA 
connector, can somebody tell me any high gain antenna(gain12DBI) and also if 
somebody can tell me what tool has to be used to connect the antenna to the SMA 
connector.

Thank you
Manu

 
-
Access over 1 million songs - Yahoo! Music Unlimited.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Pressure sensor for tmote sky

2007-02-07 Thread manu suryavansh
Hi,
I want to measure absolute pressure between 0-15PSI. I want to know where can I 
get a pressure sensor which gives output within the input range of tmote sky 
and also I am not clear whether to give different power supply to sensor or the 
same as tmote sky.
Does the Vref of the ADC of tmote sky changes with time?
Can somebody point me to some tutorial or paper which describes interfacing 
external sensor to tmote sky.

Thank you
Manu Suryavansh

  
-
Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.  ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] connecting external sensor- power supply and Vref

2007-02-06 Thread manu suryavansh
hi,
i want to connect an external pressure sensor to tmote sky, it is voltage 
ratiometric pressure sensor, so its output will be proportional to applied 
supply voltage, 
i wanted to know that is the pin 1 on the 10 pin expansion connector Analog VCC 
=1.5V.
I want to know that what should be the range of the voltage input and is there 
any constant voltage on the board which i can give as power supply to the 
pressure sensor so that conversion takes place properly at all time with 
respect to ADC Vref of 1.5V.

Thank you
manu

 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] changing number of readings in one packet in oscilloscope application

2007-02-02 Thread manu suryavansh
hi all,
I was trying to change the number of readings in one message in oscilloscope 
application and I found that i had to change the the BUFFER_SIZE in oscope.h, 
but the most important is to change TOSH_DATA_LENGTH in AM.h in the dir 
tos\lib\CC2420Radio

however i could not understand why TOSH_MAX_DATA_LENGTH = (128 - 10 - 2) and 
also how do we decide the value of TOSH_DATA_LENGTH

thank you
manu


 
-
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get 
things done faster.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] OSCOPE_BUFFER_SIZE in oscope lib

2007-02-01 Thread manu suryavansh
hi all,
i changes the variable OSCOPE_BUFFER_SIZE in the oscope.h file in the 
dir- C:\Cygwin\cygwin\opt\moteiv\tinyos-1.x\tos\lib\Oscope
and then i did make clean and make in the 
dir- C:\Cygwin\cygwin\opt\moteiv\tools\java

but after this no readings where being shown in the oscilloscope gui,
so somebody please tell me what is the problem,
how do i again compile the nc files in- 
C:\Cygwin\cygwin\opt\moteiv\tinyos-1.x\tos\lib\Oscope

and also do i have to make the some changes to the java program?

thank you
manu
Joe Polastre [EMAIL PROTECTED] wrote: type
make clean; make

in the oscilloscope java directory.

On 1/30/07, manu suryavansh  wrote:
 hi friends,
 i changed the variable OSCOPE_BUFFER_SIZE in the oscope.h file to change the
 number of reading in one packet of oscilloscope but after that it stopped
 showing in the oscilloscope gui, can somebody please tell me what is the
 problem

 thank you
 manu


  
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.


 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 
-
Everyone is raving about the all-new Yahoo! Mail beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problem with oscilloscope at 100Hz and 9 remote nodes

2007-02-01 Thread manu suryavansh
hi all,
i am running oscilloscope application on 9 tmotes and 1 is running tosbase, and 
i am sampling data at 100Hz (OSCOPE_DELAY=1), 
but when i save data for 5 sec from all the nodes i get large difference(almost 
half) in the number of samples which tosbase has received from different nodes, 
for example from 5 motes i get 500 samples but from other 4 motes i get 250 
samples,

can somebody please tell me why is this happening?

thank you
manu

 
-
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] oscilloscope application-after 16000 samples -samples lost?

2007-02-01 Thread manu suryavansh
hi all,
in the oscilloscope application from moteiv, after 16000 samples it again 
starts from 1st sample so if 17000 smaples have been taken and then i click on 
save in the gui i get only 1000 samples in the file
can somebody tell me why is this happening? and how can i get all the samples?

thank you
manu 

 
-
Everyone is raving about the all-new Yahoo! Mail beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to create two differnt networks

2007-01-30 Thread manu suryavansh
hi friends,
i wanted to know that how can i have two different base station nodes so that 
half of the remote nodes send their data to base1 and the other half send their 
data to base2 and both these base stations will be near by
thank you
manu

 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] OSCOPE_BUFFER_SIZE in oscope lib

2007-01-30 Thread manu suryavansh
hi friends,
i changed the variable OSCOPE_BUFFER_SIZE in the oscope.h file to change the 
number of reading in one packet of oscilloscope but after that it stopped 
showing in the oscilloscope gui, can somebody please tell me what is the problem

thank you
manu

 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinydbapp not running on tmoteksy

2007-01-29 Thread manu suryavansh
hi friends,
i wanted to know how can i run tinydbapp on tmote sky, i tried to compile the 
application for tmote but it was giving many errors, i think first i have to do 
some configuration,
i just request that please tell me where can i find all configuration that has 
to be done so that i can rum tinydb application tmote sky

thanks very much
bye
manu suryavanshh
research assistant
university of florida


 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] delta and sampling at high frequency

2007-01-28 Thread manu suryavansh
hi all,
i am using delta application on tmote sky but when i changed the sampling 
frequency to 100Hz most of  the packets were getting lost even with only 3-4 
nodes, i also tried to change the packet size to include more reading in one 
packet by changing AM_DELTAMSG but then it stopped sending

can somebody please tell how to solve this problem
thank you
manu suryavansh
university of florida

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] external antenna for tmote ksy

2007-01-28 Thread manu suryavansh
hi all,
i want to use an external antenna with tmote ksy because i will be placing the 
tmote sky unit inside a metal case and only antenna will be outside,
can somebody tell me from where can i buy an antenna which can be easily 
attached to the tmote sky unit

thank you
manu suryavansh
university of florida

 
-
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding delta application and oscilloscope

2007-01-25 Thread manu suryavansh
Dear friends,
I am new to tinyos so i am asking a few basic doubts,
I changed the sampling period in delta that is DELTA_TIME = 102 * 1 so that 
sampling rate is approximately 100Hz, but now when i run trawler it shows that 
lots of packets are getting lost with only 2-3 nodes,
 Also I want to know that how can in change the packet size in delta 
application so that 10-20 readings are sent together, I tried to change 
AM_DELTAMSG to 40,60 but then it is not working,

Also please tell me how to change the sampling rate in the oscilloscope 
application,
i m using tinyos 1.x and tmote from moteiv

please help
thanks
manu



 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] regarding oscilloscope application

2007-01-25 Thread manu suryavansh
dear friends,
i wanted to know that how can i change the packet size in the oscilloscope 
application- from the tutorial i understand that the oscilloscope application 
samples data based on OSCOPE_DELAY, so how can i sample at the same rate but 
put more readings in one packet

manu
thank you
 
 
-
TV dinner still cooling?
Check out Tonight's Picks on Yahoo! TV.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] please help -tinyos 2.0 example not running in boomerang(latest version)

2007-01-25 Thread manu suryavansh
Dear friends,
I am trying to run the tinyos2.0 modified oscilloscope application on tmote in 
the boomerang environment but it is giving many error like
-
In file included from OscilloscopeAppC.nc:22:
In component `OscilloscopeC':
OscilloscopeC.nc:24: interface AMSend not found
OscilloscopeC.nc:24: interface AMSend not found
In file included from OscilloscopeAppC.nc:22:
OscilloscopeC.nc:26: unexpected type arguments
OscilloscopeC.nc:27: interface Read not found
OscilloscopeC.nc:27: interface Read not found


I have read that boomerang does not have all features of tinyos2.0 so request 
you to tell me if there is any way to fix this problem so that I can use 
boomerang to run tinyos2.0 examples

thank you
Manu Suryavansh

 
-
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help