[Tinyos-help] 128 kHz clock

2007-03-12 Thread Nicolas de Vicq
Hello, I'm working with TinyOS 1.1 on a small sensor node using the MSP430 microcontroller. I need to provide a 128 kHz clock to my front-end chip (chopping amplifier). So, I want to take the 8 MHz signal from the MSP430 XTAL input and to divide it by 64 for having the 128 kHz. It seems to

[Tinyos-help] surge application

2007-03-12 Thread Paul
Hi I am using surge as my application. How can I tell it such that only particular nodes transmit data. I tried to check if the TOS_LOCAL_ADDRESS == desiredNodeId in SendData() but it doesnt work. desiredNodeid can be more than 1 address. -- Cheers, Paul

[Tinyos-help] dbg output

2007-03-12 Thread fatima cabot
Hi. I'm designing an interface for TOSSIM under T2, and I want to perform an execution log. So I was wandering wheter dbg messages are sent to the standard output (which I would redirect to my log) or which other way do I have to use to display dbg messages. Thanks

Re: [Tinyos-help] dbg output

2007-03-12 Thread Philip Levis
On Mar 12, 2007, at 2:21 AM, fatima cabot wrote: Hi. I'm designing an interface for TOSSIM under T2, and I want to perform an execution log. So I was wandering wheter dbg messages are sent to the standard output (which I would redirect to my log) or which other way do I have to use to

[Tinyos-help] Allocate a table in ROM

2007-03-12 Thread Imanol Padillo
Hi all! I have a table with constant values, so I need to allocate it in ROM for save RAM memory. How can I do the declaration of my table? My table is in an external file called table.h and I include it on the top of my *.nc file like this: includes table; The table.h file has this shape:

[Tinyos-help] Change the parameter TOSH_DATA_LENGTH ?

2007-03-12 Thread Farhana Jabeen
Hello I am interested to know whether I could increase the parameter TOSH_DATA_LENGTH (which specifies the maximum papyload) as its default value is 29 without sacrificing the communication efficiency of the existing MAC and radio, also any other problems with the MAC layer and

[Tinyos-help] USB cameras in iMote2

2007-03-12 Thread Tiago Camilo
Hello I would like to know if anyone has used USB cameras in iMote2? In Stargate the Logitech 4000 is supported, but in iMote2 with TinyOS it's possible? Thanks, André Rodrigues ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Implementing Time synchronization in TinyOS-2.0

2007-03-12 Thread Deeksha Ganju
Hello all, I am trying to implement Time sync in tinyOS-2.0 For this purpose, i need to set and then read the value of AVR timers. I tried the application Blink(tinyos-2.x/apps/tests/mica2/Timer). But the interfaces it is using , no longer exists. Even, i tried to update the interfaces, like:

Re: [Tinyos-help] TOSSIM ImportError in TinyoS 2.0

2007-03-12 Thread Philip Levis
On Mar 10, 2007, at 2:19 PM, shilpa bhatt wrote: Thanks for replying Phil If you could send the complete compile output of 'make micaz sim' that would help. make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling

Re: [Tinyos-help] surge application

2007-03-12 Thread Benjamin Madore
Are you saying you have some nodes designated repeaters and others designated sensors? If so, the simplest way is to set ranges of nodes at the timer start in SurgeM. e.g. if ( TOS_LOCAL_ADDRESS 20 TOS_LOCAL_ADDRESS 40 ) call Timer.start(x,x); Otherwise, you will simply be wasting time

[Tinyos-help] TinyDb Power Consumption

2007-03-12 Thread Farhana Jabeen
Hello I am interested to know how can i compute Energy consumption of various queries that we run with TinyDB using PowerTossim. I wonder what is the guideline on setting up the command to achieve results. Thanks Farhana - Be a PS3

Re: [Tinyos-help] Allocate a table in ROM

2007-03-12 Thread Benjamin Madore
On Mon, March 12, 2007 6:29 am, Imanol Padillo said: I have a table with constant values, so I need to allocate it in ROM for save RAM memory. How can I do the declaration of my table? ... With const declaration it seems that the table is allocated in RAM. Why have I to declarate my table?

[Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-12 Thread Roman Lim
Hello, I used the cc2420lpl stack (the one in tinyos-2.x-contrib/rincon) together with the multihop-oscilloscope. My nodes (Tmote sky) run fine for a cupple of minutes, then some nodes stop working. Here are some parameters of my network () : 5 nodes, limited tx-power to 2 8s sampling period

[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

Re: [Tinyos-help] TinyDb Power Consumption

2007-03-12 Thread Benjamin Madore
You can only measure voltage in a mote: V = P/I V= Voltage I= Current (Ampere) P= Power (Volt-Amp, Joule, Watt) Properly, you require an external device connected to the mote that will supply power and measure power consumption. Power monitoring is both more difficult, and parasitic. There is

RE: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-12 Thread David Moss
Interesting. I've been using DMA for all of my projects instead of the NoDma components to increase radio throughput. If you override your local Msp430Spi0C and Msp430Spi1C components with those found in tinyos-2.x-contrib\rincon\tos\chips\msp430\dma does the problem still occur? I'll test out

[Tinyos-help] Encoding topology information in TOSSIM

2007-03-12 Thread Bibudh Lahiri
Hi, I'm developing an application to track a mobile node in a sensor network. My application is facing a problem of packet loss. To start with a very simple topology, I've taken 3 nodes 0,1, and 2 (2 is the mobile node) on the following coordinates respectively: (0,0), (10,0) and ( 0.03,0). My

Re: [Tinyos-help] 128 kHz clock

2007-03-12 Thread Michael Schippling
I -was- going to say you're in luck because I just modified my mica (atmega) code to use two of the timer/counters as PWM and frequency generator outputs...however you are using the other chip. (If anyone wants this, just ping me...I'd post it, but it's pretty ugly, undocumented, and special

[Tinyos-help] CC2420 getPower() question.

2007-03-12 Thread davivale
I am using TinyOS 2.0 and the TelosB platform. I have a transmitting node and I am setting the tx power level on a per packet basis. For the receiving node, upon reception of a packet I am using the getPower() function in order to record the power levels of each incoming packet. My issue is

Re: [Tinyos-help] CC2420 getPower() question.

2007-03-12 Thread Jonathan Hui
Ah, the actual intended transmit power is not carried in the packet. The getPower/setPower commands are only useful on the transmitting node. -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 3/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Jonathan, I am actually

[Tinyos-help] Help in light sensor

2007-03-12 Thread Vasudha K
Hi, I need help in coding a light sensor program. Can you suggest me the interface and the configuration. Thanks Vasudha - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.___

Re: [Tinyos-help] CC2420 getPower() question.

2007-03-12 Thread davivale
Jonathan, Thats what I thought, just was not totally sure. As a work around, I actually set a field in the payload of the packet being transmitted in order for the receiving node to have knowledge of the tx power of the incoming packet. I just did not think this was efficient considering the

[Tinyos-help] Digital I/O's

2007-03-12 Thread Jan Soukup
Hi, I wonder how can I use the digital I/O pins on the expansion connector of the Tmote Sky? I know, that I have to populate R14 and R16 to use GIO0 and GIO1. But what else? How can I set it to be an input and read data from it? Is there any example of using it? Thanks a lot. Jan

Re: [Tinyos-help] Digital I/O's

2007-03-12 Thread Juan Antonio López Riquelme
Hello, if you use a TinyOS-1.x i can help you, the version 2.x i finish to install yesterday and yet i not know very much. A greeting, Juan Antonio. 2007/3/13, Jan Soukup [EMAIL PROTECTED]: Hi, I wonder how can I use the digital I/O pins on the expansion connector of the Tmote Sky? I know,

[Tinyos-help] Message structure too big

2007-03-12 Thread Muhammad Azhar
Hi all, I need some help on programming the route through which a node passes through, and the number of packets that is lost through each hop. I am using 10 TelosB motes and TinyOS-2.0. Basically, I'm doing a really simple multihop routing where all the nodes will eventually send the data

[Tinyos-help] Error in simulation

2007-03-12 Thread khanam
$ make micaz sim make: ***No rule to make target 'micaz'. Stop. Can anyone please tell me what I need to do for such an error. Thanks! ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] error in sim

2007-03-12 Thread khanam
$ make micaz sim-cygwin mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate

RE: [Tinyos-help] Message structure too big

2007-03-12 Thread ricardo tiago
Hi You could increase the payload by changing the value of TOSH_DATA_LENGTH in CC2420.h or do as tep 111 says: The data field of message_t stores the single-hop packet payload. It is TOSH_DATA_LENGTH bytes long. The default size is 28 bytes. A TinyOS application can redefine

RE: [Tinyos-help] Message structure too big

2007-03-12 Thread Muhammad Azhar
Hi Ricardo, Thanks for your reply - yes it did help. I am aware of modifying this TOSH_DATA_LENGTH thing, but I was wondering if there was a more efficient way of handling such a data structure instead of using arrays - in fact most of my array slots are empty. Nevertheless, I shall stick