[Tinyos-help] How to send data from PC to mote using SerialForwarder

2010-06-29 Thread David Rodenas Herráiz
Hi I want to write a C++ program to send data from PC to a base station mote (app BaseStation) , and this one, send the data received to another mote. I have problems with the format packet I have to send (I connect to SerialForwarder and receive data). I have the following code (to do it, I

[Tinyos-help] BIOS

2010-06-29 Thread Fernando Pianegiani
Hello, I am a Postdoc at the Department of Information Engineering and Computer Science of the University of Trento, where I am the manager of a research project named BIOS. Such project mainly focus on the development of a framework of design automation for Body Sensor Networks (BSNs). The

Re: [Tinyos-help] BIOS

2010-06-29 Thread Manjunath Doddavenkatappa
Following is a detailed example that we used explain to undergrad students here. Sorry for being too detailed. 1) start sf at the desired port number, for ex., ./sf 9001 /dev/ttyUSB0 telosb 9001 - SF port number /dev/ttyUSB0 - device address

Re: [Tinyos-help] How to send data from PC to mote using SerialForwarder

2010-06-29 Thread Manjunath Doddavenkatappa
Following is a detailed example that we used explain to undergrad students here. Sorry for being too detailed. 1) start sf at the desired port number, for ex., ./sf 9001 /dev/ttyUSB0 telosb 9001 - SF port number /dev/ttyUSB0 - device address

Re: [Tinyos-help] BIOS

2010-06-29 Thread Manjunath Doddavenkatappa
Sorry, my previous message was ment for some other question. Manjunath D

Re: [Tinyos-help] How to send data from PC to mote using SerialForwarder

2010-06-29 Thread David Rodenas Herráiz
Thanks a lot, I solved it. I put my code here: _ char lenmsg = 9; unsigned char buff[9]; int i = 0; buff[i++] = 0x00; // syncByte buff[i++] = 0xFF; // Destination Address buff[i++] = 0xFF; // Destination Address

[Tinyos-help] At45db Flash Memory Chip Operation and Current Drawn

2010-06-29 Thread Ricardo Simon Carbajo
Hi everyone, I have been measuring the time the at45db flash memory chip takes to perform every single operation. I need this to calculate the power consumption for the chip. I have been using the BlockStorage component and I have measured single operations time to complete within the At45dbP.nc

Re: [Tinyos-help] CSMA/CA under RF230

2010-06-29 Thread Stefano Kismet Lenzi
Dear All. Sorry for the late answer, but we had to make some tests before answer to your questions. You can look at my comment below. On Fri, Jun 18, 2010 at 21:54, Miklos Maroti mmar...@math.u-szeged.hu wrote: Hi Stefano, Do you know the source of your packet loss? Yes, we believe to know

Re: [Tinyos-help] CSMA/CA under RF230

2010-06-29 Thread Miklos Maroti
Hi Stefano! I am looking forward to your example code if you have time to produce it to me. The TASKLET_IS_TASK issue is an effect of the radio stack on some other components, and (probably) that other component locks up. In particular, without the TASKLET_IS_TASK the radio stack is in interrupt

[Tinyos-help] Segmentation fault in TOSSIM

2010-06-29 Thread harshalw
Hi, I have been trying to run a clustering protocol in tinyos2. I have written some code for some part of the protocol. But whenever I run the code on TOSSIM, it runs for a few events and then a Segmentation fault is flagged and simulation stops abruptly. I tried removing the noise model

Re: [Tinyos-help] Reading digital I/O

2010-06-29 Thread Michael Schippling
I can't find a schematic for the mda300, and it looks like the xbow.com website doesn't even know that they sell Mote related hardware at the moment...every-time I follow my trusty links to their site the pages have been moved, some kind of new business-process-re-engineering I guess... Perusing

Re: [Tinyos-help] Reading digital I/O

2010-06-29 Thread John
Yes I have been able to read the digital I/O using the drivers provided by xbow for tiny os 1.x but I don't know what to do now that I'm using tinyos 2.x. Xbow said they don't support T2. I don't know if it's possible to write your own driver. -- John On Jun 29, 2010, at 12:43, Michael

Re: [Tinyos-help] Reading digital I/O

2010-06-29 Thread Michael Schippling
I read one opinion on this list recently that one could simply switch TOS versions in Moteworks with some environment variable or other. Search back a month or so and see if my memory is of any use what'so'ever... But, even if the memory is correct, IMHO, it probably doesn't work, worth a try

Re: [Tinyos-help] Reading digital I/O

2010-06-29 Thread John
I tried downloading the drivers under tinyos tinyos-2.x-contrib uoit in the scm repository and i followed the directions in the README. The Sensor_0_Read.read() keeps returning FAIL. I'm not sure why though. -- John On Jun 29, 2010, at 13:26, Michael Schippling sc...@santafe.edu wrote:

[Tinyos-help] energy consumption

2010-06-29 Thread Omar Cheikhrouhou (yahoo)
Hello, Does the reception of a message consume more energy than the send? Best regards ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] energy consumption

2010-06-29 Thread Manjunath Doddavenkatappa
Tx power consumption depends on the output power. At 0 dBm of output power, CC2420 consumes 52.2mW in Tx. Whereas its receive power consumption is 56.4mW. Conversly, CC1000 at 0 dBm consumes 31.2mW in transmission. Receive power consumption of CC1000 is 22.2mW. Regards, Manjunath D

[Tinyos-help] BusyWait

2010-06-29 Thread ranal fernando
Hi all, I was trying to use BusyWait interface. I got it working but it has a very stange behavior which I do not understand. I wanted the system to busywait for 5000 milliseconds so I includes Interface BusyWaitTMilli,uint32_t And wired as following

[Tinyos-help] continuous sampling of mic

2010-06-29 Thread Omar Bouzid
Hi all, I would really appreciate if someone can reply and guide me with this problem. Is it possible to modify the soundlocalizer example explained in Tinyos programming book, chapter 13 so that it can sample the mic sensor continuously? In fact, I tried to do it by putting the

Re: [Tinyos-help] PowerTOSSIM-Z

2010-06-29 Thread Omar Cheikhrouhou (ISET)
Hi Ricardo, I need some clarification about PowerTOSSIMZ. In fact when simulating my app I get that only radio consumes energy. However, in my app I have cpu utilization (motes are computing MAC and AES algorithm for security purpose, etc...). Is it logic that I get cpu enegy used=0? In addition,