Re: [Tinyos-help] Accelerometer in MTS310CA

2007-06-10 Thread Tarun Bansal
Hi Yes they are raw readings You can see the formula for conversion from \opt\tinyos-1.x\contrib\xbow\tools\src\xlisten\xconvert.c The function name that you should be looking for in this file is xconvert_accel. However note that the conversion involves two calibration constants calib_pos_1g

Re: [Tinyos-help] How nesc (TOSSIM) is communicating with .java files? (SensorModel)

2007-05-08 Thread Tarun Bansal
\tinyos\sim. These are 3 different sensor models Tarun Bansal Thanks for your guidance and support, Best Regards, Fahad - - Original Message From: Tarun Bansal [EMAIL PROTECTED

Re: [Tinyos-help] How nesc (TOSSIM) is communicating with .java files? (SensorModel)

2007-05-07 Thread Tarun Bansal
://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Best Regards, Tarun Bansal Please guide me in this regard, Thanks for your attention Best regards, Fahad Send instant messages to your online friends http://uk.messenger.yahoo.com ___ Tinyos

Re: [Tinyos-help] Re: Simple problem about running Oscilloscope program

2007-04-29 Thread Tarun Bansal
Ensure that your TOSSIM simulation has started before you start capturing packets. Are you directly using Oscilloscope (without SF) for listening? Tarun Bansal On 4/29/07, Chan kenniel [EMAIL PROTECTED] wrote: dear all, I have followed you guys kind suggestion, and set the MOTECOM by using

Re: [Tinyos-help] Re: Simple problem about running Oscilloscope program

2007-04-29 Thread Tarun Bansal
] wrote: How can I make sure the tossim is started? I haven't even used the Oscilloscope, I just used the SF to listen, but it said [EMAIL PROTECTED] died :-( On 4/29/07, Tarun Bansal [EMAIL PROTECTED] wrote: Ensure that your TOSSIM simulation has started before you start capturing packets. Are you

Re: [Tinyos-help] Re: Simple problem about running Oscilloscope program

2007-04-29 Thread Tarun Bansal
help me out with this? Thanks a lot and sorry about asking tons of stupid ques :-P Kenneth On 4/29/07, Tarun Bansal [EMAIL PROTECTED] wrote: Did you start your tossim simulation (./build/pc/main.exe 1) ? As long as TOSSIM has not started, SF will keep on giving that error. Once you start

Re: [Tinyos-help] How can I write my own .nc file?

2007-04-10 Thread Tarun Bansal
Please check the tutorial available at: http://www.tinyos.net/tinyos-1.x/doc/tutorial/index.html Tarun On 4/10/07, Greg Turnipseed [EMAIL PROTECTED] wrote: Along the lines of this question, once you've got the .nc file, how do you compile it? What are the commands to do that, and then what

[Tinyos-help] MTS310 Accelerometer reading affected by Magnetic Field?

2007-04-09 Thread Tarun Bansal
. Is this behavior normal or there is some error on my side? I went through the technical data-sheet of the sensor at Analog Devices (manufacturer of ADXL202JE) website. However, I could not get any clue. Tarun Bansal ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] MTS310 Accelerometer reading affected by Magnetic Field?

2007-04-07 Thread Tarun Bansal
. Is this behavior normal or there is some error on my side? I went through the technical data-sheet of the sensor at Analog Devices (manufacturer of ADXL202JE) website. However, I could not get any clue. Tarun Bansal ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] Usual readings for Accelerometer

2007-04-05 Thread Tarun Bansal
The readings are in mg and you need to calibrate the sensors first by aligning them towards and against gravity. Tarun Bansal On 4/5/07, Giri Baleri [EMAIL PROTECTED] wrote: I'm not sure if the Surge is supposed to report acceleration in g or mg, but the accelerometers on MTS310s

[Tinyos-help] Reposting: Is my mote damaged?

2007-03-06 Thread Tarun Bansal
I am using USB programming board (mib 520), MicaZ motes and tinyos 1.1.15. When I try to install program into one of my motes, I get the following error: ERROR START** $ make micaz reinstall,4 mib510,COM3 whoami: cannot find username for UID 46570 set-mote-id build/micaz/main.srec

[Tinyos-help] Is my mote damaged?

2007-03-04 Thread Tarun Bansal
I am using USB programming board (mib 520), MicaZ motes and tinyos 1.1.15. When I try to install program into one of my motes, I get the following error: ERROR START** $ make micaz reinstall,4 mib510,COM3 whoami: cannot find username for UID 46570 set-mote-id build/micaz/main.srec

Re: [Tinyos-help] Diff. Sampling--Base station

2007-02-26 Thread Tarun Bansal
On 2/26/07, siva prasad [EMAIL PROTECTED] wrote: Hi all... -- can i have no of nodes with different sampling times and still sending the data to the same base station ..??? Yes you can -- can i set this sampling rate by sending any command from the Base station..??? If you are using

Re: [Tinyos-help] Program flow

2007-02-13 Thread Tarun Bansal
Nothing gets executed...There is nothing like background idle process running continuously. So the node wont do anything except listening at the radio. Tarun http://bansal.tarun.googlepages.com/ On 2/14/07, Aditya Bhave [EMAIL PROTECTED] wrote: Hello, SO suppose both of my init's and start's

Re: [Tinyos-help] how to get a random float number

