[Tinyos-help] ask for help

2011-11-14 Thread 陈哲
hello when i ues the tinyos2.1.1when i compile the some test on apps .for example theadioSenseToLeds. I have the problems as follow: Traceback (most recent call last): File RadioSenseMsg.py, line 7, in module import tinyos.message.Message ImportError: No module named

[Tinyos-help] Archlinux Packages

2011-11-14 Thread Petros Makris
Does anyone have any experience building and using the TinyOS toolchain on Arch Linux, particularly with telosb? I've made a short guide about installing TinyOS 2.1.1 in Archlinux. It uses the rpms provided by [ http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1 ] except nesc

[Tinyos-help] Problem with serial communication using telosa

2011-11-14 Thread Luís Pereira
Hi again guys, I was trying to do this patch on an Xubuntu 11.10 of one of my group members and after I do the ant jar command it says that cannot find the Listen class and so on for the other java programs. I think is a nesC problem, but i can't find what. The output of the ant jar command is

[Tinyos-help] TestNetwork application and MsgReader tool

2011-11-14 Thread Nouha Sghaier
Hello, I'm using MsgReader tool to parse packets of TestNetwork application. I installed TestNetwork application on 3 motes MicaZ and I started receiving messages as follows: [source=0x1] [seqno=0x19] [parent=0x6] [metric=0x4ee] [eventdata=0x6] [hopcount=0x4] [sendCount=0x1f4]

[Tinyos-help] TestNetwork debugging and MsgReader problem!

2011-11-14 Thread Nouha Sghaier
Hello, I'm using MsgReader tool to parse packets of TestNetwork application. I installed TestNetwork application on 3 motes MicaZ and I started receiving messages as follows: [source=0x1] [seqno=0x19] [parent=0x6] [metric=0x4ee] [eventdata=0x6] [hopcount=0x4] [sendCount=0x1f4]

[Tinyos-help] tossim error make micaz sim

2011-11-14 Thread azeddine attir
Hello I have installed tinyos2.1.1 under Ubuntu 8.04 i write this command : make micaz sim and i have the following error : mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o

[Tinyos-help] Question About TinyOS CC2420 Layers Mismatch (Lpl and Unique) in CC2420RadioC.nc

2011-11-14 Thread Zainan Victor Zhou
Dear Tinyos Community/Core Working Group, My name is Zainan Victor Zhou, from JHU HiNRG Group. As I am TAing Network Embedded System/Sensor I found that the layers in CC2420RadioC.nc are mismatched between Lpl and Unique as shown below: SENDING PART|RECEIVING PART

Re: [Tinyos-help] Error while running net.tinyos.tools.Listen -- URGENT

2011-11-14 Thread Modi, Jenis Ashokkumar
Hi Urs, Yes, I am using MIB600 from Crossbow. I am able to install application on both my motes properly. But when it comes to reading packets using java Listen, it says that connection refused. I am giving commands like this. 1. make mica2 install.1 eprb,192.168.10.500 for installing

[Tinyos-help] Timer 3 registers and IRIS mote

2011-11-14 Thread hafid oussaadi
Hello everybody, I wrote a small program to generate a 16 KHz PWM signal on OC3A which corresponds to pin 26 on the IRIS 51 pins connector. Assuming that fclk_I/O = 7.3728 MHz , I use CTC mode with OCR3A as TOP value. PRR1 =~(1 3); // enable Timer 3 TCCR3B |= (13)|(10); // prescaler=1

[Tinyos-help] Full feature Tinyos Application with simulator ?

2011-11-14 Thread salahadin
Hello all, I'm new to TinyOS and doing thesis work on a wireless sensor network using TinyoS,but I don't have mote to practice on it. My first question is where  shall I get the mote and which specification is good for laboratory (educational purpose.).And the second question is, is it

[Tinyos-help] How to read data from an analog sensor with TinyOS-2.x and Mica2

2011-11-14 Thread sofia aparicio
Hello, I would like to use an analog Omron D6F-V03A1 model air sensor with Tinyos2 and Mica2. How can I do that? Is there any example about how to read data from an analog sensor? Thank you very much! Sofia

Re: [Tinyos-help] tinyos to .NET serial communication

2011-11-14 Thread Urs Hunkeler
Hi, Sorry, I have never worked with C# or .NET. Cheers, Urs On 11/10/11 3:19 PM, i080253 Ahsan Javed wrote: Hi, I was searching net for telosb to .NET serial communication. i came across an archive where you performed serial communication. Can you tell me how you import tinyos.jar library

