[Tinyos-help] Is there any mac protocol in tinyos2.x?
Is there any mac protocol in tinyos2.x? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: Re to Re: [Tinyos-help] telosb and mica2
Maala, The mica2 and the telosb are not compatible because their radios work at different frequencies. The telosb radio (CC2420) works in the 2.4 GHz band and the mica2 (with the CC1000 radio) works at either 433, 868 or 916 MHz depending on the type you have. The telosb motes are however compatible with micaz motes if that's any help you. Mike On 4/3/07, Boushra MAALA [EMAIL PROTECTED] wrote: hi Vinay, can you explain why if it is possible? because i have these two types and i want to form a network by using them togather. thank you *vinay murthy [EMAIL PROTECTED]* wrote: Dear Maala, It is not compatible. Vinay. *Boushra MAALA [EMAIL PROTECTED]* wrote: hi all, i want to know if telosb is compatible with mica 2? thanks -- Need Mail bonding? Go to the Yahoo! Mail QAhttp://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=396546091for great tips from Yahoo! Answershttp://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=396546091users.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Don't pick lemons. See all the new 2007 carshttp://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--at Yahoo! Autos.http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-- -- Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travelhttp://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0Ato find your fit. ___ 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] Network types
Hi, I was wondering what the use of nx_uint8_t and nx_int8_t is, since network types are here to use the proper byte order. Is it just to provide the full set of network types ? Also, does using these types when not necessary induce adding useless instructions ? I wonder this because I use nx_uint8_t * pointers in my code to indicate that I manipulate data in packets, while I could just use uint8_t * (if my assumption that nx8 has no use is correct). Thanks for your explanations, Romain ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
R: R: [Tinyos-help] 2kHz on MDA300
Dear Mr Alessandro Balvis, I would like to ask you, if it is possible, to provide me with more information on how you achieved to collect data with MDA300 with 1000Hz sampling frequency? What variables have you actually modified and at what value have you set them? We try to increase the sampling frequency but we can only get data at around 150Hz. In particular, I have set in SamplerM.nc: TIME_SCALE =1 MAX_SAMPLERECORDS = 1 (I collect only the reading from ADC0) In my program I have set: Timer_rate = 3; ANALOG_SAMPLING_TIME 2 (Note that these are the smallest values with which I can collect packets) Also, I fill a packet of 26 samples and then send them ( Do you know a way to increase the number of samples in a packet?. I have changed the message length but when I increase the samples to 27 I cannot get packets at the base.) Any help would be really appreciable. Thanks a lot in advance My Best Regards MM - Mr Marios Milis Project Manager, SignalGeneriX Ltd Maximos Court, Block B 3rd Floor Leontiou A P.O.Box 51341 3504 Limassol Cyprus Telephone: +357 25870072 Fax: +357 25870076 Email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.signalgenerix.com/ www.signalgenerix.com - This message and any files transmitted with this email are legally privileged and intended for the sole use of the individual(s) to whom they are addressed. Access to this e-mail by anyone else is unauthorised, and any disclosure, copying, distribution or other use of this e-mail is prohibited and may be unlawful. We will not under any circumstances have any responsibility or liability arising out of or in connection with any unauthorised use of this e-mail. Please notify the sender if you have received this in error. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Sending and Recieving Range in MICAz motes
Hi Nagaraj, If by separate range you mean wether it is possible to change the range of the radio link: yes, you can dynamically change the TX power of the radio. If you are using TinyOS-2.x, have a look at the setPower() function defined for the CC2420Packet interface. Cheers, Urs Nagaraj H K schrieb: Hi, we are using crossbow MICAz motes.Is there a separate range(by range i mean the physical distance between two motes) for motes while sending and recieving messages?If so,how to achieve them? Thanks, Nagaraj ___ 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] TOSSIM
Santosh, If u have a look at the topology file, u'll find the coordinates of node 0, node 1 and so on. e.g., coordinates of node 0 are (0,0), those of node 1 are (40,0)in fact u can change the file that I sent to create ur own topology, and then only run the LossyBuilder to generate the bit error probabilities. On 4/4/07, santosh bhima [EMAIL PROTECTED] wrote: I have created the network using tht lossy builder.but how to place each node in a position i want it to be On 4/3/07, Bibudh Lahiri [EMAIL PROTECTED] wrote: Santosh, Please see the attached files. You can create a topology file with the cooridinates of all the n nodes in ur network. Now u can generate a bit error probablity for all the n^2 node pairs (following a Gaussian probablity distribution) by creating a lossy radio model with this topology with the following command: java net.tinyos.sim.LossyBuilder -i topology -o radiomodel.nss Now, to use the radiomodel.nss file as the radio model for ur application, run it with build/pc/main.exe -rf=radiomodel.nss no_of_nodes If u don't create ur own radio model file, TOSSIM takes a file named lossy.nss by default. U can also go thru the doc http://www.cs.berkeley.edu/~pal/pubs/nido.pdf by Philip if u want to know everything in detail. Bibudh On 4/3/07, santosh bhima [EMAIL PROTECTED] wrote: I need a help in Tossim.how to create a network in the way(positioning the nodes at some co-ordinates) we want and make the communication occur. ___ 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
[Tinyos-help] Damaged Mote
I've never had a damaged mote before, so I want to confirm with someone. It is a Mica2 Mote. TinyOS 1.15; Cygwin/Windows XP. I'm using the MIB500. When I send uisp commands on this particular mote I get: pulse An error has occurred druing the AVR initialization. * Target status: Vender Code= 0xff, Part Family = 0xff, Part Number = 0xff Probably the wiring is incorrect or target might be `damaged'. All the other motes work fine except for occasional read errors, which have been anything from gremlins that require an erase and a few tries to get it to catch to wiggling the cable and unplugging the reader to get it to work again. -- The difference between the right word and the almost right word is really a large matter- it's the difference between a lightning bug and the lightning. -Twain ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to set the digital output pins of mda320??
Hello I have just arrived to the list. I'm working with the adquisition card mda320 of crossbow. I'd like to know how set the value of the digital output pins... the software given with the moteworks, named XMDA320.nc and XMDA320M.nc is able to read these bits, but I am really interesting in write them. I have checked the SamplerM.nc module, and I have seen that the set_digital_output method is empty... looks like you should use the Dio component, and I tried to include in XMDA320, but I did not work. I don't know if the solution is to fill the set_digital_output in SamplerM but I don't know how to compile the tinyos libraries when the changes are done. Can someone help me? Any kind of help will be grateful. Greetings ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Sequence sampling throught the MSP430ADCMultiple interface
Hi all, I'm using Tmote Sky. Does anyone know how to sample the ADC channels in a sequence on Tmote? It should be possible through the MSP430ADCMultiple interface, but one instance of the interface is binded to one channel. So how would you sample all channels in a sequence with the getDataRepeat() command. Thank you, Chougna ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TOSSIM questions.
Hey, Before I begin to learn TOSSIM, I have a question: is TOSSIM able to simulate the physical position of each mote (e.g. each node in TOSSIM has a 2D or 3D coordinate)? Another question: if there is a physic position for each sensor mote, can I set the node with sensing range in this coordinate system? Thanks a lot! Hui ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] LabView Crossbow Drivers
Hi, I was just wanting to find out if anyone had used the Labview drivers for talking to Crossbow nodes running XMesh (can be found here: http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230ECF). I'm thinking of using it as a basis for my own applications, but may end up taking the Java route (I'm not very experienced in either language). I can't tell if it offers any more than the MoteView application, which wasn't great. Any opinions/experiences would be greatly appreciated. Thanks, Michael Collett ** Wireless Communications Enabling Metrology Division National Physical Laboratory Hampton road Teddington United Kingdom TW11 0LW 0208 943 6771 www.npl.co.uk ** --- This e-mail and any attachments may contain confidential and/or privileged material; it is for the intended addressee(s) only. If you are not a named addressee, you must not use, retain or disclose such information. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses. NPL Management Ltd. Registered in England and Wales. No: 2937881 Registered Office: Serco House, 16 Bartley Wood Business Park, Hook, Hampshire, United Kingdom RG27 9UY --- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] cygwin and Moteworks
Which version of TinyOS do you currently have? MoteWorks does provide interoperability with TinyOS 1.1.10. If you have TOS-1.x and haven't updated to the latest version of Cygwin, you may choose to select the option of update the existing Cygwin. You can then make use of settos and usetos scripts to switch back and forth between tinyos-1.x and moteworks trees. Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boushra MAALA Sent: Wednesday, April 04, 2007 7:40 AM To: Tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] cygwin and Moteworks hi in fact,i have installed tinyos.1 and i want to install moteworks , but when i try to install moteworks, i have a message to uninstall the cygwin that i have before, and reinstall the cygwin which is with moteworks, So, my problem is the following: if i reinstall cygwin which is with moteworks instead of the old one which i have installed with tinyos.1 , i can not use the apps which are installed with tinyos1 before. So, anyone has an idea what can i do for keeping the adventage of the two. thank you 8:00? 8:25? 8:40? Find a flick http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail#news in no time with theYahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail#news ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] LabView Crossbow Drivers
These LabVIEW drivers provide middleware functionality by parsing/converting raw packets coming over serial port. You still have to write client tier app code to display this data in the form of graphs, data grid etc. For LabVIEW users, this saves the time of having to deal with the data at byte level. There is still some effort required to make it like MoteView. What additional features are you looking for that you didn't find in MoteView application? Regards, Giri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Collett Sent: Wednesday, April 04, 2007 9:12 AM To: TinyOS Help (E-mail) Subject: [Tinyos-help] LabView Crossbow Drivers Hi, I was just wanting to find out if anyone had used the Labview drivers for talking to Crossbow nodes running XMesh (can be found here: http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=1FB6 6B354ED149C7E0440003BA230ECF). I'm thinking of using it as a basis for my own applications, but may end up taking the Java route (I'm not very experienced in either language). I can't tell if it offers any more than the MoteView application, which wasn't great. Any opinions/experiences would be greatly appreciated. Thanks, Michael Collett ** Wireless Communications Enabling Metrology Division National Physical Laboratory Hampton road Teddington United Kingdom TW11 0LW 0208 943 6771 www.npl.co.uk ** --- This e-mail and any attachments may contain confidential and/or privileged material; it is for the intended addressee(s) only. If you are not a named addressee, you must not use, retain or disclose such information. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses. NPL Management Ltd. Registered in England and Wales. No: 2937881 Registered Office: Serco House, 16 Bartley Wood Business Park, Hook, Hampshire, United Kingdom RG27 9UY --- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel p ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help - Tossim with mica2 CC1000 radio
Hi, I am doing some code testing using TOSSIM, it ran fine before I add in this line into makefile because I want to use CC1000 radio code to control power. PFLAGS += -I%T/platform/pc/CC1000Radio After I add in this line, all the packet cannot be received from serial-forwarder through simulated Tossim port. Please help me on this, thank you! Best regards, Aaron ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] cygwin and Moteworks
hi Giri, i have tinyos1.1.10 , in fact, i have installed the tinyos before the Moteworks , so when i tried to install Moteworks i have a message of two things : 1 install new cygwin in new location 2 update the cygwin that you have i selected the second, and i have continued until i have a message that the installation of Moteworks is complete But, when i open the opt of cygwin, i do not see any moteworks and when i tried to open it by using PN2 , i have seen directory moteworks which is empty( i could not see the moteworks trees). i do not know if there is something false? you said that i can make use of settos and usetos scripts to switch back and forth between tinyos-1.x and moteworks trees. can you explain that more in details if it is possible ? note: i install tinyos et Moteworks by using two CDs one for each one of them. thank you for your help Giri Baleri [EMAIL PROTECTED] wrote: Which version of TinyOS do you currently have? MoteWorks does provide interoperability with TinyOS 1.1.10. If you have TOS-1.x and haven't updated to the latest version of Cygwin, you may choose to select the option of update the existing Cygwin. You can then make use of settos and usetos scripts to switch back and forth between tinyos-1.x and moteworks trees. Giri - From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boushra MAALA Sent: Wednesday, April 04, 2007 7:40 AM To: Tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] cygwin and Moteworks hi in fact,i have installed tinyos.1 and i want to install moteworks , but when i try to install moteworks, i have a message to uninstall the cygwin that i have before, and reinstall the cygwin which is with moteworks, So, my problem is the following: if i reinstall cygwin which is with moteworks instead of the old one which i have installed with tinyos.1 , i can not use the apps which are installed with tinyos1 before. So, anyone has an idea what can i do for keeping the adventage of the two. thank you - 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-Help] Compilation error
hello Whenever i am compiling my application with the syntax: make pc i get the error : make***: No rule to make target pc: stop. I have checked makerule file but i am not getting where is the mistake. Please tell me if their are some changes which are required to compile a application on pc. Do we need to change makefile of the application please help, its urgent. thx in advance regards pooja _ Sign in and get updated on all the action from Formula One http://content.msn.co.in/Sports/FormulaOne/Default ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-Help] Compilation error
If you're using T2 I think they changed the target name, but I don't remember to what...search on this list or google... MS pinku bajpai wrote: hello Whenever i am compiling my application with the syntax: make pc i get the error : make***: No rule to make target pc: stop. I have checked makerule file but i am not getting where is the mistake. Please tell me if their are some changes which are required to compile a application on pc. Do we need to change makefile of the application please help, its urgent. thx in advance regards pooja _ Sign in and get updated on all the action from Formula One http://content.msn.co.in/Sports/FormulaOne/Default ___ 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] what is the meaning of if(value 1) - - help me out
Hi all, I m a Newbie working on telosb motes of Crossbow. Using TinyOS1.x I am working on a task how to detect the light sensor and a code from apps/sense. Here is the code, I cannot understand the meaning of the statement if (value 1) call Leds.yellowOn(); result_t display(uint16_t value) { if (value 1) call Leds.yellowOn(); else call Leds.yellowOff(); if (value 2) call Leds.greenOn(); else call Leds.greenOff(); if (value 4) call Leds.redOn(); else call Leds.redOff(); return SUCCESS; } Please help me out. Thanks Vasudha - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] what is the meaning of if(value 1) - - help me ou
It means the least significant bit is 1 (I hope u know the binary representations of 1, 2 and 4 are 001, 010 and 100 respectively). So value 2 means the second least significant bit is 1, value 4 means the third least significant bit is 1...so on... On 4/4/07, Vasudha K [EMAIL PROTECTED] wrote: Hi all, I m a Newbie working on telosb motes of Crossbow. Using TinyOS1.x I am working on a task how to detect the light sensor and a code from apps/sense. Here is the code, I cannot understand the meaning of the statement if (value 1) call Leds.yellowOn(); result_t display(uint16_t value) { if (value 1) call Leds.yellowOn(); else call Leds.yellowOff(); if (value 2) call Leds.greenOn(); else call Leds.greenOff(); if (value 4) call Leds.redOn(); else call Leds.redOff(); return SUCCESS; } Please help me out. Thanks Vasudha -- No need to miss a message. Get email on-the-go http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail%0A with Yahoo! Mail for Mobile. Get started.http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail%0A ___ 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] Call for Participation: TinyOS Technology Exchange
The Fourth International TinyOS Technology Exchange (TTX4) will be held at MIT on Saturday, April 28th. http://tinyos.stanford.edu/ttx/2007/ The TTX is a yearly venue where developers, users, and companies involved in low-power wireless sensing get together to talk about recent developments and future directions. The focus of this year's meeting is the formation of the TinyOS Alliance, a non-profit organization designed to provide a structure to better support collaboration in achieving technical excellence. The TinyOS Alliance Steering Committee encourages anyone who is interested in, using, exploring or advancing TinyOS-based technologies to attend. There will be reports from the six existing TinyOS working groups, a session on new working group formation, and a series of interesting panels that bring industry and academia together to discuss the important challenges ahead. The focus of the event is ultimately on the community, its innovations, and its work, and so there are three ways to participate and share your accomplishments: 1) The contributions session. The session will begin with the contribution czars, Kevin Klues and Martin Leopold, talk about how you can bring your code into TinyOS for others to easily download, use, and extend. The majority of the session will be two-slide, three- minute presentations from members of the community describing work they've done and which others can use. All you need to do is bring your slides and get up to the microphone. Contributions to any version of TinyOS (pre-1.0, 1.0, 1.1, 2.0) are welcome. 2) The demo session. If you've built a new application, a new platform, have new technology or new research ideas that you want to demonstrate to the TinyOS community, this is a great forum for doing so. To register a demo, please email the demo chair, Lewis Girod (girod at nms.csail.mit.edu). 3) The working group formation session. Is there an area that you think bringing interested parties together to collaborate would help advance research and technology? This session provides an opportunity to present proposals for new working groups to the community, in order to gather support, interest, and momentum. The Steering Committee has recognized two working groups it thinks would be beneficial to form; if you have an idea, just have a few slides to let people know.[1] In addition to all of these sessions, the TTX4 will have the next release of TinyOS 2.0 (2.0.1), which will include a large number of advancements, including robust low-power operation for micaz and telos-family nodes, improved sensor board support, a beta version of network reprogramming, and a new way to very easily install TinyOS. The event is free for students, and has a $50 registration fee for non-students; this fee is to cover costs for the coffee breaks and lunch which will be served. On behalf of the TinyOS Steering Committee, the local organizer Matt Welsh, and the demo chair Lewis Girod, we all look forward to seeing you there. Phil [1] http://www.tinyos.net/scoop/special/working_groups ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] what is the meaning of if(value 1) - - help me ou
just to beat the twitching horse... here means bit-wise AND, so if bit 0 in value is a 1 the value1 test is true It would have been nice to have a space before the number (v 1) and even put the number in hex so it's a bit more obvious. It does look like 4 is some kind of secret handshake thing... MS Bibudh Lahiri wrote: It means the least significant bit is 1 (I hope u know the binary representations of 1, 2 and 4 are 001, 010 and 100 respectively). So value 2 means the second least significant bit is 1, value 4 means the third least significant bit is 1...so on... On 4/4/07, *Vasudha K* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I m a Newbie working on telosb motes of Crossbow. Using TinyOS1.x I am working on a task how to detect the light sensor and a code from apps/sense. Here is the code, I cannot understand the meaning of the statement if (value 1) call Leds.yellowOn(); result_t display(uint16_t value) { if (value 1) call Leds.yellowOn(); else call Leds.yellowOff(); if (value 2) call Leds.greenOn(); else call Leds.greenOff(); if (value 4) call Leds.redOn(); else call Leds.redOff(); return SUCCESS; } Please help me out. Thanks Vasudha No need to miss a message. Get email on-the-go http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail%0A with Yahoo! Mail for Mobile. Get started. http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail%0A ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU mailto:Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 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
[Tinyos-help] Error in Readings
Hi, I am using tmote sky and trying to measure pressure using a pressure sensor. I am reading the V+ and V- from sensor using two adc channels. The problem is that if I do subtraction in the program I am getting different values that is in one case I am receiving two values of both channels and then I am doing subtraction in Matlab while in the other case I am subtracting the two channels in the code and receiving only the difference.The difference in values is 4-5 units like 1590.0 8.0 1591.0 8.0 1592.0 8.0 1593.0 11.0 1594.0 8.0 1595.0 9.0 1596.0 8.0 1597.0 8.0 Two channel case: Ch1 4680.0 3951.0 4681.0 3950.0 4682.0 3951.0 4683.0 3952.0 4684.0 3950.0 4685.0 3953.0 Ch2: 4680.0 3939.0 4681.0 3939.0 4682.0 3938.0 4683.0 3940.0 4684.0 3941.0 4685.0 3939.0 Differnce: 11 10 12 11 9 14 - I am not able to find what is the problem. I am sampling in using case statement like: module OscilloscopeTmoteSkyM { provides interface StdControl; uses { interface Timer; interface Leds; interface SplitControl as HumidityControl; interface ADC as Humidity; //interface ADC as Temperature; interface ADC as TSR; interface ADC as PAR; interface ADC as InternalTemperature; //interface ADC as InternalVoltage; interface ADC as Pressure; interface ADC as Pressure2; interface ADCControl; interface Oscope as OHumidity; //interface Oscope as OTemperature; interface Oscope as OTSR; interface Oscope as OPAR; interface Oscope as OInternalTemperature; interface Oscope as OPressure; interface Oscope as OPressure2; interface ADCError as HumidityError; interface ADCError as TemperatureError; } } implementation { enum { OSCOPE_DELAY = 1, }; enum { HUMIDITY, TEMPERATURE, TSRSENSOR, PARSENSOR, ITEMP, IVOLT }; norace uint16_t humidity, temperature, tsr, par, itemp, ivolt; norace int state; /** * Used to initialize this component. */ command result_t StdControl.init() { call Leds.init(); call Leds.set(0); state = HUMIDITY; call ADCControl.init(); call ADCControl.bindPort( TOS_ADC_prs_PORT, TOSH_ACTUAL_ADC_prs_PORT ); call ADCControl.init(); call ADCControl.bindPort( TOS_ADC_prs2_PORT, TOSH_ACTUAL_ADC_prs2_PORT ); //turn on the sensors so that they can be read. call HumidityControl.init(); return SUCCESS; } event result_t HumidityControl.initDone() { return SUCCESS; } /** * Starts the SensorControl component. * @return Always returns SUCCESS. */ command result_t StdControl.start() { call HumidityControl.start(); return SUCCESS; } event result_t HumidityControl.startDone() { call HumidityError.enable(); call TemperatureError.enable(); call Timer.start( TIMER_ONE_SHOT, 250 ); return SUCCESS; } /** * Stops the SensorControl component. * @return Always returns SUCCESS. */ command result_t StdControl.stop() { call HumidityControl.stop(); call Timer.stop(); return SUCCESS; } event result_t HumidityControl.stopDone() { call HumidityError.disable(); call TemperatureError.disable(); return SUCCESS; } event result_t Timer.fired() { // set a timeout in case a task post fails (rare) call Timer.start(TIMER_ONE_SHOT, 100); switch(state) { case HUMIDITY: call Humidity.getData(); break; case TEMPERATURE: call Pressure2.getData(); break; case TSRSENSOR: call TSR.getData(); break; case PARSENSOR: call PAR.getData(); break; case ITEMP: call InternalTemperature.getData(); break; case IVOLT: call Pressure.getData(); break; default: call Timer.start(TIMER_ONE_SHOT, 10); } return SUCCESS; } task void putHumidity() { call OHumidity.put(humidity); call Leds.yellowOn(); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } task void putTemperature() { if(temperature=ivolt) {call OPressure2.put(temperature-ivolt);} if(temperatureivolt) {call OPressure2.put(ivolt-temperature);} call Leds.greenOn(); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } task void putTSR() { call OTSR.put(tsr); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } task void putPAR() { call OPAR.put(par); call Leds.redOn(); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } task void putIntTemp() { call OInternalTemperature.put(itemp); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } task void putIntVoltage() { call OPressure.put(ivolt); call Leds.set(0); call Timer.start(TIMER_ONE_SHOT, OSCOPE_DELAY); } async event result_t Humidity.dataReady(uint16_t data) { humidity = data; post putHumidity(); state = TEMPERATURE; return SUCCESS; } event
[Tinyos-help] Do I need use Hamamatsu inferface for light sensor - -help me
Hi all Hi all, I m a Newbie working on telosb motes of Crossbow. Using TinyOS1.x I am working on a task how to detect the light sensor and produce a beep sound if there is a significant change in the light. Do I need use Hamamatsu inferface for detecting light sensor. I m using sounder interface to produce beep sound. Is this correct .. module SenseM { provides { interface StdControl; } uses { interface Timer; interface ADC; interface StdControl as ADCControl; interface StdControl as SounderControl; interface Leds; } } implementation { // declare module static variables here /** * Module scoped method. Displays the lowest 3 bits to the LEDs, * with RED being the most signficant and YELLOW being the least significant. * * @return returns codeSUCCESS/code **/ // display is module static function result_t display(uint16_t value) { if (value 1) call Leds.yellowOn(); else call Leds.yellowOff(); if (value 2) call Leds.greenOn(); else call Leds.greenOff(); if (value 4) call Leds.redOn(); else call Leds.redOff(); return SUCCESS; } /** * Initialize the component. Initialize ADCControl, Leds * * @return returns codeSUCCESS/code or codeFAILED/code **/ // implement StdControl interface command result_t StdControl.init() { return call Leds.init(); } /** * Start the component. Start the clock. * * @return returns codeSUCCESS/code or codeFAILED/code **/ command result_t StdControl.start() { return call Timer.start(TIMER_REPEAT, 300); } /** * Stop the component. Stop the clock. * * @return returns codeSUCCESS/code or codeFAILED/code **/ command result_t StdControl.stop() { return call Timer.stop(); } /** * Read sensor data in response to the codeTimer.fired/code event. * * @return The result of calling ADC.getData(). **/ event result_t Timer.fired() { return call ADC.getData(); } /** * Display the upper 3 bits of sensor reading to LEDs * in response to the codeADC.dataReady/code event. * @return Always returns codeSUCCESS/code **/ // ADC data ready event handler async event result_t ADC.dataReady(uint16_t data) { display(7-((data7) 0x7)); return SUCCESS; } } Please help me out Thanks Vasudha - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Adding new fields to tinyos header (re-framed question)
Hi, I have to add new fields to the tinyos header for telos motes in tinyos-1.x. When I try to modify TOS_Msg in AM.h (for telos motes), I can only go up to adding 2 more bytes to the default header. If I try to add any more fields, sending msg encounters failure. The header size is calculated in AM.h itself, so I don't understand why I cannot add more fields to the header. Is there some max header size defined for CC2420 somehwere which I could increase? thanks, Abhishek -- All you need in life is ignorance and confidence, and then success is sure. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help