[Tinyos-help] LPL+CTP+IRIS

2013-05-21 Thread sofia aparicio
Hello, I have an IRIS mote with some sensors and using CTP algorithm and it lasted around 2 days and a half. If I use LPL with 500 ms or 1000ms it lasted around 5 days. Is it possible to increase the lifetime of the motes using CTP protocol?

[Tinyos-help] Problem with serial communication using Matlab IRIS motes

2013-04-25 Thread sofia aparicio
Hello, I am using a network composed of 3 IRIS motes + a base station with a MIB520 getaway connected to a PC. Each mote is sending 8 messages of 100 bytes each 30 seconds. I am using Matlab to read the data from the USB. I was using a baudrate of 57600 but after some hours I stop receiving

[Tinyos-help] To have 2 different networks at the same time Mica2 with CTP

2012-02-23 Thread sofia aparicio
Hello, I am using mica2 motes and ctp algorithm and I would like to have 2 different networks working at the same time. I have tried to use different DEFAULT_LOCAL_GROUP for each network changing this value in the makefile and it is not working. Both base stations receive all messages. I

[Tinyos-help] How to read data from an analog sensor with TinyOS-2.x and Mica2

2011-11-14 Thread sofia aparicio
Hello, I would like to use an analog Omron D6F-V03A1 model air sensor with Tinyos2 and Mica2. How can I do that? Is there any example about how to read data from an analog sensor? Thank you very much! Sofia

[Tinyos-help] How to read data from an analog sensor

2011-11-14 Thread sofia aparicio
Hello, I would like to use an analog Omron D6F-V03A1 model air sensor with Tinyos2 and Mica2. How can I do that? Is there any example about how to read data from an analog sensor? Thank you very much! Sofia

[Tinyos-help] Maximum output RF power for mica2 motes at 433Mhz and 916Mhz

2011-05-10 Thread sofia aparicio
Hello, I would like to know how to change the output RF power to the maximum for Mica2 motes at 433 Mhz and at 918Mhz. I have seen that the default RF power value is 0x0F (0dBm at 433, -6dBm at 916). I have seen in the CC1000 datasheet that the maximum output power is FF. How many dbm

[Tinyos-help] CTP and LPL

2011-04-25 Thread sofia aparicio
Hello, I am sending a message every 5 minutes with mica2 motes and I use CTP. Since I would like to reduce the power consumption. I want to know which values should I choose to use the LPL: CFLAGS += -DLOW_POWER_LISTENING CFLAGS += -DLPL_DEF_LOCAL_WAKEUP=512 CFLAGS +=

[Tinyos-help] How much time a node needs to reconfigure the route with CTP?

2011-04-20 Thread sofia aparicio
Hello, I would like to know how much time a node needs to reconfigure the route with CTP because a problem happens with its father. In the ctp paper appears that: It maintains a beaconing interval which varies between 64ms and one hour. Whenever the timer expires, CTP doubles it, up to the

[Tinyos-help] How to get the battery level of my mica2 or iris mote

2011-04-01 Thread sofia aparicio
Hello, I would like to know how can I get the battery left in my mica2 or iris mote. Thank you. Sofia ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Transmission velocity of I2C in an IRIS mote

2011-03-31 Thread sofia aparicio
Hello, I would like to know the transmission velocity of I2C in an IRIS mote. I have read that there is a fast (400) and a standard mode (100). Can I choose between these velocities? How can I do that? Thank you very much. Sofia

Re: [Tinyos-help] Tinyos-help Digest, Vol 94, Issue 5

2011-03-24 Thread sofia aparicio
Hello, I would like to know if it is possible to configure two differents networks with iris motes and working at the same time. Thank you very much. Sofia ___ Tinyos-help mailing list

[Tinyos-help] An iris mote as a I2C slave?

2011-03-09 Thread sofia aparicio
Hello, I would like to know if it is possible to use an iris mote as a I2C slave. How can I do that? Thank you very much. Sofia ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] IBM mote runner and IRIS motes

2011-02-17 Thread sofia aparicio
Hello, I would like to know if somebody has used the IBM mote runner enviromment with IRIS motes. Do you recommend to use it? I have being working with tinyos-2.x and iris motes using cygwin. Thank you very much. Sofia

[Tinyos-help] Read data from a FIFO using the I2C connector‏

2011-02-17 Thread sofia aparicio
Hello, I want to connect a FIFO to an IRIS mote using a MDA100 sensor board and I would like to read the data received from the FIFO using the I2C connector. It is the first time that I have to do something like that. Could you please explain to me what do I need to do? Do you know any

