[Tinyos-help] run tinyviz
Hi, I have tried to run a simulation with tinyviz, but I get the following error: connection to simulator failed. How can I do? Thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] RE: Tinyos-help Digest, Vol 34, Issue 43
Topic 10. Try to do it: build/pc/main.exe -gui 'x' java net.tinyos.sim.SimDriver -gui Where 'x' is the number of motes what you want. I hope it helps you! Silvia Varela SENSORIA Ingeniera y Sistemas S.A [EMAIL PROTECTED] Tel. +34 91 209 10 65 Message: 10 Date: Wed, 15 Feb 2006 12:40:56 +0100 From: Paolo Ditto [EMAIL PROTECTED] Subject: [Tinyos-help] run tinyviz To: tinyos-help tinyos-help@Millennium.Berkeley.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi, I have tried to run a simulation with tinyviz, but I get the following error: connection to simulator failed. How can I do? Thanks -- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help End of Tinyos-help Digest, Vol 34, Issue 43 *** ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problems with multi-hop and surge
Hello,I'm trying to write an application that uses a multi-hop routing like Surge doesBut, i'm having some problems with it...I've looked at the documentation ( http://www.tinyos.net/tinyos-1.x/doc/multihop/multihop_routing.html)and the corresponding paper (also in the tinyos-1.x doc-directory)and the implementation in the Surge.nc files I am using MicaZ nodesFirst,When one tries to write such an application (like surge), is it sufficient to wire: ...Main.StdControl - multihopM.StdControl; ...SurgeM.RouteControl - multihopM; SurgeM.Send - multihopM.Send[AM_SURGEMSG]; ...multihopM.ReceiveMsg[AM_SURGEMSG] - Comm.ReceiveMsg[AM_SURGEMSG];in the configuration file Surge.nc?From reading the tutorials: I guess that is what the developers tried to achieve? (from the tutorial: Use of the multi-hop library component is mostly transparent to the application. Any application that uses the Send interface can be connected to this component to achieve multi-hop functionality.)Second,Why is the last line in the Surge.nc component commented?//multihopM.ReceiveMsg[AM_MULTIHOPMSG] - Comm.ReceiveMsg[AM_MULTIHOPMSG]; Third,In the SurgeM.nc module-file:I'm confused, what happens when a node receives a packet from another node... I'm missing something like: event TOS_MsgPtr Receive.receive(TOS_MsgPtr m) { //use the routing-functionality and forward it to the parent of this node return m;}-- But that all happens internally (in the ReceiveMsg[AM_SURGEMSG])?? Fourth,When I install the Surge-application to some nodes (and decrease their transmission power to be sure that they'll have to do multi-hop routing),They never use multi-hop routing! Either they send it directly to the TOSBase-station (if they are in range) or they send nothing (at least not forward it upwards in the spanning tree) I only get this topology:Base id=0-- mote id=1| |_ _ _ _ _ _ _ _ _ mote id=2||mote id=3and never a spanning tree... (in the GUI)Why isn't the SURGE_TYPE_ROOTBEACON implemented in SurgeM.nc?-- So, is there a bug in the surge-application, or am I doing something wrong?What am I doing wrong? I do everything as explained in the readme file...Sorry for the many questions I ask, but things aren't clear to me.. greetings,robin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] 802.15.4 MAC Beacon mode
Hi Riccardo, I _am_ working on a 802.15.4 MAC Layer implementation, yes. :-) I've just done the Polling and Association/Disassociation so far. But I decided not to use beacon mode. Although since a few days I am not sure anymore. The MAC Layer should be used with an implementation of the Zigbee NWK Layer. And I'm not sure if there is any other way to let this work than to implement beacon mode. Else my NWK Layer will never know who's around. What do you think? Martin Riccardo Sala wrote: Is someone (Gercke?) working on the 802.15.4 MAC layer? In particular I'm interested in beacon mode. What was done? Can I help? Thanks. Regards Riccardo S. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] MIB510 upload problem with latest cvs update (Solved)
Hi, Thank you Rahul. I´ve added the line MIB510=/dev/ttyS0 to my makefile and the problem was solved. Thanks. Andre Cunha IPP-Hurray, Porto Portugal Date: Tue, 14 Feb 2006 18:18:53 -0600 From: Rahul Sawant [EMAIL PROTECTED] Subject: Re: [Tinyos-help] MIB510 upload problem with latest cvs update To: tinyos-help@millennium.berkeley.edu Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Skipped content of type multipart/alternative-- next part -- # Makelocal File CFLAGS = -DCC1K_DEFAULT_FREQ=CC1K_433_002_MHZ MIB510=/dev/ttyS0 DEFAULT_LOCAL_GROUP = 0x15 Michael Schippling wrote: My final solution was to use the old cygwin... I don't know, nor has anyone else expounded, why the cygwin update is necessary. I did manage to compile a micaX app under the old version in TOS 1.1.14 but I haven't done any testing of results. MS André Cunha wrote: Hello again: Thanks for the help, but it doesn´t work, the cygwin doesn´t recognize the /dev/ttyS0. I´ve also tried to change the files in the tools directory with the files of the older versions but it sill doesn´t work. All the information i´ve found in the maillist about this problem seen to be inconclusive. I believe there are other people with the same problem. Can you give other sugestions. Thanks for the help. Andre Cunha IPP-Hurray, Porto Portugal Michael Schippling wrote: The general problem is that UISP doesn't work with the cygwin 1.2 update. You can try using /dev/ttyS0 instead of COM1, which _might_ work. Also search back through this list over the last month or two, there's been a lot of discussion of this. MS André Cunha wrote: Hi, I´ve updated my tinyos installation and now i can´t upload programs to the crossbow mib510. The upload freezes during uisp. Here is the log: mkdir -p build/micaz compiling Blink to a micaz binary ncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DIDENT_PROGRAM_NAME=\Blink\ -DIDENT_USER_ID=\Hurray\ -DIDENT_HOSTNAME=\Mote-vation\ -DIDENT_USER_HASH=0x48f6d189L -DIDENT_UNIX_TIME=0x43f0ae46L -DIDENT_UID_HASH=0x9e616f15L -I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.nc -lm compiled Blink to build/micaz/main.exe 1662 bytes in ROM 47 bytes in RAM avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec set-mote-id build/micaz/main.srec build/micaz/main.srec.out 1 installing micaz binary using mib510 uisp -dprog=mib510 -dserial=com1 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out On my old installation it works fine. Any clues??? Thanks Andre Cunha ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Deluge Error
Title: Message I formatted the Flashto runcode in FormatFalsh and then install DelugeBasic and run Serial Forwarder. However when I tried to run % java net.tinyos.tools.Deluge --ping the error message "write packet error." was displayed. What is the problem? The TinyOS version is 1.1.15. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] GIO -- Output Voltage.
Hello All, I have written a code for bit-banging using the TOSH macros for General I/O pins. Platform - TelosB/TmoteSky The voltage that I get on the pin 10 of U2 connector is 1.3 or 1.5 V maximum. The aim of the exercise is to use one of the digital output pins to switch on/off a sensor. Can someone tell me if there is a way to make the digital output voltage to be above 2 V ? ( I am trying to avoid using an external circuit to do that ) Hope to hear from someone. Thanks, Pinky Tejwani. Clemson University. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TOS_Msg
I'm trying to make a TOS_Msg with a data size of one byte as apposed to 2 bytes. I looked in AM.h and it defines the array as int8_t How is this different that uint8_t? So my question is, do I modify this struct to make the data elements in the array of size 1byte. If so how? Thanks, Ian ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOS_Msg
uint8_t would be unsigned, int8_t would be signed. they are both one byte long, but obviously, the latter has a lower maximum value. hope that helps. Sankar Gorthi. On Wed, 15 Feb 2006 14:36:51 -0600, Ian Welch [EMAIL PROTECTED] wrote: I'm trying to make a TOS_Msg with a data size of one byte as apposed to 2 bytes. I looked in AM.h and it defines the array as int8_t How is this different that uint8_t? So my question is, do I modify this struct to make the data elements in the array of size 1byte. If so how? Thanks, Ian -- If life was fair, Elvis would be alive and all the impersonators would be dead - Johnny Carson ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] GIO -- Output Voltage.
also, once all that is settled, make sure that you are not trying to draw too much current from the pin to turn on your sensor. The ATMEGA specs say 40mA max, I don't have the telos chip specs but it's probably similar. Anyway I think that is pushing it, I'd be more comfortable with 10mA. MS Matthew J Whelan wrote: The output voltage of the GIO set high should be the about same as your battery voltage. Do you have the P2.0 pin setup right? P2SEL = ~(0x01);//Sets P2.0 to GIO P2DIR |= 0x01; //Sets P2.0 to output P2OUT |= 0x01; // Sets P2.0 high What about the P6.3 (since the ADC3 input is wired to pin 10 as well)? P6SEL = ~(13); //Sets P6.3 to GIO P6DIR |= ~(13); //Sets P6.3 to input Is there some significant load on your signal which is causing it to drop in voltage? Regards, Matt [EMAIL PROTECTED] wrote: - To: Tinyos-help@Millennium.Berkeley.EDU From: pinky tejwani [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] Date: 02/15/2006 02:21PM Subject: [Tinyos-help] GIO -- Output Voltage. Hello All, I have written a code for bit-banging using the TOSH macros for General I/O pins. Platform - TelosB/TmoteSky The voltage that I get on the pin 10 of U2 connector is 1.3 or 1.5 V maximum. The aim of the exercise is to use one of the digital output pins to switch on/off a sensor. Can someone tell me if there is a way to make the digital output voltage to be above 2 V ? ( I am trying to avoid using an external circuit to do that ) Hope to hear from someone. Thanks, Pinky Tejwani. Clemson University. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOS_Msg
uint is unsigned, int is signed, it's all about what happens to the top bit when you cast or do arithmetic. They are both the same size (8 bits). You should be able to make the TOSH_DATA_LENGTH == 1, but look back through the list for helpful advice on changing the size. MS Ian Welch wrote: I'm trying to make a TOS_Msg with a data size of one byte as apposed to 2 bytes. I looked in AM.h and it defines the array as int8_t How is this different that uint8_t? So my question is, do I modify this struct to make the data elements in the array of size 1byte. If so how? Thanks, Ian ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to connect 51-pin expansion connector and 9-pin RS232 connector?
The MICAz motes have only a 51-pin expansion connector. But I need to connect it to a sensor which has only a 9-pin RS232 connector. I guess I can use an MIB510 board or a Stargate processor board to do the conversion between the two connectors. This seems to be quite expensive. Is there any commertially available and cheap converters that can serve the same purpose? Thanks. - Liangping __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOS_Msg
Typecast data field of the message (TOS_Msg.data). If that doesn't make sense to you, consult a C programming manual. TOS_Msg defines data to be int8_t instead of uint8_t so that mig defines that data array as a byte array instead of a short array in Java. Here are examples of typecasting: TOS_Msg msg; void f1() { uint8_t* body = (uint8_t*)msg.data; // ... } void f2() { MyStruct_t* body = (MyStruct_t*)msg.data; // ... } Cory On 2/15/06, Ian Welch [EMAIL PROTECTED] wrote: I'm trying to make a TOS_Msg with a data size of one byte as apposed to 2 bytes. I looked in AM.h and it defines the array as int8_t How is this different that uint8_t? So my question is, do I modify this struct to make the data elements in the array of size 1byte. If so how? Thanks, Ian ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] communication between MICAz and non-Xbow sensors
I got a mote kit and some sensors that are not produced by Xbow. These sensors have their own 9-pin serial com ports. Has anyone done any programming to enable the communication between motes and non-Xbow sensors? Thanks. - Liangping __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] SPI on mica2dot
Hi! I read in the ATmega128 manual that it is capable of SPI communication. So is there any way to connect some external ADCs to the MICA2DOT via SPI bus? I saw in the Crossbow MPR/MIB User's Manual that the bus is connected to the CC1000 radio, that way the answer will be no? Or could maybe the GPIOs be used for this? And what about I2C? Does it exists on MICA2 or MICA2DOT platform? Thanks, Peter ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] mica2dot frequency/bandwidth
Title: Message Has anybody had any luck adjusting the frequency for Mica2Dot's off of 913-914 MHz? I realize the traces are much different between the mica2dot and the mica2, which could be the issue, but mica2's seem to have much more bandwidth than the 2dots. Maybe there are components around the radio that are different as well? The mica2dot's seem towork well right at or near 913-914 MHz according to frequency analysis and mote-to-mote transmissions. When thecenter frequency drops below912 MHz or theabove 914.5 MHz, the signal becomes very corrupted. At that point, neighboring mica2dots will not pick up packets. Strangely, I can have a mica2dottransmitting at 911 MHz and a mica2 at the same frequency will pick up the messages most of the time, but another mica2dot will not see anyofmessages. Any insight into this behavior? Why are the mica2dots and mica2s so different in their transmitting/receiving frequency behavior? Has anybody ever measured the true rx/tx bandwidth of a mica2dot? -David ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Sensor Network Topology Question
Hi All, I want to run some simulations (using TOSSIM) on a 2-D lattice network topology. The method of operation will have a node acting as the Base Station broadcasting a message to its neighbours. Each node receiving this message will re-broadcast it until it has propogated the entire network. However, this process is prone to the hidden terminal problem (as has been discussed on this list before). To refresh people's memory, the Hidden Terminal problem occurs when two nodes (who are not neighbours) simultaneously send a message to a third node that is a neighbour to both of the other nodes. This results in a garbled message at the third node. I know there have been many solutions proposed to solve this problem, but most of them are fairly involved. I'm looking for a quick fix so that I can run my simulations without focusing too much overhead on a global MAC protocol. Has anyone else run into similar problems (either in simulation or a real world deployment) and, if so, how did you solve it? Perhaps someone has a good suggestion and how I can get myself out of this dilemma?? Thanks, Brett P ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Converting raw sensor values to engineering units
Hi all, I am trying to convert the raw sensor readings to engineering units. Can anyone help me with the formulae available for this conversion? I am converting light, sound and temperature readings. I appreciate your help. thanks, vijay ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TestDeluge error
Hey all, Trying to test Delue with TinyOS-1.1.10. First moved from apps to xbow apps and changed the makefile. Ran Make mica2 install, and got this error: DelugeBasic.nc:39: component DelugeC not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected com ponent `DelugeC', but got component 'HPLInit' DelugeBasic.nc:41: no match make: *** [exe0] Error 1 Then i tried to go back to the apps directory (not xbow), and the same error. ANy ideas?? thanks so much in advnace Josh - This mail sent through IMP: http://horde.org/imp/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] communication between MICAz and non-Xbow sensors
This comes up periodically. Try searching back on the help list. One of these days someone will post a demo app...but not yet. First, physically connecting to the board...I have my own layout for a sensor board, but I'm not aware of any commercial products. You can just solder to the right pads on the connector and goop everything together, but it's an ugly process/result. Can anyone else comment? Second, if your sensors have 9pin connectors they are probably _real_ RS232 which uses +/- 3v signals, whereas the mica board's serial lines are 0/+3v logic levels. You will need a level converter for reliable connection. The MIBs have such a beast. Third, programming on the TOS side involves using the UARTM module. Start from TOSBase is a partial solution but you will probably run down a number of rat-holes until you get the right combination of modules. Using GenericComm to get to the radio, as any normal person would think to do is no good because it takes over the UART as well. MS Liangping Ma wrote: I got a mote kit and some sensors that are not produced by Xbow. These sensors have their own 9-pin serial com ports. Has anyone done any programming to enable the communication between motes and non-Xbow sensors? Thanks. - Liangping __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] MicaWBVerify
I am trying to work with the MTS400 sensor with a MICA2. I have tried to compile code from MicaWBVerify so that I can move on from there and write my own apps using MTS400. Has anyone successfully compiled any of the applications in this directory? Should the applications in the directory compile without changes, or do I need to change something in order to get the applications compiled and working?? Thank You in advance, Grego ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How can i pass parameter
Hi everybody i want to pass parameter(mote group,mote id,mote location)when i download to mote . Has any body tell me about it.DISCLAIMER:The information contained in this e-mail may be confidential, proprietary, and/or legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are not allowed to distribute, copy, review, retransmit, disseminate or use this e-mail or any part of it in any form whatsoever for any purpose. If you have received this e-mail in error, please immediately notify the sender and delete the original message. Please be aware that the contents of this e-mail may not be secure and should not be seen as forming a legally binding contract unless otherwise stated. Thank you.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help