[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

[Tinyos-help] JTAG over USB in telosb/tmote using the FTDI bridge

2007-06-19 Thread Sivan Toledo
In December 2004 Robert Szewczyk posted to Tinyos-contrib-commit instructions on how to use JTAG functionality through the USB connection of a telosb (via the D2xx FTDI driver and some associated programs/dlls). This is repeated in http://www.cs.utah.edu/~vchakra/msp430-jtag.html The JTAG

[Tinyos-help] nesC semantichs: defining interfaces

2007-06-19 Thread Jordi Vilaseca
Hello, I have found some code in the sourceforge repository defining interfaces as: Interface name_interfaceuint16_t However, while I compile the code, I've errors with this interface. Is it correct that definition? There's another way to define it? Can TinyOS compiler accept that sintax.

Re: [Tinyos-help] Regarding battery Life

2007-06-19 Thread Xavier Orduña
Hi, My tmote's worked until 1.8 V, but with this voltage temperature gives strange values. ;) Regarding to this topic, I'm working in reducing some power consumption, Is there any way to know the actual consumption in mA of the tmote sky? the idea is to check if implemented improvements

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-19 Thread Jan Hauer
the buffer signaled by dataReady is always full of 0xfff The problem is the reference voltage. You are, I guess, wiring to Msp430Adc12ClientC, which does not use the reference voltage generator. But your configuration requires the RefVolt generator to be on (REFERENCE_VREFplus_AVss). What

RE: [Tinyos-help] RSSI measuring

2007-06-19 Thread Aleksandr N. Sadkov
Thanks for reply :) But I have one more question, Looking through CC2420 datasheet we can see: The length will be 8 bytes, RSSI will contain the average RSSI level during receiving of the packet and FCS/corr contain information of FCS check result and the correlation levels. Page 33 And on the

[Tinyos-help] Detect Sensorboard

2007-06-19 Thread msc
Hi, I am currently working in a Role Assingment Algorythm on MicaZ Motes. Therefor i would like to check at runtime, if there is a Sensorboard connected to the Mote. I just need a function, that checks at bootup, if the Sensorboard is there or not. How do i do this? MFG Martin

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-19 Thread Nicolas Esteves
Ok, I've enough other stuff to look at so i'll wait for the multi channel :) Thanks again for your reply regards Jan Hauer wrote: the buffer signaled by dataReady is always full of 0xfff The problem is the reference voltage. You are, I guess, wiring to Msp430Adc12ClientC, which does not

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread Tsung-Han Lin
It's over the first 8 symbols. The built-in RSSI is always averaged over 8 symbol period (Page 49). -Han Aleksandr N. Sadkov : Thanks for reply :) But I have one more question, Looking through CC2420 datasheet we can see: The length will be 8 bytes, RSSI will contain the average RSSI level

Re: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-19 Thread Alexander Becher
* Wang, Lei (Ray): Alexander Becher wrote: * Yang Peng: Does anyone use run -rf=yourlossyfile.nss nodeNUM ? It seems like my lossy.nss file does not work, seems like it is not read You also have to specify -r=lossy. could you give more instructions on how to use it in cc2420? we tried, and

Re: [Tinyos-help] Regarding battery Life

2007-06-19 Thread Xavier Orduña
Hi Steve, I've already seen this pdf with this power consumption graphic. Nice to know how to do it, but for the moment, with my equipment I will try to use voltage readings as a first reference. Anyway I will try to search this equipment to best know the power consumption of my software.

Re: [Tinyos-help] nesC semantichs: defining interfaces

2007-06-19 Thread J. Ryan Stinnett
Jordi Vilaseca wrote: Hello, I have found some code in the sourceforge repository defining interfaces as: Interface name_interfaceuint16_t However, while I compile the code, I've errors with this interface. Is it correct that definition? There's another way to define it? Can TinyOS

Re: [Tinyos-help] Tmote connect (Error, bad file format)

2007-06-19 Thread Jiakang Lu
Hi, I've checked the related files, and they are all cvs-updated. And I removed the ^M in the main.ihex and convert the file to UNIX format. However, I still met this bad file format error. The weird thing is that Blink can successfully programmed to the nodes, but it doesn't work for

[Tinyos-help] wrong data received from motes

2007-06-19 Thread projet19 projet19
Hi, Data settings (default rate, position, ...) sent to motes don't correspond to the data received when we request the same information from the sensor network. Do anyone have an idea of the reason that can be behind this? NB: All fields of our message are defined. Ahmed Dehbi and Tony

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
I'm wondering to know if it is possible to measure the RSSI value whenever I want, I mean, not necessary during the reception of a packet, but everytime, for some reasons due to my specific applications... thank you On 6/19/07, Tsung-Han Lin [EMAIL PROTECTED] wrote: It's over the first 8

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
... I mean, since before transmitting there are 2 different modes, based on the measured cca value, I think it's possible to get the actual value of the incoming signal power, even not during a reception. In that case which command should I use to get the rssi? On 6/19/07, roberto pagliari