Re: [Tinyos-help] Problem calling an external interrupt INT1 tinyos-2.x

2011-02-02 Thread sofia aparicio
CC: tinyos-help@millennium.berkeley.edu Hi Sofia, Use AVR_ATOMIC_HANDLER(SIG_INTERRUPT1) { } Miklos On Tue, Feb 1, 2011 at 1:21 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I would like to define an external interrupt in INT1 pin. When I call

Re: [Tinyos-help] Problem calling an external interrupt INT1 tinyos-2.x

2011-02-02 Thread sofia aparicio
On 02/02/2011 09:21 AM, sofia aparicio wrote: Hello, Using AVR_ATOMIC_HANDLER(SIG_INTERRUPT1) I get the same error: In component `UltrasoundControlM': /opt/tinyos-2.x_Cricket_iris/tos/platforms/iris/UltrasoundControlM.nc:834: redef inition of `__vector_2' /opt/tinyos-2.x_Cricket_iris

[Tinyos-help] Read data from a FIFO using the I2C connector

2011-02-02 Thread sofia aparicio
Hello, I want to connect a FIFO to an IRIS mote using a MDA100 sensor board and I would like to read the data received from the FIFO using the I2C connector. It is the first time that I have to do something like that. Could you please explain to me what do I need to do? Do you know any

[Tinyos-help] Problem calling an external interrupt INT1 tinyos-2.x

2011-02-01 Thread sofia aparicio
Hello, I would like to define an external interrupt in INT1 pin. When I call the interrupt a get an error message. 1) If I use : ISR(INT1_vect){ } I get the following error: In component `UltrasoundControlM': /opt/tinyos-2.x_Cricket_iris/tos/platforms/iris/UltrasoundControlM.nc:823: use ( ),

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-27 Thread sofia aparicio
Hello, Seems ok, but not sure how you access those pins. How did you verified that your code does not work? You cannot be sure that these pins are available on the 51-pins. I am using a MDA100 sensor board connected to my IRIS mote. I can see the signals in OC3A, OC3B and OC3C using an

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
outputs. My timer code is here if it's any help: http://www.etantdonnes.com/Motes/AVR128timers.zip MS sofia aparicio wrote: Hello, I am using IRIS mote and I have a main program where I call a TimerMilliC. This timer is fired every 10 seconds. Then I would like to use the OC1A using

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
Timer1 for PWM outputs. My timer code is here if it's any help: http://www.etantdonnes.com/Motes/AVR128timers.zip MS sofia aparicio wrote: Hello, I am using IRIS mote and I have a main program where I call a TimerMilliC. This timer is fired every 10 seconds. Then I would like to use

[Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread sofia aparicio
Hello, I would like to configure in Fast PWM mode without prescaler and toggling OCR3A,OCR3B and OCR3C at the same time. I do the following: SET_BIT(DDRE,3); OCR3A SET_BIT(PORTE,3); SET_BIT(DDRE,4); OCR3B SET_BIT(PORTE,4); SET_BIT(DDRE,5); OCR3C SET_BIT(PORTE,5); TCCR3A=0x57; TCCR3B=0x19;

[Tinyos-help] Question about IRIS mote

2011-01-25 Thread sofia aparicio
Hello, I am using IRIS mote and I have a main program where I call a TimerMilliC. This timer is fired every 10 seconds. Then I would like to use the OC1A using a MDA100 sensor board. If I undestood well this pin is available. Then, I configure this OC1A in CTC mode using TCCR1A=0x40;

[Tinyos-help] MDA100 with Moteworks

2010-12-03 Thread sofia aparicio
Hello, I am using Motewoks. I would like to use the MDA sensor board with a micaz mote. I have added a temperature/humidity sensor from Sensirion in the prototype area (in an open pin). I would like to know how can I access the value of this sensor. For tinyos-2.x I have seen the drivers

[Tinyos-help] To send a value from my computer (with Matlba) to a mica2 mote using the serial port

2010-06-28 Thread sofia aparicio
Hello, I would like to send a integer value from my computer (using Matlab) to a mica2 mote using the serial port and TinyOS-2.x. How can I do that? Do you know any example? With TinyOS-1.x I could do it with the function: event result_t SerialM.Receive(char * buf, uint8_t data_len)

Re: [Tinyos-help] Timers in the new version of TinyOS-2.x

2010-05-21 Thread sofia aparicio
17:25:27 -0700 CC: tinyos-help@millennium.berkeley.edu To: aparicioso...@hotmail.com On May 19, 2010, at 7:09 AM, sofia aparicio wrote: Hello, I would like to know if there were changes with timers in the new version of TinyOS-2.x I have a program where I used timer 1 and it is working

[Tinyos-help] Timers in the new version of TinyOS-2.x

2010-05-19 Thread sofia aparicio
got the following error: /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1P.nc:195: previous declara tion of `__vector_12' /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1P.nc:207: previous declara tion of `__vector_11' Thank you very much. Sofia Aparicio

