[Tinyos-help] Ultrasonic sensors on MDA300 + IRIS
Dear all, I want to implement the ultrasonic pulse echo technique on MDA300 + IRIS platform. So I have to attach an ultrasonic transmitter to the sensorboard's GND and 2.5V excitation pins and another ultrasonic receiver to ADC_1 channel and GND pins. I am using Tinyos 2.1 and MDA300 drivers downloaded from http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/mda300ca/. Thus, I have a couple of questions: 1.. Has anyone succeeded in getting a sampling frequency 2-3 KHz in free running mode (ie: radio chip switched-off) using MDA300? 2.. How to put high and down the 2.5 v excitation pin? this post http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg24083.html describe it for the 3.3 v excitation pin I appreciate your help in advance, Regards, HAFID ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] problem make micaz sim
Grateful for your reply ramana,i have installed avr msp430 tools. with this command rpm -ivh rpmfile for the first tool file : msp430tools-base-0.1-20050607.cygwin.i386.rpmfor others command rpm -ivh --nodeps rpmfile. $ rpm -ivh msp430tools-python-tools-1.0-1.cygwin.noarch.rpmerror: Failed dependencies: msp430tools-base = 0.1 is needed by msp430tools-python-tools-1.0-1 malika@a1b110 ~/rpms$ rpm -ivh --nodeps msp430tools-python-tools-1.0-1.cygwin.noarch.rpmfor configuration , path : /opt/msp430/bin:$PATH i have no folder bin in msp430 which is not in opt but in tinyos-2.x/tools/platform and in tinyos-2.x/tos/chipsthe same error of make micaz sim persist. thanks. --- En date de : Jeu 21.7.11, Ramana Reddy gtvrre...@gmail.com a écrit : De: Ramana Reddy gtvrre...@gmail.com Objet: Re: [Tinyos-help] problem make micaz sim À: malika abbadi malika_a...@yahoo.fr Cc: tinyos help tinyos-help@millennium.berkeley.edu Date: Jeudi 21 juillet 2011, 6h56 Did you install the drivers code for msp430 and avr. Install those. On Wed, Jul 20, 2011 at 7:50 PM, malika abbadi malika_a...@yahoo.fr wrote: Hi , thanks andrew for your rely, i have problem running Blink. Make micaz sim I work with windows xp/cygwinPlease help. Here cygwin command and response. $ cd c:cygwin/opt/tinyos-2.x/apps/Blink malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink $ make micaz simmkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-to snodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit =10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c - board=micasb -DIDENT_APPNAME=\BlinkAppC\ -DIDENT_USERNAME=\malika\ -DIDENT_H OSTNAME=\a1b110\ -DIDENT_USERHASH=0x9cf8983eL -DIDENT_TIMESTAMP=0x4e1c2600L -D IDENT_UIDHASH=0x078a3834L -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=compone nts -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump =interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml Unknown target micaz Known targets for TinyOS directory $TOSROOT/tos and the specified include directories are:none. make: *** [sim-exe] Error 2 malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink$ ncc --version ncc: 1.2.4 Unknown target micaKnown targets for TinyOS directory $TOSROOT/tos and the specified include directories are: none. malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink $ which ncc /usr/bin/ncc ___ 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] problem make micaz sim
Some times the path might be locates a different place. just find. and my sincere advice is try on ubuntu, its more easy and friendly. or start from the scratch in windows. On Thu, Jul 21, 2011 at 2:31 PM, malika abbadi malika_a...@yahoo.fr wrote: Grateful for your reply ramana, i have installed avr msp430 tools. with this command rpm -ivh rpmfile for the first tool file : msp430tools-base-0.1-20050607.cygwin.i386.rpm for others command rpm -ivh --nodeps rpmfile. *$ rpm -ivh msp430tools-python-tools-1.0-1.cygwin.noarch.rpm* *error: Failed dependencies:* *msp430tools-base = 0.1 is needed by msp430tools-python-tools-1.0-1* * * *malika@a1b110 ~/rpms* *$ rpm -ivh --nodeps msp430tools-python-tools-1.0-1.cygwin.noarch.rpm* for configuration , path : /opt/msp430/bin:$PATH i have no folder bin in msp430 which is not in opt but in tinyos-2.x/tools/platform and in tinyos-2.x/tos/chips the same error of make micaz sim persist. thanks. --- En date de : *Jeu 21.7.11, Ramana Reddy gtvrre...@gmail.com* a écrit : De: Ramana Reddy gtvrre...@gmail.com Objet: Re: [Tinyos-help] problem make micaz sim À: malika abbadi malika_a...@yahoo.fr Cc: tinyos help tinyos-help@millennium.berkeley.edu Date: Jeudi 21 juillet 2011, 6h56 Did you install the drivers code for msp430 and avr. Install those. On Wed, Jul 20, 2011 at 7:50 PM, malika abbadi malika_a...@yahoo.frhttp://mc/compose?to=malika_a...@yahoo.fr wrote: Hi , thanks andrew for your rely, i have problem running Blink. Make micaz sim I work with windows xp/cygwin Please help. Here cygwin command and response. $ cd c:cygwin/opt/tinyos-2.x/apps/Blink malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink $ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-to snodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit =10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c - board=micasb -DIDENT_APPNAME=\BlinkAppC\ -DIDENT_USERNAME=\malika\ -DIDENT_H OSTNAME=\a1b110\ -DIDENT_USERHASH=0x9cf8983eL -DIDENT_TIMESTAMP=0x4e1c2600L -D IDENT_UIDHASH=0x078a3834L -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=compone nts -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump =interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml Unknown target micaz Known targets for TinyOS directory $TOSROOT/tos and the specified include directories are: none. make: *** [sim-exe] Error 2 malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink $ ncc --version ncc: 1.2.4 Unknown target mica Known targets for TinyOS directory $TOSROOT/tos and the specified include directories are: none. malika@a1b110 /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink $ which ncc /usr/bin/ncc ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.eduhttp://mc/compose?to=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] Ultrasonic sensors on MDA300 + IRIS
Hi Hafid, You should use the tinyos-main repository from google code, that has MDA300 drivers that you might find useful. Regarding your first question: we have a code here http://szte-wsn.svn.sourceforge.net/viewvc/szte-wsn/tinyos-2.x/trunk/apps/test/mts300/MicReadStreamTest/ that samples the MIC at 17 khz and transmits it over the radio to the basestation. It uses this framework http://szte-wsn.svn.sourceforge.net/viewvc/szte-wsn/tinyos-2.x/trunk/tos/lib/Atm128FastAdc/ I do not know the answer to your second question though. Best, Miklos On Thu, Jul 21, 2011 at 10:31 AM, hafid oussaadi oussaadiha...@live.com wrote: Dear all, I want to implement the ultrasonic pulse echo technique on MDA300 + IRIS platform. So I have to attach an ultrasonic transmitter to the sensorboard's GND and 2.5V excitation pins and another ultrasonic receiver to ADC_1 channel and GND pins. I am using Tinyos 2.1 and MDA300 drivers downloaded from http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/mda300ca/. Thus, I have a couple of questions: Has anyone succeeded in getting a sampling frequency 2-3 KHz in free running mode (ie: radio chip switched-off) using MDA300? How to put high and down the 2.5 v excitation pin? this post http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg24083.html describe it for the 3.3 v excitation pin I appreciate your help in advance, Regards, HAFID ___ 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] Reading the RSS value
Hi All, I have this as my opinion, the CC2420Packet.getPower() and the CC2420Packet.getRssi() functions return the same value, i.e., the return power of CC2420Packet.getPower() also represents the RSS value. Am I right? Please give me some comments. Thanks Yusnaidi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Blip - Stateless autoconfiguration
Hi, How can define during compilation (in Makefile) to use stateless auto-configuration in sensor node (using blip 1.0)? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Planning of the components for a new demoboard based on msp430f1611 and cc2420
Hi, I'm planning to develop a demoboard, starting from the MSP430-P1611 development board, the CC2420EMK and the M25P80 flash module. The MSP430-P1611 is based on the MSP430F1611 MCU, producted by Olimex [http://www.olimex.com/dev/msp-p1611.html]. Now the question is: Which are the other components I have to take in consideration to be able to compile and download an application to my future demoboard? I saw, TelosB provides an USB interface to download the code on the mote. Thanks in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Planning of the components to develop a demoboard based on the msp430f1611 and the cc2420
Hi all, I'm planning to develop a demoboard, starting from the MSP430P1611 development board [http://www.olimex.com/dev/msp-p1611.html], the CC2420EMK [http://focus.ti.com/docs/toolsw/folders/print/cc2420emk.html] and the M25P80 flash module. Now, my question is: which are the other components I have to take in consideration to be phisically able to compile and download an application on the my future demoboard? I saw TelosB uses an USB interface for the code's compiling and downloading. Thanks in advance. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Planning of the components to develop a demoboard based on the msp430f1611 and the cc2420
On Thu, Jul 21, 2011 at 12:08 PM, Emanuele Alidori emanuele.alid...@gmail.com wrote: Hi all, I'm planning to develop a demoboard, starting from the MSP430P1611 development board why the 1611? The 1611 is now a days a very old chip with significant issues that newer chips fix. What are you trying to accomplish by chosing the 1611? What problem are you trying to solve? [http://www.olimex.com/dev/msp-p1611.html], the CC2420EMK [http://focus.ti.com/docs/toolsw/folders/print/cc2420emk.html] and the M25P80 flash module. Now, my question is: which are the other components I have to take in consideration to be phisically able to compile and download an application on the my future demoboard? I saw TelosB uses an USB interface for the code's compiling and downloading. The telosb uses a USB chip coupled with some circuitry to enable the TI BSL buried in the chip. We use the JTAG port to debug as well as load code into the chips. We are currently using the msp430f5438. One of the advantages of the 5438 is it has 8 USCI ports which elimates most cases of needing an arbiter which is a big win. The thing to do is study the telosb schematic and understand the basic blocks and what they are used for. Then you only need to implement blocks that you actually need. In other words what components you need really depends on what you are doing. The simplest program (short of Null) is Blink and it needs the clock for the cpu, timing for Tmilli, and a LED to blink. eric Thanks in advance. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Dividing a CTP network
Thank you very much for the reply. Actually we have a bigger project which allows a user to establish a virtual PAN spanning several host networks. There can be two cases. the host networks are nearby we have done the development for that. (basically they can communicate using their radios) IP bridging comes to picture when the host networks are apart from each other. But we need to show the user that these two networks are a single (virtual) network. Because he will expect data from only one gateway. (which is the one that becomes the root in CTP) I'm trying to do the second part where one gateway is advertising that he can talk to the motes that are in the other part of the network. (thru the IP bridge) thanks again for your feedbackDate: Wed, 20 Jul 2011 20:44:21 -0700 Subject: Re: [Tinyos-help] Dividing a CTP network From: cire...@gmail.com To: ranalferna...@live.com CC: tinyos-help@millennium.berkeley.edu Sure it is feasible. Basically you are describing two AM nets joined by an IP tunnel that is acting as a bridge. The behaviour of the two nets will in part be determined by the behaviour of the IP bridge. It will have a temporal effect and will certainly determine the topology of the net. I'm curious as to what problem you think you are solving. Seems like it might make more sense to have two collection points one for each net. What are you trying to accomplish? On Wed, Jul 20, 2011 at 7:29 PM, ranal fernando ranalferna...@live.com wrote: sorry for multiple mails. does anyone have any idea? at least about the feasibility of this? i thought of having some feedback from the community. Thanks. From: ranalferna...@live.com To: tinyos-help@millennium.berkeley.edu Date: Tue, 19 Jul 2011 19:48:29 -0400 Subject: [Tinyos-help] Dividing a CTP network Dear all, For my project i'm have to divide a ctp based network into two then connect them through an IP link. So the root will be in one part of the network. i'm going to send routing table information between the gateways using the IP link. Can you give me some suggestions about the feasibility of this? What type of a performance penalty will I have to pay for this? Thanks Ranal ___ 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 -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] EasyCollection with CTP (I need to count packets loss)
Dear all: I need your help, I tested EasyCollection from http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/lesson12.html and tested it with this simple topology 3 --- 2---1 (node 1 as a root) Node 3 and 2 generate its own data and send it to the root, these are my topology. test-1.txt 1 2 0.0 2 1 0.0 2 3 0.0 3 2 0.0 test-2.txt 1 2 -45.0 2 1 -45.0 2 3 -45.0 3 2 -45.0 test-3.txt 1 2 -75.0 2 1 -75.0 2 3 -75.0 3 2 -75.0 but I got same results with the 3 different topology(especially their gain values), like this : Node 2 : 162 packets was sent Node 3 : 162 packets was sent Node 0 : 324 packets was received 0 packets loss There is no packet loss, is the results correct?, But, if I tried RadioCountToLeds example, with various gain values, I got some packets loss, where number of packets sent number of packets received. Since, I want to simulate my model with CTP and I need to count the packets loss for the model. So, I need there is packets loss occurred in my simulation. may someone help me how to solve it. Thanks in advance. Fajar. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] EasyCollection with CTP (I need to count packets loss)
Fajar, Maybe due to the fact that CTP has retransmissions? :) -John On Jul 21, 2011, at 10:47 PM, Fajar Lab wrote: Dear all: I need your help, I tested EasyCollection from http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/lesson12.html and tested it with this simple topology 3 --- 2---1 (node 1 as a root) Node 3 and 2 generate its own data and send it to the root, these are my topology. test-1.txt 1 2 0.0 2 1 0.0 2 3 0.0 3 2 0.0 test-2.txt 1 2 -45.0 2 1 -45.0 2 3 -45.0 3 2 -45.0 test-3.txt 1 2 -75.0 2 1 -75.0 2 3 -75.0 3 2 -75.0 but I got same results with the 3 different topology(especially their gain values), like this : Node 2 : 162 packets was sent Node 3 : 162 packets was sent Node 0 : 324 packets was received 0 packets loss There is no packet loss, is the results correct?, But, if I tried RadioCountToLeds example, with various gain values, I got some packets loss, where number of packets sent number of packets received. Since, I want to simulate my model with CTP and I need to count the packets loss for the model. So, I need there is packets loss occurred in my simulation. may someone help me how to solve it. Thanks in advance. Fajar. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- JeongGil Ko (John) Ph.D. Student Department of Computer Science Johns Hopkins University http://www.cs.jhu.edu/~jgko ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Reading the RSS value
No, CC2420Packet.getPower() gives you the power level at which you have set the radio i.e. the power level at which you are sending packets. Whereas CC2420Packet.getRssi() gives you the RSSI value at which a packet was received over the radio. Hi All, I have this as my opinion, the CC2420Packet.getPower() and the CC2420Packet.getRssi() functions return the same value, i.e., the return power of CC2420Packet.getPower() also represents the RSS value. Am I right? Please give me some comments. Thanks Yusnaidi -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] EasyCollection with CTP (I need to count packets loss)
Jhon, Thanks a lot, you are right. I didn't consider it before :), I got it in the CtpForwardingEngineP.nc Best, Fajar. Dari: JeongGil Ko (John) j...@cs.jhu.edu Judul: Re: [Tinyos-help] EasyCollection with CTP (I need to count packets loss) Kepada: Fajar Lab fajar...@yahoo.co.id Cc: tinyos-help@millennium.berkeley.edu Tanggal: Jumat, 22 Juli, 2011, 3:05 AM Fajar, Maybe due to the fact that CTP has retransmissions? :) -John On Jul 21, 2011, at 10:47 PM, Fajar Lab wrote: Dear all: I need your help, I tested EasyCollection from http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/lesson12.html and tested it with this simple topology 3 --- 2---1 (node 1 as a root) Node 3 and 2 generate its own data and send it to the root, these are my topology. test-1.txt 1 2 0.0 2 1 0.0 2 3 0.0 3 2 0.0 test-2.txt 1 2 -45.0 2 1 -45.0 2 3 -45.0 3 2 -45.0 test-3.txt 1 2 -75.0 2 1 -75.0 2 3 -75.0 3 2 -75.0 but I got same results with the 3 different topology(especially their gain values), like this : Node 2 : 162 packets was sent Node 3 : 162 packets was sent Node 0 : 324 packets was received 0 packets loss There is no packet loss, is the results correct?, But, if I tried RadioCountToLeds example, with various gain values, I got some packets loss, where number of packets sent number of packets received. Since, I want to simulate my model with CTP and I need to count the packets loss for the model. So, I need there is packets loss occurred in my simulation. may someone help me how to solve it. Thanks in advance. Fajar. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- JeongGil Ko (John) Ph.D. Student Department of Computer Science Johns Hopkins University http://www.cs.jhu.edu/~jgko ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Could Octopus in tinyos2.X used for target tracking problem
hi, I have heard about octopus for GUI simulation in tinyos2.x but Can I use it for target tracking problem too? Thank you ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help