[Tinyos-help] Problem to simulate with MTS300 components

2009-11-23 Thread Daniel Garcia Aubert
Hi, I ´m doing a job in TinyOS 2.x installed Xubuntos. I am working on MicaZ platform that uses the component TempC MTS300 sensor, but when compiling to simulate "make micaz sim " gives the following error: $ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XM

[Tinyos-help] Interface or component to obtain the voltage of the batteries

2009-11-24 Thread Daniel Garcia Aubert
Hi, I'm starting to program applications in TinyOS 2.x. I'm working on one application under platform MicaZ. I would measure the voltage of the batteries, but I don't find the interface or component to obtain the voltage of the batteries. In TinyOS 1.x uses the ADC interface. For TinyOS 2.x is the

[Tinyos-help] Flash error, uploading to micaz with MIB520.

2009-11-25 Thread Daniel Garcia Aubert
Hello again! I have a problem when I compile and upload a program (RadioCountToLeds). /opt/tinyos-2.x/apps/RadioCountToLeds$ make micaz reinstall mib520,/dev/ttyUSB0 cp build/micaz/main.srec build/micaz/main.srec.out installing micaz binary with dapa uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=A

[Tinyos-help] Update TinyOS-2.0 to TinyOS-2.1

2009-12-01 Thread Daniel Garcia Aubert
Hi all, I work with TinyOS-2.0 in XubunTos, and I want to update to 2.1 for use CTP protocol. ¿How I can to update version in XubunTos? Thanks and regards. -- Daniel García Aubert Universidad Carlos III de Madrid. ___ Tinyos-help mailing list Tinyos-he

[Tinyos-help] Problem to use Low Power Listening.

2009-12-14 Thread Daniel Garcia Aubert
Hi all! I'm working with TinyOS 2.1 under MicaZ plataform. In my program I want to use Low Power Listening but in the moment to compile I have the following problem: */opt/tinyos-2.1.0/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"* Also, I'

Re: [Tinyos-help] Problem to use Low Power Listening.

2009-12-15 Thread Daniel Garcia Aubert
Hi Arik, I saw the different interfaces, DummyLplC functions as a false LPL. I think, DummyLplC it's wired in low layers depending of my configurations system: *D**ummyLplC.nc*: */** * Dummy low power listening interface used when LowPowerListening is not * compiled in with the application.

[Tinyos-help] Doubts about the functioning of LPL

2009-12-21 Thread Daniel Garcia Aubert
Hi all! I wrote an aplication in TinyOS 2.1 under plataform Micaz and use Low Power Listening. Simulating with Avrora this aplication I can observe many messages are lost, many messages sent are not received for others motes. I have some questions about the functioning LPL: - What is the normal

[Tinyos-help] How to get data of batteries level.

2010-01-13 Thread Daniel Garcia Aubert
Hi all! I'm working in an application under MicaZ plataform and TinyOS 2.1. I would want to get data of batteries level but I don't find the interface. It is possible? How can I do it? Thanks a lot! Regards. -- Daniel García Aubert Universidad Carlos III de Madrid.

[Tinyos-help] VoltageC for Micaz in TinyOS 2.1

2010-01-17 Thread Daniel Garcia Aubert
Hi all! I need your help. I'm looking for the way to get voltage of batteries in micaz under T2.1. I've found this code in: http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/2006-June/001220.html For VoltageC.n

[Tinyos-help] Problem with TinyOS 2.1 and MTS300CB.

2010-01-22 Thread Daniel Garcia Aubert
Hi all! I tried to get temperature of MTS300CB in Micaz using TinyOS 2.1 and always returns 0. I know that this problem isn't new but I don't get any solution. I saw this solution for TinyOS 1.x: In "sensoroard.h" change: TOSH_ALIAS_PIN(TEMP_CTL, INT2) to TOSH_ALIAS_PIN(TEMP_CTL, PW0) But I

