[Tinyos-help] Reduce tmote radio range

2006-05-19 Thread bhushan bhatt
Hello everyone, I want to reduce the range of tmote so that i can get a multi hop topology. There are posts that say to change the CC2420Radio file parameters. Which parameters should i change in which file in that folder ??Thanks,Bhushan Be a chatter box. Enjoy free PC-to-PC calls with Yahoo!

Re: [Tinyos-help] Reduce tmote radio range

2006-05-19 Thread Diego Bartolomé Arquillo
Youmustreduce the transmission power. With "SetRFPower" (C:\cygwin\opt\moteiv\tos\lib\CC2420Radio) command you can adjust the transmission power from your aplication. If you do not use this command, the default power transmision is set to 0x1F (31 - 0 dBm - max power) in "CC2420Const.h"

[Tinyos-help] AF_UNIX

2006-05-19 Thread pradeep.ramakrishna
Hi , In socketswe say that the domain types are like AF_INET and AF_UNIX, the first is used for the Internet and the second one for the UNIX IPC,does it mean that to AF_UNIX domain is used to communicate with the process running in the same machine if yes during what secnarios do we use

[Tinyos-help] motes localization for micaz

2006-05-19 Thread Andres Aberasturi
Hi all, I am writting to you in order to know if there is already an aplication for nodes localization. I have read part of the literature about nodes localization to know which algorithms there are. I have met with ROCRSSI algorithm. Has anyone implemented it? or which ones have been done?

Re: [Tinyos-help] Current consumption of a tmote sky

2006-05-19 Thread Roman Lim
Thanks for the answer. I overlooked the indication on the datasheet, that 10uA is the max value. I would appreciate any suggestion to what I've done wrong with my measurements. Roman Joe Polastre wrote: The flash current consumption is 1uA in power down mode. You can lift the Vcc pin to the

[Tinyos-help] Help about Tossim+TinyViz

