[Tinyos-help] Excitation Voltage
Hi everybody. How do I enable excitation voltage (pin with 2.5V, 3.3V and 5.0V) in MDA300CA sensorboard? My gateway is MIB520 and my wireless module is IRIS XM2110. I use TinyOS 2.1.0. I noticed that in TinyOS 1.x there is TOSH_SET_xx_PIN macro, while in TinyOS 2.x (in tos/chips/atm1281/atm128hardware.h file) there is SET_BIT(port,bit) macro. Is it the right macro? However, what are port and bit values for excitation pins? How can I identify them? Thanks. -- Francesco Ficarola francesco.ficarola_at_gmail_dot_com Presidente LUG-PV (http://lugpv.netsons.org) Mailing List: lugpv_at_lists.linux_dot_it [GPG KeyID: 0xDBA99D92] http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc Il nuovo modo di fare ricerca: www.tradoogle.it signature.asc Description: OpenPGP digital signature ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Excitation Voltage
Hi! Seacrh for the MicaBusC component, it provides the GeneralIO interfaces which you can use to do the thing what you need. Miklos On Sat, Aug 21, 2010 at 11:07 AM, Francesco Ficarola francesco.ficar...@gmail.com wrote: Hi everybody. How do I enable excitation voltage (pin with 2.5V, 3.3V and 5.0V) in MDA300CA sensorboard? My gateway is MIB520 and my wireless module is IRIS XM2110. I use TinyOS 2.1.0. I noticed that in TinyOS 1.x there is TOSH_SET_xx_PIN macro, while in TinyOS 2.x (in tos/chips/atm1281/atm128hardware.h file) there is SET_BIT(port,bit) macro. Is it the right macro? However, what are port and bit values for excitation pins? How can I identify them? Thanks. -- Francesco Ficarola francesco.ficarola_at_gmail_dot_com Presidente LUG-PV (http://lugpv.netsons.org) Mailing List: lugpv_at_lists.linux_dot_it [GPG KeyID: 0xDBA99D92] http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc Il nuovo modo di fare ricerca: www.tradoogle.it ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Excitation Voltage
Miklos Maroti ha scritto: Hi! Seacrh for the MicaBusC component, it provides the GeneralIO interfaces which you can use to do the thing what you need. Miklos Thanks for the quick reply Miklos.I try to implement it soon and after I will inform you. -- Francesco Ficarola francesco.ficarola_at_gmail_dot_com Presidente LUG-PV (http://lugpv.netsons.org) Mailing List: lugpv_at_lists.linux_dot_it [GPG KeyID: 0xDBA99D92] http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc Il nuovo modo di fare ricerca: www.tradoogle.it signature.asc Description: OpenPGP digital signature ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TinyDB was No query result returned
I trying to use the tinyDB in the TOSSIM. I followed the note in the tutorial which said make clean in the tinyos-1.x/app/TinyDBApp and the tinyos-1.x/tools/java then make -f MakePC in the tinyos-1.x/tools/java/.../Tinydb and make -f MakePC pc in the tinyos-1.x/app/TinyDBApp. But there was some error appeared like === r...@momo /opt/tinyos-1.x/apps/TinyDBApp $ make -f MakePC pc mkdir -p build/pc compiling TinyDBApp to a pc binary ncc -o build/pc/main.exe -g -O0 -I../../tos/lib/Attributes -I ../../tos/lib/Util -I../../tos/lib/Commands -I../../tos/lib/TinyDB -I../../tos/lib/Route -I../../t os/lib/Queue -I../../tos/lib/FS -I../../tos/lib/TinyDB/Aggregates -pthread -fnes c-nido-tosnodes=1000 -fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wne sc-all -target=pc -fnesc-cfile=build/pc/app.c -board=micasb -DTOSH_DATA_LENGTH=5 8 -DIDENT_PROGRAM_NAME=\TinyDBApp\ -DIDENT_USER_ID=\ray\ -DIDENT_HOSTNAME=\ momo\ -DIDENT_USER_HASH=0x6b4532a4L -DIDENT_UNIX_TIME=0x4c6ffa79L -DIDENT_UID_H ASH=0x39224d0eL TinyDBApp.nc -lm C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:72: component WMEWMAM ultiHopRouter not found In file included from C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc:13 3: C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\ParsedQueryIntf.nc:110: warning: declara tion of `select' shadows global declaration /usr/include/sys/select.h:31: warning: location of shadowed declaration C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc: In function `removeQuer yTask': C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc:1360: warning: suggest p arentheses around within || C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc: In function `sendQuery' : C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc:1523: warning: suggest p arentheses around + or - inside shift C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc: In function `AbsoluteTi mer.fired': C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\TupleRouterM.nc:2252: warning: label `do ntSleep' defined but not used C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc: At top level: C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:113: cannot find `Int ercept' C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:114: cannot find `Sen d' C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:115: cannot find `Sno op' C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:116: no match C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:117: no match C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:126: cannot find `Rec eiveMsg' C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\NetworkMultiHop.nc:129: no match C:\cygwin\opt\tinyos-1.x\tos\lib\TinyDB\ParsedQuery.nc:312: warning: declaration of `select' shadows global declaration /usr/include/sys/select.h:31: warning: location of shadowed declaration make: *** [exe0] Error 1 = So i used the make pc in the tinyos-1.x/app/TinyDBApp, sucessed but when i started the tinyDB JAVA GUI and send query there is nothing in the graph, and the TinyDBApp window was displayed like 0: deliver wait is 0/0: DUMMY WAIT Could someone help me? Sorry for my poor english. Thank you and Best wishes! Ray ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Simple Time Sync
Hello, I am trying to implement a simple time synchronization by sending the current time of a periodic timer from a master node using command getNow() of the Timer interface. Is it possible that the slave nodes set this value as the current time of their periodic timer? I imagine having motes that have blinking LEDs at the same time (not that precise) while booting at different times. What command and interface can I use to overwrite the current time of a timer? Thanks for your help. - JC de Dios ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Simple Time Sync
You can't really in this case: other parts of the system (eg timers) depend on the value's progression. Two options: 1) Run FTSP 2) Store the observed difference between transmitter and receiver time at the receiver, use this as an offset. Note the issues with drift. Phil (sent from a phone) On Aug 21, 2010, at 11:43 AM, JC de Dios jc.ded...@ieee.org wrote: Hello, I am trying to implement a simple time synchronization by sending the current time of a periodic timer from a master node using command getNow() of the Timer interface. Is it possible that the slave nodes set this value as the current time of their periodic timer? I imagine having motes that have blinking LEDs at the same time (not that precise) while booting at different times. What command and interface can I use to overwrite the current time of a timer? Thanks for your help. - JC de Dios ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Simple Time Sync
Thanks for the reply, I have some questions 1) Where does FTSP store its local time so it can be changed to sync with the global time? Is it too complicated for a simple application (LEDs from different motes blinking at the same time)? I don't need the 1 microsecond accuracy (yet). 2) I am currently disregarding the clock drift and jitter. Do you have any suggestions on how to use the computed offset in order to have a timer firing at the same time? Can I use the startPeriodicAt(t0,dt) command? Thanks for the help. - JC de Dios On Sun, Aug 22, 2010 at 2:50 AM, Philip Levis p...@cs.stanford.edu wrote: You can't really in this case: other parts of the system (eg timers) depend on the value's progression. Two options: 1) Run FTSP 2) Store the observed difference between transmitter and receiver time at the receiver, use this as an offset. Note the issues with drift. Phil (sent from a phone) On Aug 21, 2010, at 11:43 AM, JC de Dios jc.ded...@ieee.org wrote: Hello, I am trying to implement a simple time synchronization by sending the current time of a periodic timer from a master node using command getNow() of the Timer interface. Is it possible that the slave nodes set this value as the current time of their periodic timer? I imagine having motes that have blinking LEDs at the same time (not that precise) while booting at different times. What command and interface can I use to overwrite the current time of a timer? Thanks for your help. - JC de Dios ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] LinkLayerModel Error
I couldn't find the problem yet. Any help? On Fri, Aug 20, 2010 at 1:53 PM, mojtaba raznahan mojtaba.razna...@gmail.com wrote: Hi all, When I want to create my topology file I face an error. javac LinkLayerModel.java -- This is OK,No problem. But when I run this : java LinkLayerModel configurationFileName(my filename is Top) , I give this error : *Exception in thread main java.lang.NoClassDefFoundError: LinkLayerModel (wrong name: net/tinyos/sim/LinkLayerModel) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: LinkLayerModel. Program will exit. *What's the problem? Thanks in advance. -- Mojtaba Raznahan BS of Computer engineering TMU university www.raznahan.com -- Mojtaba Raznahan BS of Computer engineering TMU university www.raznahan.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] LinkLayerModel Error
are you in the right directory?compiling it puts it in the package directorystryjava net.tinyos.sim.LinkLayerModel configurationFileName(my filename is Top) or moving to sim From: mojtaba.razna...@gmail.com Date: Sat, 21 Aug 2010 23:50:38 +0430 To: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] LinkLayerModel Error I couldn't find the problem yet. Any help? On Fri, Aug 20, 2010 at 1:53 PM, mojtaba raznahan mojtaba.razna...@gmail.com wrote: Hi all, When I want to create my topology file I face an error. javac LinkLayerModel.java -- This is OK,No problem. But when I run this : java LinkLayerModel configurationFileName(my filename is Top) , I give this error : Exception in thread main java.lang.NoClassDefFoundError: LinkLayerModel (wrong name: net/tinyos/sim/LinkLayerModel) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: LinkLayerModel. Program will exit. What's the problem? Thanks in advance. -- Mojtaba Raznahan BS of Computer engineering TMU university www.raznahan.com -- Mojtaba Raznahan BS of Computer engineering TMU university www.raznahan.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] [Blip-Users] Problems using blip and uart0 of expansion port
Hi All, I'm having problems with an application, the thing is simple, the mote is supposed to to communicate with an external module using Uart0TX and Rx of the U28 expansion port while using the ipv6 stack, In can initialize the ipv6 stack without problems and then I ping to the mote... Then, I request the Uart resource from Msp430Uart0C() the event granted is signaled... and then I can send commands with Uart0... but... then the mote stop pinging thats not the problem... that is supposed to happen I guess because the CC2420 shares the bus with uart0... the problem is that I can not release the resource... when I do: Recurso.release() it returns FAIL... meaning that I am not the owner of the resource... why is that happening??? please I need help!!! Is there any example of using the blip stack and the Uart0 module at the same time??? My apologies cause my bad English... :( Thanks in advance... Aldo ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help