RE: [Tinyos-help] Mica2, CPU Timed Sleep and Wakeup

2006-04-27 Thread Gregory A. Moore
for a project that I never work on anymore... Assuming as usual that no one who actually knows how to do this will answer your question...Perhaps there is something in the atmega spec book about it? MS Gregory A. Moore wrote: Michael, Thank you for your response, but: SnoozeC only works for Mica

Re: [Tinyos-help] Mica2, CPU Timed Sleep and Wakeup

2006-04-26 Thread Gregory A. Moore
... MS Gregory A. Moore wrote: Hi All, I have perused the archives about this pesky timed mica2 sleep problem and have not found any code snippets or anything of huge benifit. So I repeat the question: I am working with Mica2. I would like to put the mote's CPU to sleep for a set period

Re: [Tinyos-help] MoteIF object problems

2006-04-25 Thread Gregory A. Moore
Hi All, I have perused the archives about this pesky timed mica2 sleep problem and have not found any code snippets or anything of huge benifit. So I repeat the question: I am working with Mica2. I would like to put the mote's CPU to sleep for a set period of time and then have it awoken

[Tinyos-help] Mica2, CPU Timed Sleep and Wakeup

2006-04-25 Thread Gregory A. Moore
Hi All, I have perused the archives about this pesky timed mica2 sleep problem and have not found any code snippets or anything of huge benifit. So I repeat the question: I am working with Mica2. I would like to put the mote's CPU to sleep for a set period of time and then have it awoken

Re: [Tinyos-help] Send mote to sleep and wake it up

2006-04-23 Thread Gregory A. Moore
Aditya and all, You can turn the Radio off with the approach that Aditya has recommended. I have successfully tried it. I don't think you can put the cpu to sleep just by stopping the task queue. Question: Has anyone put the processor to sleep for a certain time and then woken it up to start

RE: [Tinyos-help] Sending Commands to Mica2 Motes From a PC

2006-04-23 Thread Gregory A. Moore
Adesola, You might want to check that Surge_Reliable can deal with the packet type of the BcastInject program, and if Surge_Reliable is programmed to interpret the command. I don't have the code in front of me, but I am not sure it is programmed to do so. The BcastInject program is

[Tinyos-help] RE: Turning radio off and on.

2006-04-23 Thread Gregory A. Moore
bhushan, Turning the radio off and in is as simple as the following: RadioControl.stop(); RadioControl.start(); Where in the module file: uses interface StdControl as RadioControl; You can include the previous two statements in any block you would like. I used them inside of a timer block

[Tinyos-help] Logging Data to Flash Problems

2006-04-13 Thread Gregory A. Moore
Hi all, I am working on an application in which I must log data to the flash. I am using TinyOS-1.1.15 and I am using the PageEEPROMC component with the EEPROMRead and EEPROMWrite interfaces. I am able to check that the use of the write and read functions returns successfully, but when

Re: [Tinyos-help] double carrot for light sensor

2006-03-03 Thread Gregory A. Moore
Josh, You can steal the conversion C code from contrib/xbow/tools/src/xlisten/xconvert.c. That should provide you with all of the proper conversion algorithms. Greg [EMAIL PROTECTED] wrote: Hey all, In the XSensorMTS400 code, the comments for the Taso TSL2550 light sensor, say to use

Re: [Tinyos-help] signed/unsigned packet byte

2006-03-01 Thread Gregory A. Moore
Josh, The Listen application returns the packets in signed bytes. Since Java does not have an unsigned type, you will have to crete the conversion methods yourself. They are not hard and shouldn't take that much time. You will have to convert from signed byte to Hex and then probably back

Re: [Tinyos-help] XSensorMTS400: no packet handler???

2006-02-27 Thread Gregory A. Moore
/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Gregory Moore [EMAIL PROTECTED] ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] Can some one give me these values

2006-02-17 Thread Gregory A. Moore
___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Gregory Moore [EMAIL PROTECTED] ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] MTS400 Data Acquisition Time

2006-02-16 Thread Gregory A. Moore
I have been working on acquiring data with a MTS400 sensor board. I have noticed that the event chain is a bit different than with the MTS300 sensor, and that it takes a bit longer for the mica2 to retreive the data from the sensor. I have observed that the mica2 takes about 200-500 ms to

[Tinyos-help] MicaWBVerify

2006-02-15 Thread Gregory A. Moore
I am trying to work with the MTS400 sensor with a MICA2. I have tried to compile code from MicaWBVerify so that I can move on from there and write my own apps using MTS400. Has anyone successfully compiled any of the applications in this directory? Should the applications in the directory

[Tinyos-help] My Own Time Sync Program Help

2006-02-14 Thread Gregory A. Moore
? A.k.a: would this send and ack method take up too much time and resource for a power conservative application? Thank you, Greg -- Gregory Moore [EMAIL PROTECTED] ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https

[Tinyos-help] Mica2 and MTS400

2006-02-14 Thread Gregory A. Moore
Hi all, I am trying to interface a mica2 with the MTS400 sensorboard. I know about the XSensorMTS400 application, but I am wondering if there is an interface for the sensorboard outside of the contrib directory, ie. in the regular tinyos directory. Also I would like to know if the micawb

[Tinyos-help] Mica2 Power Comsumption / Current Readings

2005-12-20 Thread Gregory A. Moore
Hi all, I am working on an application that is so far pretty power intensive. I am trying to measure the current drawn at certain points of my application so that I know where I might be able to cut back, or set the mote to sleep. These power readings are also of interest to another