[Tinyos-help] Changing Micaz Frequency at runtime in TinyOS 2.x

2006-10-11 Thread aalarifi
Hi, I am looking to change the radio frequency of micaz at runtime for tinyOS 2.0. I searched through the Internet however all what I found is about tinyOS 1.x. Many things have changed in tinyOS 2.0 for CC2420 control. I looked to the files; I found out that CC2420Config contains all nec

Re: [Tinyos-help] ADC switch channel

2006-10-11 Thread Jan Hauer
Hi Andrea, what you want to do is possible with the msp430 ADC12, but it has not been implemented, neither in TinyOS 1.x nor 2.x. With the current implementation/interfaces you can only sample *the same* channel with one command (that's why in TinyOS 2.x it is called "Msp430Adc12SingleChannel").

[Tinyos-help] Debian packages of TinyOS and the MSP tools

2006-10-11 Thread Markus Becker
Dear all, I have created Debian packages of TinyOS and the MSP tools for the moteiv Telos/tmote platform, which should ease the installation of TinyOS(MSP) on Debian(i386) a little. The repository is located at: (Add this to your /etc/apt/sources.list) deb www.comnets.uni-bremen.de/~mab/debian ti

[Tinyos-help] compile error - no combine function specified for the return type

2006-10-11 Thread Tie Luo
$ make micaznesc1: warning: calls to Receive.payloadLength in TestC fan out, but there is no combine function specified for the return typenesc1: warning: calls to Receive.getPayload in TestC fan out, but there is no combine function specified for the return type where Receive is an interface wired

[Tinyos-help] TinyOS requirement

2006-10-11 Thread Chong Zan Kai
Hi, Hi I am quite new here. Can someone tell me what is the basic hardware requirement for tinyOS? I plan to design sensor node using MICAZ architecture. But I would like to know if I could implement this using ATMEGA32L instead of using the expensive ATMEGA128L? Please guide me and thank you

[Tinyos-help] Mica2 packet lengths

2006-10-11 Thread Xing Zhou
Hi, I am trying to have my Mica2s ping each other at a very fast rate. It seems like the mica2's can only send and receive at most 50 packets/second (which is really pushing it). Would it help much if I make the packet lengths smaller by setting TOSH_DATA_LENGTH in AM.h to something like 5 in

[Tinyos-help] Re: failed communication

2006-10-11 Thread Ionut Cardei
Hello all, many thanks to the experts who replied immediately to our previous email. The issue was indeed the default frequency on mica2 motes. With the proper flags added to the Makefile, radio communication worked right away. Best regards ! Ionut Cardei On Tue, 3 Oct 2006, Ionut Cardei wro

[Tinyos-help] tinydb question

2006-10-11 Thread Maciej Piasecki
Hello, I am trying to write my own Java application using TinyDBMain classes. I need to run multiple queries in the same time and i cannot achieve this. If I run query : SELECT nodeid, light from sensors (qID = 1) and SELECT nodeid, light FROM sensors where nodeid = 2 (qID=2) the second query g

[Tinyos-help] tinydb problem

2006-10-11 Thread Maciej Piasecki
hello, I am trying to run TinyDB on micaz motes. I am using tinyos 1.1.15 and tinydb 1.1.3. I succesfully installed tinydb on 2 motes. When I run java net.tinyos.tinydb.TinyDBMain gui appears, when I click "sounder on" both nodes beep, but when I try to run simple query Query window appears

Re: [Tinyos-help] tinydb problem

2006-10-11 Thread Sankar Gorthi
Hi, Last time this happened, the query wasn't defined properly. Did you look at this? http://telegraph.cs.berkeley.edu/tinydb/tutorial/tinydb.html The tutorial covers how TinyDB interacts with the user. Sankar. On Wed, 11 Oct 2006 10:40:48 -0500, Maciej Piasecki <[EMAIL PROTECTED]> wrote

[Tinyos-help] The nesC's AST

2006-10-11 Thread Sean Walton
I have been working on extending the nesC compiler. I have been stepping through and watching the compiler load the different support files. Looking through the data structures, I can't find the source's data objects. It appears that the algorithm looks like this but I can't find the data st

[Tinyos-help] Internal nesC data structures

2006-10-11 Thread Sean Walton
I sent an email earlier asking details about the internal data structures in the nesC compiler. Since that time, I have stepped through the processing of a particular file and, regrettably, have been unable to determine how a source file is stored in the program tree (i.e., AST). When I walk

Re: [Tinyos-help] Changing Micaz Frequency at runtime in TinyOS 2.x

2006-10-11 Thread Philip Levis
On Oct 11, 2006, at 5:58 AM, [EMAIL PROTECTED] wrote: Hi, I am looking to change the radio frequency of micaz at runtime for tinyOS 2.0. I searched through the Internet however all what I found is about tinyOS 1.x. Many things have changed in tinyOS 2.0 for CC2420 control. I looked

[Tinyos-help] queries

2006-10-11 Thread Torsha Banerjee
Hi all, I am a PhD student and trying to write a program in NesC which involves mathematical operations like matrix multiplications. this will be for a matrix of size maximum 5 by 5. Will this be possible in NeSC or to be more precise in TOSSIM to simulate a network of 5-6 sensors where each sens

[Tinyos-help] queries

2006-10-11 Thread Torsha Banerjee
Hi all, I am a PhD student and trying to write a program in NesC which involves mathematical operations like matrix multiplications. this will be for a matrix of size maximum 5 by 5. Will this be possible in NeSC or to be more precise in TOSSIM to simulate a network of 5-6 sensors where each sen

Re: [Tinyos-help] current-voltage issue

2006-10-11 Thread Benjamin Madore
You could piggyback new leads on to the battery pack. Either two (or more) packs in parallel (each pair of series batteries in parallel with anoter pair). With the rechargeables, three cells will put you right at the 3.6v limit. I would suggest calculating a resistor at 90mA to drop the voltage fro

Re: [Tinyos-help] ADC switch channel

2006-10-11 Thread R. Steve McKown
Hi Jan, (and those looking for multi-channel ADC) On Wednesday 11 October 2006 07:14 am, Jan Hauer wrote: > what you want to do is possible with the msp430 ADC12, but it has not > been implemented, neither in TinyOS 1.x nor 2.x. I've been meaning to clean up a modification of the msp430 adc12 per

Re: [Tinyos-help] queries

2006-10-11 Thread Sankar Gorthi
http://www.tinyos.net/tinyos-1.x/doc/ is as good a place to start as any. Sankar. On Wed, 11 Oct 2006 11:17:27 -0500, Torsha Banerjee <[EMAIL PROTECTED]> wrote: Hi all, I am a PhD student and trying to write a program in NesC which involves mathematical operations like matrix multiplicat

[Tinyos-help] Problems with TinyDB

2006-10-11 Thread Milton Aguiar
Hi all: I'm trying to install and test TinyDB as in Lesson A of TinyOS tutorial but i've encountered some problems. First of all TinyDB is only possible to test in mica motes? I have Mica2 motes. Then when i try to build the java classes an error occurs : $ make cd ../message make -C ../mess

Re: [Tinyos-help] Mica2 packet lengths

2006-10-11 Thread Philip Levis
On Oct 9, 2006, at 12:50 PM, Xing Zhou wrote: Hi, I am trying to have my Mica2s ping each other at a very fast rate. It seems like the mica2's can only send and receive at most 50 packets/second (which is really pushing it). Would it help much if I make the packet lengths smaller by setti

Re: [Tinyos-help] The nesC's AST

2006-10-11 Thread David Gay
On 10/11/06, Sean Walton <[EMAIL PROTECTED]> wrote: I have been working on extending the nesC compiler. I have been stepping through and watching the compiler load the different support files. Looking through the data structures, I can't find the source's data objects. It appears that the algo

[Tinyos-help] transfer serial port data via mote

2006-10-11 Thread Tony Han
Dear All, I have a sensor device with RS-232 output. I want to get this RS-232 incoming data and wirelessly send them back to a remote Gateway (MIB510 or Stargate). Can I use a MIB510 plus mica2 to receive RS-232 data and then send them to a remote mica2 located on another MIB510 board? What soft

Re: [Tinyos-help] ADC switch channel

2006-10-11 Thread Jan Hauer
On 10/11/06, R. Steve McKown <[EMAIL PROTECTED]> wrote: Hi Jan, (and those looking for multi-channel ADC) On Wednesday 11 October 2006 07:14 am, Jan Hauer wrote: > what you want to do is possible with the msp430 ADC12, but it has not > been implemented, neither in TinyOS 1.x nor 2.x. I've been

[Tinyos-help] Radio interfering with ADC

2006-10-11 Thread Ian Welch
I would like to be able to sample the ADC while at the same time using the Radio. I know the Radio samples the ADC to determine if the channel is clear. How can I set up my program so the that Radio ADC samples will not interfere with my Samples?  Can I somehow determine which channel the sample c

[Tinyos-help] raw PCM player

2006-10-11 Thread antonio gonga
hello, does anyone have a program that's able to play a raw PCM samples? I need this program because I'm reading audio from microphone and I need to play it. please feel free to answer back me regards antonio gonga ___ Tinyos-help mailing list Tiny

Re: [Tinyos-help] queries

2006-10-11 Thread Sarfraz Nawaz
The actual mote hardware has no support for multiply and divide. However, there is a native math library (on my installation the header file is /usr/avr/include/math.h) that comes with the tinyos AVR tooclchain. It provides some math support in the form of floating point multiply, divide, power, lo

Re: [Tinyos-help] queries

2006-10-11 Thread Philip Levis
On Oct 11, 2006, at 7:31 PM, Sarfraz Nawaz wrote: The actual mote hardware has no support for multiply and divide. However, there is a native math library (on my installation the header file is /usr/avr/include/math.h) that comes with the tinyos AVR tooclchain. It provides some math support