RE: [Tinyos-help] RSSI measuring

2007-06-19 Thread David Moss
TinyOS-2.0.1: Connect into the CC2420Control.ReadRssi interface (ReadRssi is the Readuint16_t interface). Make sure your radio is on. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of roberto pagliari Sent: Tuesday, June 19, 2007 9:08 AM To: Tsung-Han Lin

Re: [Tinyos-help] Regarding battery Life

2007-06-19 Thread Michael Schippling
For a QD current measurement you can put a 1 ohm resistor in line to the battery and measure the voltage drop across it. This will give you milli-amps. Some brilliant person on this list suggested soldering the resistor to both sides of a sliver of PC board and sticking it between the battery and

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread Philip Levis
On Jun 19, 2007, at 9:08 AM, roberto pagliari wrote: I'm wondering to know if it is possible to measure the RSSI value whenever I want, I mean, not necessary during the reception of a packet, but everytime, for some reasons due to my specific applications... Yes:

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
thank you... since I'm using tinyos 1.x, with a modified version of the cc2420, I'm going to check how to do that, maybe some function is defined within hplcc2420. I have a last question: when the radio turns from the receive mode to the transmit mode, calling for example STXON, I assume every

Re: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-19 Thread Wang, Lei (Ray)
Hi, Alexander, I got the same point as you mentioned. Now we got a quick solution by setting the topology coordination (in the source code) manually, (of course we can read that information from an external file): for example: adcValues[0][128] = 0; // X for node 0 adcValues[0][129] = 0; //

[Tinyos-help] ADCControl_Intreface/TinyOS-1.x

2007-06-19 Thread antonio gonga
Hey All,According to my findings in the tinyos-1.x/tos/interfaces directory, and after reading the ADCControl interface I have some doubts that I expect you can help me to make me clear.I need to sample a microphone with a Sampling rate over 64Kbps, because I need to playback the audio samples,

[Tinyos-help] wrong message received

2007-06-19 Thread projet19 projet19
Hello, We have made a NesC application like surge, which can send and receive messages. So before sending a message from our motes we filled every fields of our message struct with : *

Re: [Tinyos-help] UART

2007-06-19 Thread Benjamin Madore
It's easier for us to help you if you stop for a moment and try to list all relevant information. What have you installed and read so far? Have you gone through any of the tutorials? On Mon, June 18, 2007 3:40 pm, mai naaom said: i wanna ask about the tuturials regarding the issue of using the

[Tinyos-help] Does anyone successfully put micaz cpu into different sleep modes?

2007-06-19 Thread Gary Pan
Hi all, I have tried to put micaz cpu into deep sleep mode but still could not work. I used HPLPowerManagementM module and did observer some current drop. But the lowest current I got is just 1.2mA with 3V when everything is off (timer, led, TX/RX). I wonder that can anyone show me how to make

[Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
hi all, within RadioControlM I can see CC2420Control.RxMode(), but, after a packet has been sent I cant find any call to CC2420.RxMode() or SXON oscillator. where is it done? the second question is: once the transmitter oscillator STXON has been enabled, if an incoming message arrives, will it

RE: [Tinyos-help] about CC2420

2007-06-19 Thread David Moss
The default mode for the radio is Rx mode - after it transmits a packet, it automatically switches back to Rx on the hardware. If you attempt to transmit using STXON without clear channel assessments, then your radio will not only *not* receive the other transmitter's packet, but it will cause

Re: [Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
right, I just remembered that point in the cc2420 datasheet. I have a last question: the transmission of a packet is performed if the RSSI value is greater than a certain threshold, the CCA. The 3 CCA modes are 0 reserved 1 clear channel when received energy is below threshold 2 clear channel

RE: [Tinyos-help] about CC2420

2007-06-19 Thread David Moss
Actually, you have an option to transmit without CCA. At the hardware level, there are two command strobes to transmit the contents of the TXFIFO: STXON and STXONCCA. If you simply toggle STXON instead of STXONCCA, then your packet gets transmitted no matter who else is transmitting. There

Re: [Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
thank you David. I misunderstood the datasheet information regarding the CCA modes. But it is possible, not during the transmission, to get the rssi data, no matter if the node is receiving or not a message? I just need to monitor the environment, but I'm not sure if in RxMode the receiver

RE: [Tinyos-help] about CC2420

2007-06-19 Thread David Moss
Roberto - Yes, you can obtain the environmental RSSI when you are not receiving a message from the CC2420 radio. However, the 1.x radio stack isn't setup to sample ambient RSSI. If you'd like that functionality in 1.x, you'll need to develop it, and may use the TinyOS 2.0.1 CC2420 radio

Re: [Tinyos-help] about CC2420

2007-06-19 Thread Tsung-Han Lin
In TinyOS 1.x you can connect the interface HPLCC2420 to HPLCC2420C and use call HPLCC2420.read(CC2420_RSSI); to acquire ambient RSSI, make sure you check the RSSI_VALID register before you read out the value. To check that register you'll need to read the status byte, you can use call