[Tinyos-help] Question about at45db

2007-04-17 Thread SANG Junjun
In file /tinyos-2.x/tos/platforms/mica2/chips/at45db/HplAt45dbIOC.nc why use Int2? HplAt45dbIOP.InInterrupt - HplAtm128InterruptC.Int2; -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

FW: [Tinyos-help] Having problems acquiring RSSI readings from adc0 PLEASE HELP

2007-04-17 Thread Nadeem Jamal
Hi Michael Thanks for your reply. I was able to solve my problem but don't know exactly what was wrong. Anyways now I am getting my values but really confused with the numbers I am getting. They don't seem to be right. I am going to attach you a copy of my code and hopefully u can see if I

[Tinyos-help] Activating the sensing elements of a MICA2 system

2007-04-17 Thread bsyehuda
Dear all, We got a new MICA2 system with an MTS300 sensors card and all efforts to activate the sensors under TinyOS 2.0 failed. We are able to activate communication betwenn several sensors BUT activating the light, temperature or microphone have failed. Any help or directing us to a working

[Tinyos-help] TOS_base issue

2007-04-17 Thread Hamdi Roumani
Hello, I have two versions senarios which lead to the same results but don't: V1: A mote emits a packet every 2 seconds - 2 other motes right beside it, which can reach the base station programmed with TOS_base both receive the packet and send (sequence numbers are used) i.e. every 2

Re: [Tinyos-help] Ubuntu TinyOS Existing AVR libs

2007-04-17 Thread Anne van Rossum
Thanks for your answers. So, an existing AVR toolchain seems to be a problem indeed. In that case, is there perhaps a temporal solution to my problem? Or are there many references to the current location? Or are there only some general configuration files that have to be changed? I can do it for

Re: [Tinyos-help] powerTOSSIM error

2007-04-17 Thread yogesh gavali
hi Sarfraz, when i do $TOSROOT/tools/scripts/PowerTOSSIM/postprocess.py --sb=0 --em i get Error: Illegal arguments why it is giving Error: Illegal arguments what to do next? and the following command $TOSROOT/tools/scripts/PowerTOSSIM/mica2_energy_model.txt CntToLedsAndRfm.trace the

[Tinyos-help] Energy consumption

2007-04-17 Thread Obidul Islam
Hi, I am evaluating two routing algorithms in tinyOS. The purpose of the algorithm is to evaluate lifetime of the network. Can any help me how we can estimate the residual energy of a node in TinyOS? I am using tmotes. Thanks Obidul ___ Tinyos-help

[Tinyos-help] BVR in TinyOS-2.x

