Re: [Tinyos-help] Oscilloscope single mote multiple channel display
Hi, thanks for the help! I'm currently using TinyOS-1.x though, I'm still learning nesC and need more detailed explanations on how to assign different channel numbers to each sensor. Where exactly do I alter/add these channel numbers ? Thanks On 5/21/07, Firat TARAKTAS [EMAIL PROTECTED] wrote: Hi, If you use TinyOS-1.x, you can achieve it with assigning different channel numbers to each sensor. Oscilloscope application shows the mote id and channel to eparate each sensor readings. If you use T2, i wonder the answer and i want to know it. Because in osilloscope application, there is no channel number. Firat TARAKTAS ElectricalElectronics Engineer Reseracher *GENETLAB INFORMATION TECHNOLOGIES** *Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] www.genetlab.com -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ferry Cialis *Sent:* Monday, May 21, 2007 11:44 AM *To:* Tinyos-help@Millennium.Berkeley.EDU *Subject:* [Tinyos-help] Oscilloscope single mote multiple channel display Hello, I'd like to know whether it is possible for Oscilloscope java application to display multiple sensor readings from a single mote? For instance, I have a sensor board which has accelerometer-x, accelerometer-y and temperature sensors. The sensor board is mounted onto a single mote. Can the Oscilloscope application display multiple sensor channels from the setup? I've tried displaying multiple channels before but it requires multiple motes, each mote corresponding to one channel but it's not efficient and quite wasteful to have many motes if I can use just one mote to display multiple readings. Thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Oscilloscope single mote multiple channel display
Hi, In the beginning, i have to warn you that you should understand what you did. Assume you have X and Y sensors. 1. modify this part in OsciloscopeM.nc; uint8_t packetReadingNumber; uint16_t readingNumber; TOS_Msg msg[2]; uint8_t currentMsg; to, uint8_t XpacketReadingNumber; uint16_t XreadingNumber; TOS_Msg Xmsg[2]; uint8_t XcurrentMsg; uint8_t YpacketReadingNumber; uint16_t YreadingNumber; TOS_Msg Ymsg[2]; uint8_t YcurrentMsg; And you have to modify whole code in OscilloscopeM.nc to differentiate the X and Y sensor readings and their reading numbers. 2. In OscilloscopeM.nc file, double the task named dataTask as XdataTask and YdataTask. For XdataTask, assign channel 1 and for YdataTask assign channel 2. (Of course you can change the numbers.) task void XdataTask() { struct OscopeMsg *pack; atomic { pack = (struct OscopeMsg *)msg[currentMsg].data; packetReadingNumber = 0; pack-lastSampleNumber = readingNumber; } pack-channel = 1; pack-sourceMoteID = TOS_LOCAL_ADDRESS; 3. When you read X sensor and Y sensor, call XdataTask and YdataTask respectively. 4. You have to double the ADC interfaces in OscilloscopeM.nc (If you sample X and Y sensor readings from ADC) interface ADC as ADC1; interface ADC as ADC2; 5. Combine them ADC1 and ADC2 interfaces to appropriate ADC channels in Oscilloscope.nc It needs more dealing and if you don't understand the modification, it gets confusing. I am looking forward to hearing good news. Enjoy the day, Firat TARAKTAS ElectricalElectronics Engineer Reseracher GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.genetlab.com http://www.genetlab.com/ From: Ferry Cialis [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 9:28 AM To: Firat TARAKTAS Cc: Tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Oscilloscope single mote multiple channel display Hi, thanks for the help! I'm currently using TinyOS-1.x though, I'm still learning nesC and need more detailed explanations on how to assign different channel numbers to each sensor. Where exactly do I alter/add these channel numbers ? Thanks On 5/21/07, Firat TARAKTAS [EMAIL PROTECTED] wrote: Hi, If you use TinyOS-1.x, you can achieve it with assigning different channel numbers to each sensor. Oscilloscope application shows the mote id and channel to eparate each sensor readings. If you use T2, i wonder the answer and i want to know it. Because in osilloscope application, there is no channel number. Firat TARAKTAS ElectricalElectronics Engineer Reseracher GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.genetlab.com http://www.genetlab.com/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ferry Cialis Sent: Monday, May 21, 2007 11:44 AM To: Tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Oscilloscope single mote multiple channel display Hello, I'd like to know whether it is possible for Oscilloscope java application to display multiple sensor readings from a single mote? For instance, I have a sensor board which has accelerometer-x, accelerometer-y and temperature sensors. The sensor board is mounted onto a single mote. Can the Oscilloscope application display multiple sensor channels from the setup? I've tried displaying multiple channels before but it requires multiple motes, each mote corresponding to one channel but it's not efficient and quite wasteful to have many motes if I can use just one mote to display multiple readings. Thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Motes stopped transmitting
Hello Mr.Schippling and other friends I checked the TOSBase code and all the hardware and they are working fine. I programmed it such that they are working at the same frequencey. Infact I used another computer with tinyos-1.x installed on it and ran the tests. It worked on that computer. But tinyos-1.x on my computer still gives problems. I still cannot make my motes transmit data. I checked all the files, Makefiles etc with the ones on the other computer. They are the same. Then why is it that the motes are not transmitting when programmed using my laptop but work fine when programmed using another computer. Both these machines are linux machines. Do you think I may have to reinstall tinyos-1.x? I fear doing this because I had a lot of trouble installing it earlier. Eagerly waiting for a reply Thanking You Ali On 5/16/07, Michael Schippling [EMAIL PROTECTED] wrote: I'd expect that something has gone wrong with your TOSBase code, or the basestation hardware, rather than _all_ the motes. Start by checking each component. And make sure you use the same freq in all your compiles...you can put that CFLAGS define in the Makelocal file so you don't have to type it each time. Or perhaps you have changed the default transmit power...I haven't gotten to the bottom of it but I don't see where RADIO_XMIT_POWER gets set in the standard apps tree, only in the contrib/xbow tree. The simplest test code I know of is apps/MicaHWVerify which will tell you if your serial connection is working, as well as extending to the radio via a TOSBase. MS Ali Mir wrote: Hello friends, Yesterday I was working with mica2 motes on Tinyos-1.x and I found out that my mica2 motes stopped transmitting data. It seems the radio stopped working on all the 4 motes I have. I think the motes are getting programmed incorrectly. I had no such problem earlier. Do you think there is any problem in the tinyos-1.x installation? This seems wierd to me as they were working fine until a day before. And I am sure I did not change any settings or files in the tinyos-1.x installation directory. Can anyone help me out of this. I used the following commands to program my motes. I am working on SUSE-10.2 and tinyos-1.x. make mica2 install.0 mib510,/dev/ttyS4 and CFLAGS=-DCC1K_DEF_FREQ=91640 make mica2 install.1 mib510,/dev/ttyS4 The TOSBase programmed mote base station doesnt respond ( The green LED must toggle each time a packet is received) when I have another mote nearby transmitting packets. This mote is programmed with CntToLedsAndRfm code. I even tried Oscilloscope program and few of my own codes. Nothing seems to work. I tried all the motes I have for the base station and the transmitting mote. I ran a serial forwarder and Listen.java code to listen. Thanking You Ali ___ 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] what's the Channel mean in OscopeMsg.h
yes these r the variouis channels for transreceiving in oscope , they have just enumerated the AMSCOPEMSG . so the receiver knows that if it receives a packet which has a packet type 10, it knows it is AMSCOPEMSG. u can have the packet type of ur desire.take care that the number u r choosing is not the same as some other packet type which is being transmitted. u have to decide ur packet structure On 5/22/07, Chan kenniel [EMAIL PROTECTED] wrote: Dear all, does it mean the number of channels for forwarding a packet? or it means the channel number for a packet? Plus, can anyone tell me, if I create my own message, which part is neccessary? since in oscopeMsg.h , i don't quite get all those parameter's usage. like AMOSCOPEMSG=10 , what's this -- Best wishes, Kenneth Chan Wish you have a good day! ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Sougata Sen Bangalore ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] motes Address
Hi!! I would like to know how can I change a mote address. I know I must use the component ActiveMessageAddresC and its command setAmAddress but I don't know how. I've tried to add components SerialActiveMessageC,ActiveMessageAddressC; into my *AppC.nc file and use it into the implementation file, but it doesn't compile. Someone can tell me how to make it run? Thanks in advance -- Nunca confies en un S.O. del que no tienes código fuente ;-) Javier Almansa Sobrino. Ingeniero Técnico en Sistemas. Grupo de Investigación ARCo. Escuela Superior de Informática. Ciudad Real Tel: (+34)926 29 53 00 Ext: 3705 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] motes Address
On 5/22/07, Javier Almansa Sobrino [EMAIL PROTECTED] wrote: Hi!! I would like to know how can I change a mote address. I know I must use the component ActiveMessageAddresC and its command setAmAddress but I don't know how. I've tried to add components SerialActiveMessageC,ActiveMessageAddressC; into my *AppC.nc file and use it into the implementation file, but it doesn't compile. Someone can tell me how to make it run? Thanks in advance There is a discussion on the list about this that started yesterday I think. Romain ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Fwd: [Tinyos-help] Plzz unsubscribe me from the mailing list
Hi I am unable to unsubscribe myself from the mailing list. plzz remove my name from the mailing list. can any body tell me how to unsubscribe !! Please inform me. Thanks. -- sathiya Note: forwarded message attached. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 hot CTA = Join Yahoo!'s user panel---BeginMessage--- Hi I am unable to unsubscribe myself from the mailing list. plzz remove my name from the mailing list. can any body tell me how to unsubscribe !! Please inform me. Thanks. -- Supratik Dey mob:- 09433396702 email:[EMAIL PROTECTED] ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help---End Message--- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Plzz unsubscribe me from the mailing list
Mostly you find help from the FAQ: To set a subscription to not receive mail, go to the tinyos-help list's info page: http://mail.millennium.berkeley.edu/mailman/listinfo/tinyos-help . Scroll down to the bottom of the page where you'll see a text field next to a button that says 'Unsubscribe or Edit Options'. Follow the directions and put the email address that you'd like to configure to receive no mail and click the button. On the configure page, set the Mail Delivery to 'Disabled' by checking the 'Disabled' checkbox. To make this change permanent, click the Submit My Changes button at the bottom of the page. Regards, Harri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sat Sari Sent: Tuesday, May 22, 2007 3:12 PM To: Tinyos-help@Millennium.Berkeley.EDU Subject: Fwd: [Tinyos-help] Plzz unsubscribe me from the mailing list Hi I am unable to unsubscribe myself from the mailing list. plzz remove my name from the mailing list. can any body tell me how to unsubscribe !! Please inform me. Thanks. -- sathiya Note: forwarded message attached. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo _panel_invite.asp?a=7 hot CTA = Join Yahoo!'s user panel ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Connecting LCD Panel to TMote Sky
Hello, I am planning to interface an LCD Panel to the expansion connectors of TMote Sky. Can someone suggest me how to go about connecting it and programming the mote to display some printf statements. Preethi ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Connecting LCD Panel to TMote Sky
The only thing I can tell you is to try the I2C interface. There should be displays with this interface on the market. Here they are about 2 dollars each. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Preethi Naveen Sent: dinsdag 22 mei 2007 16:35 To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Connecting LCD Panel to TMote Sky Hello, I am planning to interface an LCD Panel to the expansion connectors of TMote Sky. Can someone suggest me how to go about connecting it and programming the mote to display some printf statements. Preethi ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TOS_LOCAL_ADDRESS
Just one question. I know that TOS_LOCAL_ADDRESS is the local address of the mote, that means, I guess, the ID number n defined in make telosb reinstall,n Can you confirm this meaning? ANd if yes, from a programmer point of view, where and how the component reads its TOS_LOCAL_ADDRESS?? Thanks for your help, Daniele ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOS_LOCAL_ADDRESS
On Tue, 22 May 2007 16:59:52 +0200 (CEST) Daniele Frosali [EMAIL PROTECTED] wrote: Just one question. I know that TOS_LOCAL_ADDRESS is the local address of the mote, that means, I guess, the ID number n defined in make telosb reinstall,n Can you confirm this meaning? ANd if yes, from a programmer point of view, where and how the component reads its TOS_LOCAL_ADDRESS?? Hi. I was going to ask somewhat about this topic just now. I think if you want to know your local address at running time, you only have to read the global variable TOS_LOCAL_ADDRESS into your code. The question(s) I have: What's exactly the difference between local adress, node id and group? Why I'm trying to program my mica2 with make install.0x0001 mica2 mib510,/dev/ttyS1 and I obtain this message: Could not find symbol ActiveMessageAddressC$addr in build/mica2/main.exe, ignoring symbol. Could not find symbol TOS_NODE_ID in build/mica2/main.exe, ignoring symbol. ? and how can I chage the mote address at run time? (I know there's other thread about this topic yesterday ago, but it doesn't work on my :( ) sorry for the amount of questions, but I'm new with tinyOS and I've looking for documentation days ago P.D: I'm using tinyOS 2.x Thanks for your help, Daniele ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Nunca confies en un S.O. del que no tienes código fuente ;-) Javier Almansa Sobrino. Ingeniero Técnico en Sistemas. Grupo de Investigación ARCo. Escuela Superior de Informática. Ciudad Real Tel: (+34)926 29 53 00 Ext: 3705 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] SerialForwarder display write failed with MIB600
The MIB600 uses port 10002 to read serial data from Motes and hence the correct parameters should be .. network@ip_address:10002 Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of projet19 projet19 Sent: Monday, May 21, 2007 10:58 AM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] SerialForwarder display write failed with MIB600 Hello, We are actually working on MIB600 programming board with MICAz Motes. When we try to run Surge app, we have a problem. Indeed, first we export the environment variable with export [EMAIL PROTECTED]:9001 Then, we launch SerialForwarder with: java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:10001 Finally we launch surge application with the command: java net.tinyos.surge.MainClass 125 So when we click on start beacon packet we can see the Packet Writing indicator incrementing, but in each packet send, SerialForwarder display on its GUI App the message: write failed. Can anybody help us? Thank you very much, Best regards, Tony GOMES and Ahmed DEHBI PS : Ofcourse, we have programed one mote with GenericBase program, and two motes with surge app, succesfuly... Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://us.rd.yahoo.com/evt=48224/*http://sims.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_LOCAL_ADDRESS
On May 22, 2007, at 8:42 AM, Javier Almansa Sobrino wrote: On Tue, 22 May 2007 16:59:52 +0200 (CEST) Daniele Frosali [EMAIL PROTECTED] wrote: Just one question. I know that TOS_LOCAL_ADDRESS is the local address of the mote, that means, I guess, the ID number n defined in make telosb reinstall,n Can you confirm this meaning? ANd if yes, from a programmer point of view, where and how the component reads its TOS_LOCAL_ADDRESS?? Hi. I was going to ask somewhat about this topic just now. I think if you want to know your local address at running time, you only have to read the global variable TOS_LOCAL_ADDRESS into your code. The question(s) I have: What's exactly the difference between local adress, node id and group? Why I'm trying to program my mica2 with make install.0x0001 mica2 mib510,/dev/ttyS1 and I obtain this message: Could not find symbol ActiveMessageAddressC$addr in build/mica2/main.exe, ignoring symbol. Could not find symbol TOS_NODE_ID in build/mica2/main.exe, ignoring symbol. ? and how can I chage the mote address at run time? (I know there's other thread about this topic yesterday ago, but it doesn't work on my :( ) sorry for the amount of questions, but I'm new with tinyOS and I've looking for documentation days ago P.D: I'm using tinyOS 2.x TinyOS 2.x does not have a TOS_LOCAL_ADDRESS. It has TOS_NODE_ID. It also has a local AM address. While the two are technically distinct, in practice they are usually the same (make install.X will set both to be X). You are getting those two could not find symbol messages because your application does not use/access those variables. Because the nesC compiler removes dead variables and dead code, if no line of code accesses a variable then it is removed from the executable. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Connecting LCD Panel to TMote Sky
Thanks for the reply. I still have some doubt regarding this interfacing. Assuming i buy an I2C interface, what are the further steps to get it working? Like for example, if i have to blink LEDs, i can call Leds.Led0Toggle( ) and either switch on or switch off the red LED. So how do i do something similar for writing to pins of the LCD interface? Regards Preethi On 22/05/07, Oussama Chougna [EMAIL PROTECTED] wrote: The only thing I can tell you is to try the I2C interface. There should be displays with this interface on the market. Here they are about 2 dollars each. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Preethi Naveen *Sent:* dinsdag 22 mei 2007 16 javascript:void(0):35 *To:* tinyos-help@Millennium.Berkeley.EDU *Subject:* [Tinyos-help] Connecting LCD Panel to TMote Sky Hello, I am planning to interface an LCD Panel to the expansion connectors of TMote Sky. Can someone suggest me how to go about connecting it and programming the mote to display some printf statements. Preethi ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] how to fix the error failed to create temporary file in TinyOS 1.x ??
Hi, I am very new to this filed, wireless sensor networking and tinyOS programming. I am facing some problem while compiling the Blink program or any program from apps folder in Tmoteinvent environment...( i have installed tinyos1.xfrom Moteiv CD) Below is the error message i am getting. ** In file included from /opt/moteiv/tos/platform/msp430/timer/MSP430TimerC.nc:64, from /opt/moteiv/tos/platform/msp430/resource/MSP430ArbiterTime rAC.nc:28, from /opt/moteiv/tos/platform/msp430/resource/MSP430ResourceTim erAC.nc:23, from /opt/moteiv/tos/platform/msp430/timer/MSP430DCOCalibC.nc:2 1, from /opt/moteiv/tos/platform/tmote/PlatformC.nc:23, from /opt/moteiv/tos/lib/sched/Main.nc:73, from Blink.nc:42 http://blink.nc:42/: In component `MSP430TimerM': /opt/moteiv/tos/platform/msp430/timer/MSP430TimerM.nc:39: failed to create tempo rary file make: *** [exe0] Error 1 Some times i am getting this error message and sometimes not (compiling successfully)..Dont know why.? I think some one addressed this problem..@ https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-March/008410.html but it doesn't work and at the same time, i don't know in which folder of Cygwin, i have install the file nesc-1.1.2b-1.cygwin.i386.rpm in order to fix the problem.(don't know exactly whether this works or not)http://www.tinyos.net/dist-1.1.0/tinyos/windows/nesc-1.1.2b-1.cygwin.i386.rpm So please can any help me in order to fix the bug Failed to create the temporary file ? in tinyos 1.x in Tmoteinvent Environment. Thanks in advance. Best, Mahesh Satharla, Graduate Student, Univ of Memphis,TN. ___ 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 get a duty cycle from a pin
hi, everyone I am now using ADXL202 to measure the acceleration. The output of ADXL202 is encoded in duty cycle. And the output is connected to a pin of msp430 MCU. How can i get this duty cycle ? -- 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: [Tinyos-help] Oscilloscope single mote multiple channel display
Hello, Yeah it works now! Thank you for the clear instructions! I've managed to get many sensors to display on oscilloscope from single mote although there seems to be many data loss as seen from the graphs jerky movement and rough plots. I think that is because of data packet collisions from the different sensors when they are transmitting. Thank you so much for the help! On 5/22/07, Firat TARAKTAS [EMAIL PROTECTED] wrote: Hi, In the beginning, i have to warn you that you should understand what you did. Assume you have X and Y sensors. 1. modify this part in OsciloscopeM.nc; uint8_t packetReadingNumber; uint16_t readingNumber; TOS_Msg msg[2]; uint8_t currentMsg; to, uint8_t XpacketReadingNumber; uint16_t XreadingNumber; TOS_Msg Xmsg[2]; uint8_t XcurrentMsg; uint8_t YpacketReadingNumber; uint16_t YreadingNumber; TOS_Msg Ymsg[2]; uint8_t YcurrentMsg; And you have to modify whole code in OscilloscopeM.nc to differentiate the X and Y sensor readings and their reading numbers. 2. In OscilloscopeM.nc file, double the task named dataTask as XdataTask and YdataTask. For XdataTask, assign channel 1 and for YdataTask assign channel 2. (Of course you can change the numbers.) task void XdataTask() { struct OscopeMsg *pack; atomic { pack = (struct OscopeMsg *)msg[currentMsg].data; packetReadingNumber = 0; pack-lastSampleNumber = readingNumber; } *pack-channel = 1;* pack-sourceMoteID = TOS_LOCAL_ADDRESS; 3. When you read X sensor and Y sensor, call XdataTask and YdataTask respectively. 4. You have to double the ADC interfaces in OscilloscopeM.nc (If you sample X and Y sensor readings from ADC) interface ADC as ADC1; interface ADC as ADC2; 5. Combine them ADC1 and ADC2 interfaces to appropriate ADC channels in Oscilloscope.nc It needs more dealing and if you don't understand the modification, it gets confusing. I am looking forward to hearing good news. Enjoy the day, Firat TARAKTAS ElectricalElectronics Engineer Reseracher *GENETLAB INFORMATION TECHNOLOGIES** *Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] www.genetlab.com -- *From:* Ferry Cialis [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, May 22, 2007 9:28 AM *To:* Firat TARAKTAS *Cc:* Tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Oscilloscope single mote multiple channel display Hi, thanks for the help! I'm currently using TinyOS-1.x though, I'm still learning nesC and need more detailed explanations on how to assign different channel numbers to each sensor. Where exactly do I alter/add these channel numbers ? Thanks On 5/21/07, Firat TARAKTAS [EMAIL PROTECTED] wrote: Hi, If you use TinyOS-1.x, you can achieve it with assigning different channel numbers to each sensor. Oscilloscope application shows the mote id and channel to eparate each sensor readings. If you use T2, i wonder the answer and i want to know it. Because in osilloscope application, there is no channel number. Firat TARAKTAS ElectricalElectronics Engineer Reseracher *GENETLAB INFORMATION TECHNOLOGIES** *Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] www.genetlab.com -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ferry Cialis *Sent:* Monday, May 21, 2007 11:44 AM *To:* Tinyos-help@Millennium.Berkeley.EDU *Subject:* [Tinyos-help] Oscilloscope single mote multiple channel display Hello, I'd like to know whether it is possible for Oscilloscope java application to display multiple sensor readings from a single mote? For instance, I have a sensor board which has accelerometer-x, accelerometer-y and temperature sensors. The sensor board is mounted onto a single mote. Can the Oscilloscope application display multiple sensor channels from the setup? I've tried displaying multiple channels before but it requires multiple motes, each mote corresponding to one channel but it's not efficient and quite wasteful to have many motes if I can use just one mote to display multiple readings. Thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help with Lossy Module again
hi alls I'm sorry to ask this question about lossy module again. But this problem is very important to me. I don't know how can i get the lossy module in tinyos2.x? And dear Philip have told me to use the function prr_estimate_from_snr(double SNR) in CpmModelC converts a signal to noise ratio to a packet reception rate. But i'm still not clear about how can i get the SNR (can i get it directly?) in tinyos2.x. Could someone show me the way or give a example? So any suggestion would be really appreciated. I'm looking forward to your help. Thanks in advance. Eamin 人山人海盛景,尽在梦幻西游 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Questions on Routing protocols with downstream message support
Hi Folks, Is there a routing protocol with support for sending downstream messages (from base-station to a particular node) on TinyOS 1.x ? In other words, is there an implementation of MultiHopLQI with downstream message support that works on Tmote SKy ? [ On the lines of Xbow's Xmesh in tinyos-1.x/contrib/lib/Xmesh]. Also, I would like to know if we have downstream message support in TinyOS 2.x routing protocols ? Thanks and Regards, Harish ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help