[Tinyos-help] designing full feature Tinyos Application with simulator ?

2011-11-14 Thread salahadin
Hello all, I'm new to TinyOS and doing thesis work on a wireless sensor network using TinyoS,but I don't have mote to practice on it. My first question is where  shall I get the mote and which specification is good for laboratory (educational purpose.)The second question is, is it possible to

[Tinyos-help] debug tinyos source code

2011-11-14 Thread Rafael de Oliveira Costa
Hi all, I need to use a debugger on tinyos source code that i will deploy into a micaz mote. Its because I need to trace the stack in some point of the program. I search about it here at the list but I don't know how to do this. One useful thing that I see is that exist avr-gdb and to use this

[Tinyos-help] TinyOS code samples

2011-11-14 Thread Andrew Rudgewick-Brown
Hi, I’m trying to get hold of some samples of TinyOS code used in real-world WSN deployments to analyze for my PhD project. I'm mainly interested in the configurations and wiring people use, so all I really need are the application/configurations and interfaces, I don't need the actual code

[Tinyos-help] Low power listening application

2011-11-14 Thread Stefano Moret
Hi all, I'm trying to reduce the power consumption of the the motes for an application. I modified the Oscilloscope application to sense and transmit data every 10 mins, and then I reduced the power taking instructions from the Low Power Sensing tutorial. I still have a power consumption higher

[Tinyos-help] one bug in C C2420

2011-11-14 Thread zhengxiangwei
Hi, I am running tinyos on micaz with Hardware ack(open packetlink layer to retransmit) . I find a a problem. When CC2420 transmit a packet, m_state turns S_SFD and then break. When node receive a new packet m_state turns to S_EFD and S_ACK_WAIT. In this way As node is not in

[Tinyos-help] Receive and Send messages

2011-11-14 Thread Xiaowei
Hi folks, I'm using tinyos 2.x on telosb mote. Is there any way that can make a mote listen for while before it starts to transmit packets? More specifically, the mote acts as basestation (like the app in apps/tutorials) for a while and then begins to broadcast messages at a certain rate.

Re: [Tinyos-help] mig issue failed parsing RssiDemoMessages.h

2011-11-14 Thread Jakob Bieling
Hi George, I do not have a solution, but I thought I'd share our findings. We are facing the same problem on Ubuntu 11. But the identical code compiles on Debian5 and Ubuntu 10 machines. The error we get is similar to yours, but not identical: two source files specified (PLATFORM_NULL and

[Tinyos-help] two source files specified (PLATFORM_MICAZ and BOARD_MICASB)

2011-11-14 Thread zhengxiangwei
hi, I install tinyos in ubuntu 11.10. however there is a problem when make micaz cosim in Blink. two source files specified (PLATFORM_MICAZ and BOARD_MICASB) seems a new problem. Is there any solution for that? Thank you .

[Tinyos-help] Conflicting conversion formulas of telosb internal temperature sensor

2011-11-14 Thread Geo Gkolfin
Hello! I am trying to sample the internal sensor of a telosb mote. At TempC.nc I have module TempC{ ... uses interface Readuint16_t as Temp; ... } and at TempAppC.nc implementation{ ... components TempC; components new SensirionSht11C() as Temp; ... TempC.Temp-Temp.Temperature; ... } In

[Tinyos-help] Change adc prescaler for accelerometer sampling operation

2011-11-14 Thread Kushal Sarkara
Hello, I am using TinyOS 2.1.1 on Ubuntu 9.10 with MicaZ motes. I am looking to alter the value of the prescaler while sampling the X axis of the accelerometer on the mts300 sensorboard. After doing some digging, I found the file /tos/sensorboards/mts300/AccelP.nc which returns the value of the

Re: [Tinyos-help] tinyos to .NET serial communication

2011-11-14 Thread Urs Hunkeler
Hi, Sorry, I have never worked with C# or .NET. Cheers, Urs On 11/10/11 3:19 PM, i080253 Ahsan Javed wrote: Hi, I was searching net for telosb to .NET serial communication. i came across an archive where you performed serial communication. Can you tell me how you import tinyos.jar library

Re: [Tinyos-help] Error while running net.tinyos.tools.Listen -- URGENT

2011-11-14 Thread Urs Hunkeler
Hi Jenis, From what I have read in the documentation, this seems to be correct. I have never worked with the MIB600 before. I think I found one now and will be able to test it on Thursday. Cheers, Urs On 11/8/11 8:50 PM, Modi, Jenis Ashokkumar wrote: Hi Urs, Yes, I am using MIB600 from

