[Tinyos-help] Uart & Radio TelosB

2008-05-05 Thread olly yuen
Hi all, I am a college student working on a design project, I am currently trying to modify the Blink program such that upon receiving radio packets, I will write data to the UART0 pins. I have a few questions because my code doesn't seem to be working right: I am using TelosSerialP.nc, Platfo

Re: [Tinyos-help] HELP!

2008-05-05 Thread Urs Hunkeler
Hi David, I'm not sure which tutorials you tried. The tutorials on the tinyos website look very TinyOS 2.x to me: http://docs.tinyos.net/index.php/TinyOS_Tutorials For installing the TinyOS environment, check out the tutorials heere: http://docs.tinyos.net/index.php/Main_Page Cheers, Urs Mich

[Tinyos-help] Purpose of TOSBase interfaces

2008-05-05 Thread ram kishore
Hi all, TOSBase uses interfaces: interface BareSendMsg as UARTSend; interface ReceiveMsg as UARTReceive; interface TokenReceiveMsg as UARTTokenReceive; interface StdControl as RadioControl; interface BareSendMsg as RadioSend; interface ReceiveMsg as RadioReceive;

Re: [Tinyos-help] HELP!

2008-05-05 Thread Michael Schippling
A. The Java and Graphviz versions should be fairly well decoupled from the TOS version that you can use, so you _should_ be able to go about your business with TOS1.yada and pretty much any Java. B. Unless things have gone very badly, there should be a tutorial included in the TOS2.duh install. Ma

[Tinyos-help] HELP!

2008-05-05 Thread Clinton, David D
Hello, I am new to the Tiny OS forum and I wanted to know if there are some tutorials that are out there that can help me get started? The tutorial that is linked to the Tiny OS 2.0 is the version for Tiny OS1.1... There is no way for me to get the older version of Tiny OS 1.1 because the Java JD

Re: [Tinyos-help] ADC

2008-05-05 Thread Michael Schippling
There is some indication that the mica ADCs (at least) will queue getData() requests on different channels and fire them sequentially. However I'm not a trusting sort, so I chain them by starting a new conversion from the dataReady() of the previous. The actual conversion time depends on the setti

Re: [Tinyos-help] TOSSIM-T2