Re: [Tinyos-help] Problem with TinyOS 2.1 and MTS300CB.

2010-01-22 Thread Daniel Garcia Aubert
Hi! Is temperature sensor. In my application I use the component TempC() in event readDone() returns always 0. I hope to explain well. Thanks for your help. Regards. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millenni

Re: [Tinyos-help] Problem with TinyOS 2.1 and MTS300CB.

2010-01-22 Thread Daniel Garcia Aubert
Hi! Sorry, I just read in manual of Crossbow that the thermistor is Panasonic ERT-J1VR103J on the MTS300 and MTS310 sensorboards. Best regards. -- Daniel García Aubert Universidad Carlos III de Madrid. ___ Tinyos-help mailing list Tinyos-help@millenni

[Tinyos-help] Please help! TinyOS 2.1 - Micaz - MTS310CB - TempC() [MTS300]

2010-02-02 Thread Daniel Garcia Aubert
I'm beginner in TinyOS. I work in TinyOS 2.1 with Micaz platform, MTS310CB sensorboard. I want read temperature of MTS310CB sensor but always returns 0. I've weeks with the same problem but I can't solve this. I've been reading the repository help but I don't find any solution. Today I read this:

[Tinyos-help] LPL works in LQI?

2010-02-10 Thread Daniel Garcia Aubert
Hi all!! I'm testing an application in T2.1 under Micaz(cc2420). My application uses CTP and Low Power Listennig works fine, but if I change CTP to LQI the application doesn't work. It seems that the nodes are not synchronized. Someone knows why this happens?? Thanks in advance. Regards! -- D

Re: [Tinyos-help] LPL works in LQI?

2010-02-22 Thread Daniel Garcia Aubert
Hello! Well, if the network has two nodes (one gateway) the other node sends a stream of messages, these messages are protocol and the node fails to send messages containing sensor readings.If I change MultihopOscilloscopeLQI to use LPL, has the same behavior. If I use CTP and LPL together, the ap

[Tinyos-help] Sensor is always on...

2010-03-08 Thread Daniel Garcia Aubert
Hi all! If I get data of sensor with interface Read... the sensorboard is always on? In simulations Avrora specifies: === Node lifetime: 2654208 cycles, 3600.0 seconds SensorBoard: 7.56 Joule on: : 7.56 Joule, 2654208 cycles ==

Re: [Tinyos-help] Sensor is always on...

2010-03-08 Thread Daniel Garcia Aubert
ore read(). > MS > > > Daniel Garcia Aubert wrote: > >> Hi all! >> >> If I get data of sensor with interface Read... the sensorboard is always >> on? In simulations Avrora specifies: >> >> === >> Node li

[Tinyos-help] Put CPU in sleep mode (power save)

2010-03-09 Thread Daniel Garcia Aubert
Hi all! Well, I wrote an application in TinyOS 2.1 for MicaZ platform and MTS310CB sensorboard. The application use radio (CTP + LPL), timer (TimerMilliC), LEDs (LedsC) and sensor (TempC). Testing with Avrora 1.7.110 I saw that CPU state never is lower than Idle. The CPU comsumption seems very hig

Re: [Tinyos-help] Sensor is always on...

2010-03-09 Thread Daniel Garcia Aubert
Hi Michael! Thanks! I tried your request but I think only works in TinyOS 1.x. I hope TinyOS 2.x handle sensor. And it isn´t always on. Any idea? Regards! -- Daniel García Aubert Universidad Carlos III de Madrid. ___ Tinyos-help mailing list Tinyos-

[Tinyos-help] How to calculate wake time for receive messages

2010-04-10 Thread Daniel Garcia Aubert
Hi everyone! I´m using LowPowerListening in T2.1 and I need to calculate how many milliseconds must wake up before the radio to receive messages. The radio (CC2420) has a bit rate of 250kbps and the message size is 30bytes. Then, the time for receive one message: (30bytes * 8bit/byte) / (250Kbps