[Tinyos-help] CVS error download tinyos

2010-03-02 Thread sofia aparicio
Hello, I would like to know what should I do to download something using CVS. I am uisng cygwin and I obtain the following error: $ cvs -z3 -d:pserver:anonym...@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co -P tinyos-1.x cvs [checkout aborted]: connect to

[Tinyos-help] Ctp problem with mica2 motes

2010-02-25 Thread sofia aparicio
Hello, I am using ctp library with 4 mica2 motes (1 is the root and 3 are the producers). I have an application that every 4 minutes sends some temperature measurements to the root. The application with micaz is working perfectly. But if I use mica2 motes, the root stops receiving data of

[Tinyos-help] XMesh with tinyos-1.x and -2.x, and mica2

2010-02-22 Thread sofia aparicio
Hello, I would like to know if XMesh works with TinyOS-1.x and -2.x and using the mica2 platform. Thank you very much. Sofia From: gnaw...@cs.stanford.edu Date: Sat, 20 Feb 2010 15:25:23 -0800 To: mongoose_r...@mail.ru CC: tinyos-help@millennium.berkeley.edu Subject: Re:

Re: [Tinyos-help] how to send to a serial port logging information of the routingTable (CTP)

2010-02-10 Thread sofia aparicio
need custom debug messages, then you need to add your corresponding debug msg types into the CtpDebugMsg.h / CollectionDebugMsg.h and call CollectionDebug functions with those types that you added where you need. Regards, -- Mehmet Akif Antepli On Tue, Feb 9, 2010 at 5:02 PM, sofia

[Tinyos-help] how to send to a serial port logging information of the routingTable (CTP)

2010-02-09 Thread sofia aparicio
Hello, I am using CTP with 4 mica2. One mica2 is the base station and the remaining motes are computing some temperature measurements every 2 minutes and sending this information to the base station. After some hours the nodes lose the route since the parent ids change to strange ids which

[Tinyos-help] TOSSIM and mica2

2010-02-05 Thread sofia aparicio
Hello, I would like to know if TOSSIM is working with mica2. Otherwise, how can I see the dbg messages? Thank you very much. Sofia _ Los auténticos Hotmail y Messenger en tu

Re: [Tinyos-help] LPL with Mica2 motes

2010-02-03 Thread sofia aparicio
@millennium.berkeley.edu As far as I know, LPL is not implemented for mica2 in Tinyos 2.x. Janos On Tue, Feb 2, 2010 at 6:01 AM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I want to use LPL with Mica2 motes. I have added to my code the following: In my boot function

[Tinyos-help] LPL with Mica2 motes

2010-02-02 Thread sofia aparicio
Hello, I want to use LPL with Mica2 motes. I have added to my code the following: In my boot function: LPL.setLocalSleepInterval(2000); Before sending a packet: LPL.setRxSleepInterval(pkt,2000); Send.send(pkt,sizeof()); This is not working, I can not see the cycles. Do you

Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-04 Thread sofia aparicio
, Sofia Date: Tue, 3 Nov 2009 19:01:38 -0800 Subject: Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x From: gnaw...@cs.stanford.edu To: aparicioso...@hotmail.com CC: tinyos-help@millennium.berkeley.edu On Mon, Nov 2, 2009 at 3:07 AM, sofia aparicio aparicioso...@hotmail.com wrote

Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-04 Thread sofia aparicio
you know what it is happening? Thanks, Sofia Date: Tue, 3 Nov 2009 19:01:38 -0800 Subject: Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x From: gnaw...@cs.stanford.edu To: aparicioso...@hotmail.com CC: tinyos-help@millennium.berkeley.edu On Mon, Nov 2, 2009 at 3:07 AM, sofia aparicio

Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-04 Thread sofia aparicio
:07 AM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I am trying to use CTP algorithms on mica2 but they are not working correctly. It seems that a msg is sent successfully but it did not call the function senddone. I am testing the application MultihopOscilloscope with 2