2006-05-19 Thread Munaretto, Daniel
Hi all, i created a simple program for broadcasting messages where every mote broadcast its ADC readings. If i install it on my motes it seems it works (i look at leds' work), but i cannot run TOSSIM. I type make pc and it's ok. Then ./build/pc/main.exe 5 for example and i can look at some

[Tinyos-help] Help with RSSI value

2006-05-19 Thread Min Lin
Hi, Sara I am not sure if you have found out the reason why your RSSI value is not correct. Basically CC2420 uses 2s complement for RSSI value. https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-June/009922.html However, I have also done my measurement on the signal

Re: [Tinyos-help] problems with sending messages to a Java application

2006-05-19 Thread adina
Hi! Thanks for the ideas. Yesterday I realized what wasn't working. I had to recalculate the crc and now it is working. Very strange, but as long as it's working I don't mind:) Adina OK, I'm starting to get the picture I think... But can you just send me the whole module code, I'm having

[Tinyos-help] battery voltage micaz

2006-05-19 Thread R Gartz
Hello,I'm trying to measure the voltage of the batteries of my micaz nodes.When using the VoltageM component, I'm always getting values like Vbat= 3901, 4638, 4892, 5261, 5398, 5351, 5445, 5398 - So, 5,3 Volt for two AA batteries?? Seems very strange... When printing the raw 10-bit ADC value

[Tinyos-help] Bug in SetUART1Baud()

2006-05-19 Thread Harri Siirtola
I'm using MoteWorks 2.0, so I don't know which TinyOS tree it is. rpm -qa shows: $ rpm -qa tinyos-tools-1.2.0-2 avr-binutils-2.15tinyos-3 avr-libc-1.2.3-1 avarice-2.4-1.xbow make-3.80tinyos-1 nesc-1.2.4-1 avr-gcc-3.4.3-1 avr-insight-6.4-1 The existence of this bug is easy to check anyway.

Re: [Tinyos-help] MoteIF stops relaying packets

2006-05-19 Thread Jacques Panchard
Dear David and Henri, Thanks for your answer. First about debugging information. If I start a SerialForwarder with the -debug option, I do not get any message when the SerialForwarder stops forwarding. I also tried to use the C SerialForwarder, but I must be doing something wrong because I do

Re: [Tinyos-help] MoteIF stops relaying packets

2006-05-19 Thread David Gay
On 5/19/06, Jacques Panchard [EMAIL PROTECTED] wrote: Dear David and Henri, Thanks for your answer. First about debugging information. If I start a SerialForwarder with the -debug option, I do not get any message when the SerialForwarder stops forwarding. I also tried to use the C

[Tinyos-help] Re: problem with serial comm on latest dev branch for tmote tinyos-2.x

2006-05-19 Thread Avinash Sridharan
Just to add to my observation, when I use the 'C' SerialForwarder and send a command to the mote to read from the flash, I get the the following error message : Note: sync I am not sure what this error message means in the context of the serial communication ? Thanks, Avinash On 5/18/06,

Re: [Tinyos-help] Re: problem with serial comm on latest dev branch for tmote tinyos-2.x

2006-05-19 Thread Vinayak Naik
I don't think this is an 'error' message. This message appears when SF is functioning normally.- VinayakOn 5/19/06, Avinash Sridharan [EMAIL PROTECTED] wrote:Just to add to my observation, when I use the 'C' SerialForwarder and send a command to the mote to read from the flash, I get the the

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread Michael Schippling
I don't remember the solution to the problem in the previous email you reference, but I think they were reading the wrong ADC or getting wrong values somehow...perhaps Gina Upperman is still online here and can answer. But your values look suspiciously like they have been divided by two. Do you

Re: [Tinyos-help] Bug in SetUART1Baud()

2006-05-19 Thread Michael Schippling
As to the use of mica2 files in micaz, David Gay (I think) once sent me a pointer to doc on the nesc include path...which I of course cannot find now...but that's the way it works. There's some worse ones that go all the way back to mica, and I think even avrmote (but don't quote me on that).

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread David Gay
On 5/19/06, Michael Schippling [EMAIL PROTECTED] wrote: I don't remember the solution to the problem in the previous email you reference, but I think they were reading the wrong ADC or getting wrong values somehow...perhaps Gina Upperman is still online here and can answer. AFAICT, there's no

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread Michael Schippling
I assume it's the same trick as the mica2 where the ADC Vref IS the battery, and you get an inverted reading from the internal ref which increases as the battery voltage droops. Is there a micaz schematic on the XBOW site? I keep looking for one at http://www.tinyos.net/scoop/special/hardware

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread R Gartz
Yes I know they are very suspicious ;) But I don't have any bit shift anywhere in my program(s)... Those are the actual values I'm gettingMichael, in your robocode you're getting the right values for mica2? But you're not using the VoltageM component. So, I decided to try the same thing you did:

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread Michael Schippling
I did the excavate thing a while ago and satisfied myself that the mica2 uses the moral equivalent of the Battery as the Vref. Since I couldn't find the micaz schematic I just assume that it's the same. I don't know why the 'Z uses the internal ref and the '2 has an external one. Maybe it's that

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread Michael Schippling
Don't use my Robo code for Bvoltage. I have a whole different hardware scheme and it gets different values. However, you should be able to get the raw ADC readings using ADCC the way I do. The mica2 and 'Z hardware are different as well, which is why they read different channels, so your mileage

Re: [Tinyos-help] battery voltage micaz

2006-05-19 Thread David Gay
On 5/19/06, Michael Schippling [EMAIL PROTECTED] wrote: As for the include path, I meant the implicit path. For instance nothing explicitly references hardware.h (in most apps anyway), hardware.h is referenced from tos.h, which is magically included when you compile a TinyOS program (but if

[Tinyos-help] Dattatraya invites you to join Zorpia

2006-05-19 Thread Dattatraya
Title: Zorpia: Invitation Email Dattatraya has sent you an invitation. Hi tinyos-help, Your friend