2008-05-05 Thread Raymond Paxton
>I'm glad to hear someone (or two) is working on this. >It would be nice if these projects were easier to track down. >(These is something gratifying (to me) with seeing physical representations.) >At this point I hope it's not for TOS 1.x... (yes, I'm a zealot trying >to get people to switch) The

Re: [Tinyos-help] ADC

2008-05-05 Thread Eric Keller
What hardware are you using? I suspect that it will not work as written, but if it does, the data will be returned in the order you call the get data. I think you have to trace through the calls that you have made and see what is actually done when you make the calls. It's a lot of work. Eric

Re: [Tinyos-help] TinyOS1.x to TinyOS2.x codes

2008-05-05 Thread Dan
http://www.tinyos.net/tinyos-2.x/doc/ Personally speaking, I don't think it's easy to port code from 1.x to 2.x. Maybe rewriting is even easier. On 5/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would like to know if there is any article explaining the main > differences between these t

Re: [Tinyos-help] TOSSIM-T2

2008-05-05 Thread Paul Stickney
> I'm currently working on making a very simple GUI, written in python > (pyGTK), that provides the ability to run simple simulations. It hopefully > will help people get started with TOSSIM but WILL NOT BE DEVELOPED FOR > COMPLEX SIMULATIONS. To do complex simulations you will have to go bac

[Tinyos-help] ADC

2008-05-05 Thread subhash nemani
hi In this code i'm calling all of the sensors connected to the ADC ports simultaneously what will be the time lag between the data acquisition from the ADC ports? will i get all the samples simultaneously please give me reply as soon as possible. extADC1_3phrmsM.nC Description:

[Tinyos-help] XubunTOS 2.0 toscheck (tinyos 1.x) error - generates java runtime error?

2008-05-05 Thread Juri Lelli
I've tried to compile Blink and execute it in TinyViz, but I receve the following: [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/Blink$ make pc mkdir -p build/pc compiling Blink to a pc binary ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000 -fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM

Re: [Tinyos-help] modifying BlinkToRadio

2008-05-05 Thread Michael Schippling
Look at the Voltage or InternalVoltage components, and also the Sense demo app. And I appologize to whomever was trying before because I kept calling it the _Battery_ component. Not only can I no longer use a calculator I can't remember where I put it's icon... MS Tiny User wrote: > > > Hello

Re: [Tinyos-help] Serial interface

2008-05-05 Thread Michael Schippling
I recommend using, in Java, the BuildSource and Packetizer classes to send and receive messages. There are some equivalent C examples that I've never used as well. Search this list, look at SimpleCmd, and my code which I keep posting for examples. MS Antonio Prados Vilchez wrote: > Hi TinyOS user

Re: [Tinyos-help] Problem with xmeshbase

2008-05-05 Thread Giri Baleri
Few questions: - Which PC interface board board do you have? (MIB510, MIB520, MIB600 etc). - What node ID did you assign the base station Mote with? - When you issued the "make mica2 install." command, what was the output? Regards, Giri From: [EMAIL PROTECTE

Re: [Tinyos-help] XubunTOS 2.0 toscheck (tinyos 1.x) error

2008-05-05 Thread Kevin Klues
It should work fine despite these warnings... Kevin On Mon, May 5, 2008 at 5:48 AM, Juri Lelli <[EMAIL PROTECTED]> wrote: > Hi, > I've installed XubunTOS in an virtual machine. Then I've opened a > terminal and tipe "tos1" to set up TinyOS 1.x environment. > Next I verified my environment but

Re: [Tinyos-help] Serial interface

2008-05-05 Thread Kevin Klues
Are you using an mib510 programming board? Is the switch on the front set to OFF? Kevin On Mon, May 5, 2008 at 1:47 AM, Antonio Prados Vilchez <[EMAIL PROTECTED]> wrote: > > > > > Hi TinyOS users!! > > > > I'm trying to develop a simple application for a MICA2 mote which sends and > receives dat

Re: [Tinyos-help] Problem about duplicate receiving

2008-05-05 Thread Omprakash Gnawali
2008/5/5 laizhiquan <[EMAIL PROTECTED]>: > hello, all, > I'm simulating apps/tests/TestNetwork with Tossim under TinyOS 2.0.2. > It's found that there are always duplicate receiving on the root node . > Is it because of the mechanism of acknowledgment in the CTP? As I find > that nod

[Tinyos-help] Problem about duplicate receiving

2008-05-05 Thread laizhiquan
hello, all, I'm simulating apps/tests/TestNetwork with Tossim under TinyOS 2.0.2. It's found that there are always duplicate receiving on the root node . Is it because of the mechanism of acknowledgment in the CTP? As I find that nodes often send, or forward, one packet for sever

[Tinyos-help] TinyOS1.x to TinyOS2.x codes

2008-05-05 Thread fhg07
I would like to know if there is any article explaining the main differences between these two versions of TinyOS, and if there is possibly any "easy" way to convert a 1.x to a 2.x code. I am asking this because I have started studying TinyOS not long ago, and now I am starting to study some proto

[Tinyos-help] Distribution of sensor nodes in the Tinyviz for surge application

2008-05-05 Thread nirupama
Hello, When I'm running surge application in tinyviz, graphical simulator for tossim I can see that the nodes are scattered in the area visible to the screen. If i run it twice the same node(i.e with the same node id) will be placed into different location. My question is how this physical plac

[Tinyos-help] BAT_MON

2008-05-05 Thread Tiny User
Hello ALL, BAT_MON is used to monitor the Mica2 Sensor Board can I use it to monitor the battery of the node it self? Thanks and Regards, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailma

[Tinyos-help] XubunTOS 2.0 toscheck (tinyos 1.x) error

2008-05-05 Thread Juri Lelli
Hi, I've installed XubunTOS in an virtual machine. Then I've opened a terminal and tipe "tos1" to set up TinyOS 1.x environment. Next I verified my environment but I receive the following: Setting up for TinyOS 1.x [EMAIL PROTECTED]:~$ $TOSROOT/tools/scripts/toscheck Path: /opt/msp430/bin

Re: [Tinyos-help] TOSSIM-T2

2008-05-05 Thread Raymond Paxton
>On May 2, 2008, at 4:33 PM, Paul Stickney wrote: >> Hello, >> >> TOSSIM-T2 seems to have undergone a complete transformation from the >> TOSSIM present in the TOS 1.x line. >> In particular, TOSSIM-T2 (and Python) now appears to work directly >> through a C++/SWIG interface while it (TinyViz, Ty

[Tinyos-help] Porting VoltageC to mica2

2008-05-05 Thread Tiny User
Hello please Did any body tried to port these files VoltageC.nc VoltageP.nc VoltageNowC.nc VoltageStreamC.nc in this Dir: /opt/tinyos-2.x/tos/platforms/mica to use them with mica2 platform?? ___ Tinyos-help mailing list Tinyos-help@millennium.berkele

[Tinyos-help] GDB - Debugging Mica2Dot/Mica2

2008-05-05 Thread Edgar Charry
Hi all, I am trying to debug my nesC codes using GDB (for TinyOS1.x using Mica2Dot and Mica2). Bunch of naive questions, so I think you know this for sure: 1) avr-gdb and gdb are used for .exe (srec?) symbols reading. For the Mica2Dot ATMega128L do I necessarily need to use the 1st one? Or the

Re: [Tinyos-help] Noise in the absence of incoming packet.

2008-05-05 Thread Urs Hunkeler
Hi Paolo, My understanding is that sampling the noise level while not currently receiving a packet was not originally part of TinyOS. Moteiv provided a slightly modified version of TinyOS based on TinyOS 1.x, but oriented towards TinyOS 2.x. In the document you are referring to, they describe

[Tinyos-help] modifying BlinkToRadio

2008-05-05 Thread Tiny User
Hello All, Please I Want to change the BlinkToRadio to send the Battery value over the radio... please any tips? I did not find the interfece of Battery monitoring.. Regards, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.

[Tinyos-help] Serial interface

2008-05-05 Thread Antonio Prados Vilchez
Hi TinyOS users!! I'm trying to develop a simple application for a MICA2 mote which sends and receives data through its serial port. I've been looking to the example applications provided with TinyOS (I'm a beginner in this exciting world of motes) and I've managed to send serial frames to a PC

[Tinyos-help] Noise in the absence of incoming packet.

2008-05-05 Thread Paolo
Hello, I would like measure the signal strength in the absence of the incoming packets (ambient Noise and Source interference). While Reading from various post i understand that it is sufficient the sampling the RSSI register: is it correct ? If is correct why does http://www.moteiv.com/commun

Re: [Tinyos-help] what's the problem with attribute ((packed))

2008-05-05 Thread Urs Hunkeler
Hi Fatima, If the structure Attribute is only used internally (ie. not directly sent over the radio), then you can just leave it as it is. If the compiler issues warnings or errors, you can simply remove the "__attribute__ ((packet))" part. Anyways, for this specific code I think any 8- and 16