Re: [Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-03 Thread sofia aparicio
Hello, Could you please help with this? I am trying to use CTP algorithms on mica2 but they are not working correctly. It seems that a msg is sent successfully but it did not call the function senddone. I am testing the application MultihopOscilloscope with 2 motes, a base station (id 0)

[Tinyos-help] CTP and mica2 on TinyOS-2.x

2009-11-02 Thread sofia aparicio
Hello, I am trying to use CTP algorithms on mica2 but they are not working correctly. It seems that a msg is sent successfully but it did not call the function senddone. I am testing the application MultihopOscilloscope with 2 motes, a base station (id 0) and another one (id 1). Do you

[Tinyos-help] How to upgrade libraries

2009-10-30 Thread sofia aparicio
Hello, I would like to upgrade the libraries from my TinyOS-2.x from: http://www.tinyos.net/tinyos-2.x/ How can I do this using Cygwin? Thanks, Sofia _ Vive toda la

[Tinyos-help] Porting cricket TOS1.x code to TOS2.x

2009-10-23 Thread sofia aparicio
Hello, I am trying to use cricket in TOS2.x. I have created a cricket platform. I have installed the Blink application to my cricket and it was working. Then I tried to do the same with the Oscilloscope application, but when I installed the application, the mote did not do anything. I

[Tinyos-help] Functions sbi,cbi,outp,outw in TinyOS-2.x

2009-10-21 Thread sofia aparicio
Hello, I would like to know if I can use the following functions in tinyOS-2.x: outp(port,value) sbi(port,value) cbi(port,value) outw() I have used them in TinyOS-1.x. Thanks, Sofia

[Tinyos-help] Power save mode

2009-10-08 Thread sofia aparicio
Hello, I am trying to change my mote to power save mode in the cricket application. I write in CricketM.nc module the following: sbi(ASSR, AS0); sbi(MCUCR, SM0); sbi(MCUCR, SM1); sbi(MCUCR, SE); This is not working. I am consuming around 10 mA, the same quantity that without these

[Tinyos-help] Protocol in the Cricket application

2009-10-07 Thread sofia aparicio
Hello, I would like to know which protocol is using the cricket application for TinyOS1.x. I have seen that there are different protocols S-MAC, B-MAC, ... Thank you very much. Sofia

[Tinyos-help] Problem using TOSSIM

2009-09-24 Thread sofia aparicio
Hello, I tried to compile the Cricket application using TOSSIM but I get an error. When I typed: make pc I obtain something like that: . . . . InternalEEPROMM.nc:36:24: avr/eeprom.h: No such file or directory InternalEEPROMC.nc:40: failed to preprocess InternalEEPROMM.nc

[Tinyos-help] FW: Question about power save mode

2009-09-23 Thread sofia aparicio
Hello, I have mote in power save mode. A send a radio msg when the mote is sleeping. I would like to know if he receives the information when he wakes up. Thank you very much. Sofia Hay tantos ordenadores como personas. ¡Descubre ahora cuál eres tú!

[Tinyos-help] To send some information from a Cricket mote to a micaz using a serial port

2009-09-23 Thread sofia aparicio
Hello, I would like to send some information from a Cricket mote to a Micaz mote using a serial port. Is it possible to do that? How can I do that? Thank you very much. Sofia ¿Quieres que tus amigos de Messenger sigan tus movimientos de Facebook? ¡Conéctalos ya!

[Tinyos-help] To send some information from a Cricket mote to a micaz using a serial port

2009-09-15 Thread sofia aparicio
Hello, I would like to send some information from a Cricket mote to a Micaz mote using a serial port. Is it possible to do that? How can I do that? Thank you very much. Sofia _ Hay tantos ordenadores como personas.

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread sofia aparicio
Hello, I left several hours running 3 motes and 1 base station. I am using the Route library. I have seen that I receive information from every mote but suddenly I do not receive anything from one mote. After 2 hours I start receiving again from this mote. This is happening with the 3

Re: [Tinyos-help] How to send a msg from the base to other motes using the route library

2009-07-29 Thread sofia aparicio
I am using tinyOS 1.x. I have seen that blip and tymo are implemented with tinyOS 2.0. Date: Thu, 23 Jul 2009 07:54:01 -0700 Subject: Re: [Tinyos-help] How to send a msg from the base to other motes using the route library From: gnaw...@usc.edu To: aparicioso...@hotmail.com CC:

[Tinyos-help] Question about Route library

2009-07-28 Thread sofia aparicio
Hello, I have a problem with Route library in tinyos1.x. I am using 2 motes and 1 base station. If I put this 2 motes close to the base station then I receive the information from both motes. But if I put mote 2 out of the radio range of the base station, and I put mote 1 between mote 2

Re: [Tinyos-help] Receiving strange msgs

2009-07-23 Thread sofia aparicio
there. MS sofia aparicio wrote: Hello, I would like to know what is the crc of a TOS_msg. I am sending a msg using radio and I should receive tla:1, distance: 1592, temp: 28 but I am receiving something like that: :=¡~tla: 1,distanc~Be}:^ 15}9]2,tempú: 28