2007-04-17 Thread Mirko Bordignon
Hi, as far as I understood from the code porting guide (related to Tahir Azim's experience) and from this meeting note (http:// mail.millennium.berkeley.edu/pipermail/net2-wg/2007/000647.html), a BVR port to TinyOS-2.x is in the works. Needing point to point communication in my T2 apps, I

Re: [Tinyos-help] Questions concerning the TestNetwork app

2007-04-17 Thread Pedro Almeida
Thank you, Phillip, for your kind help! Some things are now clearer (thanks to the more commented code of the MultihopOscilloscope) , while others still remain confusing. - i dont clearly understand the implementation of CTP, even after reading the CTP 123 TEP. i believe it's done some sort

[Tinyos-help] Sensing Light Or Temp in TinyOs 2.0 Mica2 Motes

2007-04-17 Thread Itamar amsili
Hi I am trying to activate My mts300 Sensor Board for the Mica2 motes, I downloaded the TempC. PhotoC etc. code from the Sourceforge CVS libraries and used the Sense application from lesson 5, with changing the DemoSensorC: generic configuration DemoSensorC() { provides interface

[Tinyos-help] The Maté (ASVM) Virtual machi ne?!

2007-04-17 Thread alex100
Hi all, I have 2 questions about the mate (ASVM framework): Does the generated application specific virtual machines support multiple running applications? Does the generated ASVM could be updated during runtime or just the application(s) could be? Thanks Alexandre

Re: [Tinyos-help] Mote IDs

2007-04-17 Thread Benjamin Madore
On Fri, April 13, 2007 2:04 pm, Hamdi Roumani said: Thanks for the help it worked, one question though: With the id's now implemented I am unware if a packet has been recieved (which I guess is the case :-D). BUT i'd still like for the motes to forward packets, even if its not for them.

Re: [Tinyos-help] Having problems acquiring RSSI readings from adc0 PLEASE HELP

2007-04-17 Thread Benjamin Madore
On Sun, April 15, 2007 3:40 pm, Michael Schippling said: Assuming that the 'dot works like the mica2,z you shouldn't need to read the ADC directly, but rather just look at the TOS_Msg.strength field in the receive() function. The dot is almost a Mica2. Not 100%-it's more like a mini Mica2.

Re: [Tinyos-help] SensetoRfm(use of two sensors???)

2007-04-17 Thread Benjamin Madore
On Mon, April 16, 2007 5:03 am, pinku bajpai said: please tell me if we can use two sensor value like photo and temperature data to send on radio simultneously. You can't sample some of the values at exactly the same time, but you can send anything you can fit into 29 bytes. See the crossbow

Re: [Tinyos-help] Sending data to Base Station not connected to PC

2007-04-17 Thread Michael Schippling
Sorry I'm a T1/mica2 kinda guy so I'm not much more help. I assume that the Telos do not transmit directly to a host but have some intermediary, or base-station. That would be on place to store samples. I don't know if they have EEPROM like the mica's though. In T1 there are modules that access

[Tinyos-help] Re: your help is needed_jitter

2007-04-17 Thread Michael Schippling
Just to keep a record of my blathering I'm cc'ing the help list... If you want to measure message send/receive time on the motes directly you will need some way to synchronize their clocks. This isn't easy. I just posted a link to a review paper that I stumbled on a couple days ago, and you can

Re: FW: [Tinyos-help] Having problems acquiring RSSI readings from adc0 PLEASE HELP

2007-04-17 Thread Michael Schippling
I'm not sure about your battery reading. If you are using a TOS battery code module like VoltageM, it doesn't work on some platforms and when it does it may do the voltage calculation for you. Read through the code to figure that out. You can do make [platform] docs to get a handle on what

Re: [Tinyos-help] Activating the sensing elements of a MICA2 system

2007-04-17 Thread Michael Schippling
I've seen some talk that the MTS card drivers are not yet, or perhaps just now, available. You might need to update your devel tree, or look at CVS. MS [EMAIL PROTECTED] wrote: Dear all, We got a new MICA2 system with an MTS300 sensors card and all efforts to activate the sensors under TinyOS

[Tinyos-help] MSG: msg timing

2007-04-17 Thread Hamdi Roumani
After a packet is sent from a basestation and if 2 motes reply by simply resending the same message back to the basestation it interfernce likely to cause one of the msgs not to be received? - in other words after outputing a packet from TOS_Base is there anything special that needs to be

[Tinyos-help] Bits operations

2007-04-17 Thread Jose A.
Hi. In my Tiny OS application I´m trying to obtain the first eight bits of a variable that take up 2 bytes of space but i don´t know how I can do it. Any idea?. Thank you very much. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Mote IDs

2007-04-17 Thread Benjamin Madore
On Tue, April 17, 2007 4:53 pm, Hamdi Roumani said: Thanks for the reply, I've implemented an algorithm such as one you suggested and everything seems to work fine (without any infinite loops) the only problem is for some reason (The broadcast is initiated at the base station using TOS_Base

Re: [Tinyos-help] Bits operations

2007-04-17 Thread Benjamin Madore
On Tue, April 17, 2007 5:08 pm, Jose A. said: Hi. In my Tiny OS application I´m trying to obtain the first eight bits of a variable that take up 2 bytes of space but i don´t know how I can do it. Any idea?. Thank you very much. ___

Re: [Tinyos-help] Bits operations

2007-04-17 Thread Philip Levis
On Apr 17, 2007, at 2:32 PM, Benjamin Madore wrote: On Tue, April 17, 2007 5:08 pm, Jose A. said: Hi. In my Tiny OS application I´m trying to obtain the first eight bits of a variable that take up 2 bytes of space but i don´t know how I can do it. Any idea?. typedef union _byte_word {

Re: [Tinyos-help] powerTOSSIM error

2007-04-17 Thread Sarfraz Nawaz
Following is the complete command on one single command line $TOSROOT/tools/scripts/PowerTOSSIM/postprocess.py --sb=0 --em $TOSROOT/tools/scripts/PowerTOSSIM/mica2_energy_model.txt CntToLedsAndRfm.trace Are you giving it as one command? On 4/17/07, yogesh gavali [EMAIL PROTECTED] wrote: hi

Re: [Tinyos-help] MSG: msg timing

2007-04-17 Thread Michael Schippling
That kind of depends...if all the motes can hear each other there is a good chance that the CDMA (CSMA? I always forget...) mechanism will work and one will defer to another that got there first. But it doesn't always work. And the micaZ seems to work better than the mica2 in this respect. If

Re: [Tinyos-help] MSG: msg timing

2007-04-17 Thread Hamdi Roumani
Thanks, I can't seem to figure out whats going on - i'm sure its not the motes - both are sending as SENDDONE is being called and returned sucess. The basestation still only recieves on the packets - This only occurs when the base station is the source of the transmition Regards, Hamdi

[Tinyos-help] How to check if a packet has been physically transmitted ?

2007-04-17 Thread Thang Le
I need to find out if the transmission of a packet is completed at MAC layer (TinyOS 1.1.15 / Micaz). What I need to do is to change some radio parameters. So, I want to make sure that if a packet is in the queue, the transmission of that packet needs to complete before I reset the

Re: [Tinyos-help] How to check if a packet has been physically transmitted ?

2007-04-17 Thread Philip Levis
On Apr 17, 2007, at 7:41 PM, Thang Le wrote: I need to find out if the transmission of a packet is completed at MAC layer (TinyOS 1.1.15 / Micaz). What I need to do is to change some radio parameters. So, I want to make sure that if a packet is in the queue, the transmission of that

Re: [Tinyos-help] MSG: msg timing

2007-04-17 Thread Michael Schippling
I'm sorry, can you describe the system a bit more. I was distracted and didn't really follow the first version. One thing to check is that you are using the right IDs if you are sending to specific motes. You could also put an intentional delay in one of the re-Motes to see if it is an

Re: [Tinyos-help] MSG: msg timing

2007-04-17 Thread Hamdi Roumani
The basestation sends out a packet with the TOS_BCAST_ADDR with a particular seqno. There are two motes which each forward anything they receive if they have not seen the seqno before. I put in a delay and still the base only receives one of these. The weird part if there is another

Re: [Tinyos-help] How to check if a packet has been physically transmitted ?

2007-04-17 Thread Hui KANG
You can enable the acknowledgment by MacControl.enableAck. On 4/18/2007, Thang Le [EMAIL PROTECTED] wrote: I need to find out if the transmission of a packet is completed at MAC layer (TinyOS 1.1.15 / Micaz). What I need to do is to change some radio parameters. So, I want to make

[Tinyos-help] FCC regulation 15.231 for 433 MHz mote

2007-04-17 Thread Ken Bannister
I am deciding on the motes to use for a soil sensor data collection network in the US. I like the range of 433 MHz MICA2 motes, but I am concerned about FCC regulation 15.231. My concern is that it limits the output power to the point that this frequency loses its value. Has anyone looked