|
TI makes a beauty called a TI-4GS. The big drawback here is that they require 24 volts for operation. I am currently experimenting with a hot element type sensor available from Jaycar here in Australia (sourced from somewhere in China I think). This one only requires 6 Volts but at 300 milliamps, still not good for batteries. Some correspondence with Texas Instruments might be of value to you, they are making some pretty small laser spectrometers these days. Please, could you communicate to me any information that you may discover.
Chris Holme
-----Original Message-----
Send Tinyos-users mailing list submissions to [EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED]
You can reach the person managing the list at [EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific than "Re: Contents of Tinyos-users digest..."
Today's Topics:
1. hardware clock in Mica2 (Valentina Masi) 2. CO2 sensor and MOTE (Marco Maniezzo) 3. about tinyviz & lesson5 (Selcen Isci) 4. Re: [Tinyos-help] Re: [nescc-devel] Bug with #define in included files (Aaron Ault)
----------------------------------------------------------------------
Message: 1 Date: Tue, 19 Oct 2004 10:39:59 +0200 From: Valentina Masi <[EMAIL PROTECTED]> Subject: [Tinyos-users] hardware clock in Mica2 To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii"
Hi, I plan to study the behaviour of the hardware clock in Mote2 sensor, in particular its deviation from the reference time, but I am not sure that the command readCounter of Clock.nc interface captures the quartz clock value because of other commands such as setCounter(), setRate() that are declared in the same interface. I would really appreciate a clarification on that. Many thanks in advanced!
Valentina -------------- next part -------------- An HTML attachment was scrubbed... URL: http://Mail.Millennium.Berkeley.EDU/pipermail/tinyos-users/attachments/20041019/ea797c6c/attachment-0001.htm
------------------------------
Message: 2 Date: Tue, 19 Oct 2004 15:08:51 +0200 From: Marco Maniezzo <[EMAIL PROTECTED]> Subject: [Tinyos-users] CO2 sensor and MOTE To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii; format=flowed
Hello,
we bought the basic kit with 3 Mica2 and the MIB510 programmer and we would want to do research on CO2 sensors.
Does anyone know already developed CO2 sensors that are mountable on Mica2 ADC?
------------------------------
Message: 3 Date: Tue, 19 Oct 2004 18:14:32 +0300 From: "Selcen Isci" <[EMAIL PROTECTED]> Subject: [Tinyos-users] about tinyviz & lesson5 To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1"
Hi, I have a basic question about what's told in Lesson 5. In order to run TestTinyViz application I build the app with make pc and then write tinyviz -run build/pc/main.exe 30. The problem that I'm facing is sometimes the app is built with make pc command but sometimes it gives me this error:
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot open output file build/pc/main.exe : Permission denied collect2: ld returned 1 exit status make: *** [build/pc/main.exe] Error1
And when I'm able to run the application told in Lesson 5, it takes me a long time to see all the nodes coming on the window. On the batch it says that the simulation is connecting but I do not see any action in TinyViz.
Does anyone know the reason why does this happen?
Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://Mail.Millennium.Berkeley.EDU/pipermail/tinyos-users/attachments/20041019/b16fbe02/attachment-0001.htm
------------------------------
Message: 4 Date: Tue, 19 Oct 2004 12:16:43 -0500 From: Aaron Ault <[EMAIL PROTECTED]> Subject: [Tinyos-users] Re: [Tinyos-help] Re: [nescc-devel] Bug with #define in included files To: David Gay <[EMAIL PROTECTED]> Cc: tinyos-users <[EMAIL PROTECTED]>, tinyos-help <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed
The solution for this problem is to have a "types.h" file that you include with the includes keyword (this file contains all of your typedefs, enums, etc.), and a "const.h" file that you include with an actual #include (this file only has #define constants and macros in it, no C code). You have to be careful, however, about how you do it. The only way to get it to work is to do the includes keyword at the top of your source file, and the #include "types.h" immediately after the "implementation {" keyword. For example:
includes types;
configuration foo { } implementation { #include "const.h" // .... }
or
includes types;
module { } implementation { #include "const.h" }
That's how I do it, anyway.
Aaron
On Oct 19, 2004, at 11:06 AM, David Gay wrote:
> [EMAIL PROTECTED] wrote: >> Hi, >> I have searched the archives for this matter, but I have not found >> anything. >> When I use the statement >> includes incfile; >> in e.g. myprogM.nc and in incfile.h has a line with >> #define SOME_DEF 1 >> then this define is not defined in myprogM.nc. I get an error saying, >> that >> SOME_DEF is not defined, when I compile my program. I am using ncc >> 1.1.2: >> [EMAIL PROTECTED] Blink]$ ncc --version >> ncc: 1.1.2 >> avr-gcc: avr-gcc (GCC) 3.3-tinyos >> Am I doing something wrong or is this a bug? > > Files are preprocessed before 'includes ...' statements are handled. > So #define's are not visible until the next file is loaded. Do you > actually need to use #define ? (enum { SOME_DEF = 1} will work better > as long as you're not using #ifdef). > > David Gay > _______________________________________________ > Tinyos-help mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help
------------------------------
_______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
End of Tinyos-users Digest, Vol 18, Issue 9 ******************************************* |
_______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