Re: [Tinyos-help] Seed in Tython

2009-07-22 Thread sofia aparicio
Hello, I would like to know what is the crc of a TOS_msg. I am sending a msg using radio and I should receive tla:1, distance: 1592, temp: 28 but I am receiving something like that: :=¡~tla: 1,distanc~Be}:^ 15}9]2,tempú: 28 How can I fix this? Thank you very much.

[Tinyos-help] Receiving strange msgs

2009-07-22 Thread sofia aparicio
Hello, I would like to know what is the crc of a TOS_msg. I am sending a msg using radio and I should receive tla:1, distance: 1592, temp: 28 but I am receiving something like that: :=¡~tla: 1,distanc~Be}:^ 15}9]2,tempú: 28 How can I fix this? Thank you very much. Sofia

[Tinyos-help] How to send a msg from the base to other motes using the route library

2009-07-22 Thread sofia aparicio
Hello, I am using the Route library. I would like to know how to send a msg from the base station to the other motes. Thank you very much. Sofia _ Chatea sin límites en Messenger con la tarifa plana de Orange

[Tinyos-help] Question about Route library

2009-07-17 Thread sofia aparicio
Hello, I want to send several messages from different motes to the base station (mote 0) using the Route library. When the base station receives the message I want to print it. How can I do this? Which function shall I use to do that receive or intercept? I do the following:

[Tinyos-help] How to send several radio messages?

2009-07-02 Thread sofia aparicio
Hello, I want to send several radio messages using BareSendMsg.send. If I write something like that it does not work: timer.fired() { result= call BareSendMsg.send(msg); wait(10 seconds); result1=BareSendMsg.send(msg); if (result==SUCCESS) leds red on; if (result1== SUCCESS)

Re: [Tinyos-help] CTP and congestion control

2009-07-01 Thread sofia aparicio
Hello, Could you please tell me the difference between async event and event? When a event is executed? Thank you very much, Sofia _ ¿Quieres ver los mejores videos de MSN? Enciende Messenger TV

[Tinyos-help] Difference between async event and event

2009-07-01 Thread sofia aparicio
Hello, Could you please tell me the difference between async event and event? When a event is executed? Thank you very much, Sofia Comparte tus fotos con tus amigos. Más fácil con Windows Live _ Llévate Messenger en

[Tinyos-help] Question about send and receive

2009-06-30 Thread sofia aparicio
Hello, I have 3 motes and I want to send data from mote 2 trough mote 1 to the base station. Mote 2 call RadioSend.send(data); RadioReceive.receive(){ if (TOS_LOCAL_ADDRESS == 1){ call RadioSend.send(data); //Send data to base station (mote 0). } if

[Tinyos-help] Question about Route library

2009-06-26 Thread sofia aparicio
Hello, I would like to know what do I need to do to send and receive a message using the protocols of the Route library. Do I need to asociate every TOS_Msg with a TOS_MHopMsg? In Surge example they do the following: if (pReading = (SurgeMsg *)call Send.getBuffer(gMsgBuffer,Len)) {

[Tinyos-help] Problems using the Route library with Cricket motes

2009-06-23 Thread sofia aparicio
Hello, I have some questions about the routing protocols with Cricket motes. I am trying to construct an application with 1 base station connected to a computer through a serial port and several motes. I want these motes to send some information to the base station using the Route library.

Re: [Tinyos-help] Question about rounting protocols for tinyos-1.x

2009-06-17 Thread sofia aparicio
Hello, I have compiled the Surge application using: make cricket Then I have installed the program in the base station: make cricket reinstall.0 I have also done in a different mote: make cricket reinstall.1 Then I went to tools/java/net/tinyos/surge I have typed:

[Tinyos-help] Question about rounting protocols for tinyos-1.x

2009-06-16 Thread sofia aparicio
Hello, I am using Cricket motes and I want to create a wireless network. I have several motes but only 1 base station. I need a routing protocol to send the information from every mote to the base station. Sometimes the mote is far from the station and data has to be send through other