2007-02-13 Thread Tarun Bansal
Use rand_no = random(); This would return an integral random number between 0 to RAND_MAX. So you can divide the result by RAND_MAX to get a floating number between 0 and 1 (It won't be a real floating point random number as the set of floating numbers that you get here is limited) To generate

Re: [Tinyos-help] SounderControl.start()

2007-02-12 Thread Tarun Bansal
It should remain on until you call SounderControl.stop(). Check your hardware or post your code to the mailing list Tarun On 2/12/07, Conard, Andrew [EMAIL PROTECTED] wrote: Hi, I was wondering how this method works exactly. When called once, is it only supposed to chirp? Or when you

Re: [Tinyos-help] how to specify the address of ndoes

2007-02-12 Thread Tarun Bansal
The address of the mote is specified when uploading the program onto that particular mote. Check Device Addressing section at http://www.tinyos.net/tinyos-1.x/doc/tutorial/programmers.html If you are using TOSSIM, then addresses are allocated by default from 0 to N-1 Tarun

Re: [Tinyos-help] javac error

2007-01-24 Thread Tarun Bansal
Your javac is correctly installed. Try doing make -B in /opt/tinyos-1.x/tools/java Tarun Bansal http://bansal.tarun.googlepages.com/ On 1/24/07, preeti k [EMAIL PROTECTED] wrote: Hello, I 've installed tinyos2.x on cygwin. The Blink application runs fine but RadioCountToLeds doesn't

Re: [Tinyos-help] MICA2: Signal Strength

2007-01-14 Thread Tarun Bansal
There is no need to install surge_reliable. All receiving nodes can check that value by accessing TOS_Msg - strength Regards Tarun Bansal On 1/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, To detect the current signal strength on MICA2 of an incoming packet from another MICA2 does

Re: [Tinyos-help] Tutorial Question

2007-01-10 Thread Tarun Bansal
This tutorial works for MICAZ, MICA2 and MICAdot I am not sure about MICA motes Regards Tarun Bansal On 1/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I am just curious if the tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Applies to and can be used

Re: [Tinyos-help] Battery Voltage and RSSI in mica2

2007-01-10 Thread Tarun Bansal
Check page no 25 of http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf for help You can wire Voltage to your own Pong application to use the functionality provided. If you don't know the concept of wiring, you can refer tinyos docs. Tarun On 1/10/07, Termodonte

Re: [Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-21 Thread Tarun Bansal
(int. 354) Fax:+90 (216) 469 85 07 [EMAIL PROTECTED] www.genetlab.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarun Bansal Sent: Thursday, December 21, 2006 8:26 AM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Re: Tinyos-help

[Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-20 Thread Tarun Bansal
You can use Serial Forwarder for this purpose. That will create a pipe from a specified serial port to TCP port of your choice. check: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Tarun Bansal Message: 6 Date: Wed, 20 Dec 2006 17:42:32 + From: olcay çelik [EMAIL PROTECTED

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-08 Thread Tarun Bansal
OK. Also is there anyone in the group who has/hasn't noticed the same phenomenon ? Tarun On 11/8/06, Philip Levis [EMAIL PROTECTED] wrote: On Nov 7, 2006, at 1:57 AM, Tarun Bansal wrote: I am using TOSSIM environment with TinyOS 1.1.11 and CC1000 stack I have no idea what the problem

[Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Tarun Bansal
I was examining the behavior of sendDone() after sending a packet over radio (in TOSSIM environment). I noticed that it is being called twice for every packet sent. If I send the pkt to an actual address, both sendDone()'s have their ack flag up. However if the pkt is sent to a fictitious mote,

Re: [Tinyos-help] Why is sendDone() called twice?

2006-11-07 Thread Tarun Bansal
I am using TOSSIM environment with TinyOS 1.1.11 and CC1000 stack Tarun On 11/7/06, Philip Levis [EMAIL PROTECTED] wrote: On Nov 7, 2006, at 12:10 AM, Tarun Bansal wrote: I was examining the behavior of sendDone() after sending a packet over radio (in TOSSIM environment). I noticed

[Tinyos-help] WSN in presence of dense WLAN

2006-10-05 Thread Tarun Bansal
We have a dense WLAN (802.11g) running at our place (a closed room). When we try to run our micaz motes (working at 2.405 Ghz) - most of the packets are dropped midway. Is it because of the dense WLAN at the same place? If yes, then is there any solution (apart from switching off the WLAN, of

[Tinyos-help] Any Java application for Listen

2006-09-24 Thread Tarun Bansal
Ypu can try Ocilloscope Application. Its base-station end (which runs on computer, not motes) is coded in Java. see http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html However, you have to modify the code slightly to display the bits of the message before typecasting it. I am trying to

[Tinyos-help] installation query

2006-09-10 Thread Tarun Bansal
Have you gone through these tests: http://www.tinyos.net/tinyos-1.x/doc/tutorial/verifyhw.html Tarun ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Displaying RSSI value in TOSSIM using TinyViz

2006-09-05 Thread Tarun Bansal
not be difficult) Tarun Bansal ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Displaying RSSI value in TOSSIM using TinyViz

2006-09-05 Thread Tarun Bansal
in Communications.. That would be sufficient Tarun On 9/5/06, Hui KANG [EMAIL PROTECTED] wrote: Before you display the RSSI value, you should create a model that can simulate the transmission condition such as distance, power, etc. On 9/5/2006, Tarun Bansal [EMAIL PROTECTED] wrote: What I meant

[Tinyos-help] HPLPowerManagement Issues

2006-08-09 Thread tarun bansal
TinyOS via HPLPowerManagement relives the programmer of keeping track of hardware devices for power managament. However I want to know if there are any disadvantages of using this approach? Giving the tinyos freedom to switch off the devices may be harmful in some cases. e.g. if the programmer

[Tinyos-help] Error on compiling Tutorial 1

2006-08-07 Thread tarun bansal
Have you tried h/w and s/w verification as given on: http://www.tinyos.net/tinyos-1.x/doc/tutorial/verifyhw.html ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help