[Tinyos-help] How to read data from an analog sensor

2011-11-14 Thread sofia aparicio
Hello, I would like to use an analog Omron D6F-V03A1 model air sensor with Tinyos2 and Mica2. How can I do that? Is there any example about how to read data from an analog sensor? Thank you very much! Sofia

Re: [Tinyos-help] mig issue failed parsing RssiDemoMessages.h

2011-11-14 Thread András Bíró
Hi guys, 1.3.2 and older versions of nesc has this bug when tries to compile with gcc 4.6. You can do eighter of these solutions: -add option -target=iris (or telos or whatever mote you're using, it doesn't really matter, the generated code is the same) to the mig command to use avr-gcc or

Re: [Tinyos-help] Conflicting conversion formulas of telosb internal temperature sensor

2011-11-14 Thread András Bíró
Hi Georgia, This is not an internal temperature sensor, it's a Sensirion SHT21 Humidity/temperature sensor, so you should use the formula from its datasheet: http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf Andris On Sun, Nov 13, 2011 at 5:41 PM, Geo

Re: [Tinyos-help] Archlinux Packages

2011-11-14 Thread Petros Makris
The link is *http://gazela.di.uoa.gr/arch* I didn't use the svn version because It wouldn't compile for tinynodes. On Tue, Nov 8, 2011 at 20:50, Petros Makris petmak...@gmail.com wrote: Does anyone have any experience building and using the TinyOS toolchain on Arch Linux, particularly with

Re: [Tinyos-help] designing full feature Tinyos Application with simulator ?

2011-11-14 Thread Urs Hunkeler
Hi, To answer your second question: I don't know how you could do this with TOSSIM. Avrora simulates the hardware devices and allows you to create virtual serial ports to which you can connect your back-end applications with the user interface. http://compilers.cs.ucla.edu/avrora/

Re: [Tinyos-help] Conflicting conversion formulas of telosb internal temperature sensor

2011-11-14 Thread Urs Hunkeler
Hi, The formula in the internal temperature sensor module might refer to the value you'd get when sampling the temperature sensor internal to the msp430 microcontroller. For the two SHT11 formulas, I have no idea what the second formula refers to, the first one seems to be the one from the

Re: [Tinyos-help] Timer 3 registers and IRIS mote

2011-11-14 Thread Janos Sallai
Hafid, Most probably, the MCU goes to sleep and the timer is not ticking. To prevent the MCU from sleeping, implement the McuPowerOverride interface and wire it to McuSleepC. Janos On Wed, Nov 9, 2011 at 10:05 PM, hafid oussaadi oussaadiha...@live.com wrote: Hello everybody, I wrote a  small

Re: [Tinyos-help] Change adc prescaler for accelerometer sampling operation

2011-11-14 Thread Michael Schippling
Changing the return value will have no effect on the ADC. There used to be an interface for this that was actually documented in the code: ADCControl.setSamplingRate(uint8_t rate); The name may have changed to setPrescaler() or something more obvious. MS Kushal Sarkara wrote: Hello, I

[Tinyos-help] Java Problem using Telosb nodes

2011-11-14 Thread Baudry Arthur
Good evening everyone, I am running on a xubuntu virtual machine on my windows 7 laptop and I am trying to make configure one of my USB port to listen to a serial communication coming from telosb node (as the telosb only communicate through usb I use that usb port as a serial one). I enter this

Re: [Tinyos-help] Java Problem using Telosb nodes

2011-11-14 Thread Baudry Arthur
Thank you for your support. I have compiled listen.java using javac, it worked but if I execute the same command as previously : java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:115200 Now I get : Exception in thread main java.lang.NoClassDefFoundError: net/tinyos/packet/Packetizer

[Tinyos-help] Help me for creating cluster based network in TinyOS

2011-11-14 Thread Khushbu Shah
Dear All I am doing my final sem MTech project on wireless sensor network. I want to try some application in TinyOS in which have to create cluster based network. ClusterHead election process should be based on combination of residual energy and distance from each node. Can anybody give me some

[Tinyos-help] About Tiny os installation on i5 architecture

2011-11-14 Thread jyoti patole
Hi all Can any one tell me how do i install Tiny os on i5 processor architecture? Bcoz the rpm available are for i386 architecutre. Please help -- With Warm Regards *JYOTI 9766319445* ___ Tinyos-help mailing list