Re: [Tinyos-help] rpm-Installation errors on Vista

2009-05-06 Thread Michael Schippling
A note on cygwin versions... They refuse to admit that there is such a thing because all the packages are independent and have their own version ids. However they are all based upon the cygwin.dll -- which DOES have a version. You can check this with: cygcheck -s And look for: Cygwin

Re: [Tinyos-help] Re : Sensors Values

2009-05-06 Thread Michael Schippling
Researcher CES Laboratory, ENIS Tunisia bouzayaniwalid2...@yahoo.fr GSM: (00216) 94 306 603 *De :* Michael Schippling sc...@santafe.edu *À :* bouzayani walid bouzayaniwalid2...@yahoo.fr *Cc :* tinyos-help

Re: [Tinyos-help] Java listen prob

2009-05-06 Thread Michael Schippling
reason (in-use, read only, ect). It is likely specific to your host system so someone who knows about that might have a better opinion. MS swathy M wrote: i have connected the USB1 sir... i am using iris motes --- On *Wed, 6/5/09, Michael Schippling /sc...@santafe.edu/* wrote

Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?

2009-05-06 Thread Michael Schippling
You can certainly change the base station code to use the Send interface just like the re-Motes, but I suspect you want to use the PC host as a message source. In that case see the Send and SimpleCmd examples in the T1 java code, or TestSerial which I think is only in T2. You can also look at my

Re: [Tinyos-help] for problem

2009-05-06 Thread Michael Schippling
Please send messages to the help list in case someone (else) can help... It looks like you have not installed the entire TOS system, or have moved things around. As far as I know you need to be under a directory like: C:\cygwin\opt\tinyos-1.x\apps\Blink... to get the compile system to work

Re: [Tinyos-help] Tr : calculate Time in seconds

2009-05-05 Thread Michael Schippling
Nope, still not entirely clear (to me anyway). In T1 there is a Clock interface, but it does not have a clock() method. However the interface file contains some detailed (!what a surprise!) information about what the counts might mean...if you know how it is setup. I also don't find a clock_t type

Re: [Tinyos-help] calculate Time in seconds

2009-05-04 Thread Michael Schippling
I'm not sure what kind of clock ticks you have but a brute force way would be to toggle an LED or something and use a scope to measure the length of a tick in order to get a multiplier. If ticks are, say, TimerM values then I believe it's in 1/1024 of a second. If ticks are instruction cycles then

Re: [Tinyos-help] Resyncronising but not data displayed on Oscilloscope

2009-05-04 Thread Michael Schippling
In private communication you tell me that TestSerial _is_ working for you so, assuming you have the same MOTECOM setting, Listen should do the same. Does TestSerial send messages unbidden? I've never used it. MS Akankshu Dhawan wrote: Hi All I am running the Oscilloscope application on tinyos

Re: [Tinyos-help] imote2 help

2009-05-04 Thread Michael Schippling
How familiar are you with T1? I'd think you'd be in a for a world of hurt if you try to reverse engineer the development system to get it to work under a non *nix paradigm. MS roberto pagliari wrote: Hello, I'm familiar with tinyos 1.x but I just bought an imote2 and I feel a bit confused.

Re: [Tinyos-help] imote2 help

2009-05-04 Thread Michael Schippling
very familiar with it. It just seems that setting everything up to work is not so easy with imote2 On Mon, May 4, 2009 at 3:34 PM, Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu wrote: How familiar are you with T1? I'd think you'd

Re: [Tinyos-help] imote2 help

2009-05-04 Thread Michael Schippling
the /imote2 directory for tinyos (right now I have 1.1.7, if I'm right, that does not suppord imote2). Thanks a lot for your help, Bob On Mon, May 4, 2009 at 6:26 PM, Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu wrote: It's a little hard to tell but the doc/changes

Re: [Tinyos-help] Platforms

2009-05-03 Thread Michael Schippling
Look for Platform in the doc index here: http://docs.tinyos.net/index.php/Special:Allpages MS aldo wrote: Hi, I'm very new in tinyos :-) What is the real function of platforms? Are they necessary to tell the compiler how to configure the I/O ports, registers, etc...? If I have a

Re: [Tinyos-help] Communication betweeb telosB motes and PC

2009-05-01 Thread Michael Schippling
Look into the printf library for the motes. Someone recently posted a link to it on this list. MS Rannouna Rania wrote: Hi all, Please I want to know if the telosb mote is able to send information to a PC as debug message ? if it is possible how can I do that? Thank you in advance Best

Re: [Tinyos-help] Blink program to 3-Bit Counter

2009-04-30 Thread Michael Schippling
There (used to be) a CntToLeds demo app. MS Mohammad Patel wrote: Hi, Could you please advise me on how to change the Blin Program into a 3-bit Counter using the LEDS? Thank You Windows Live Messenger just got

Re: [Tinyos-help] Problems with mote TI MSP430

2009-04-30 Thread Michael Schippling
Are there any special FTDI drivers that need to be installed in order to access the USB device as if it was a serial device? There is a set for Windows, don't know about Linux and VMware. MS Urs Hunkeler wrote: Hi Aldo, I have not heard of a mote called MSP430+CC2500. The tmote/telosb has a

Re: [Tinyos-help] 'No Match Error'

2009-04-30 Thread Michael Schippling
You should be able to just change the AM_BROADCAST_ADDR in AMsend.send() to a the mote ID number assigned at install time. Don't know what the other errors you are getting mean though. MS Moni GV wrote: Hi everyone, I'm using TOSSIM. The problem is similar to the mentioned below... What I

Re: [Tinyos-help] Re : Temperature humidity Values

2009-04-29 Thread Michael Schippling
, ENIS Tunisia bouzayaniwalid2...@yahoo.fr GSM: (00216) 94 306 603 *De :* Michael Schippling sc...@santafe.edu *À :* bouzayani walid bouzayaniwalid2...@yahoo.fr *Cc :* tinyos-help@millennium.berkeley.edu *Envoyé le

Re: [Tinyos-help] Re : Re : Temperature humidity Values

2009-04-29 Thread Michael Schippling
__ BOUZAYANI Walid Student Researcher CES Laboratory, ENIS Tunisia bouzayaniwalid2...@yahoo.fr GSM: (00216) 94 306 603 *De :* Michael Schippling sc...@santafe.edu *À :* bouzayani walid

Re: [Tinyos-help] How Serial Forwarder communicates?

2009-04-28 Thread Michael Schippling
In the T1 tree there is: tools/matlab which contains something that looks like interface files for matlab. It may be that they are only for direct serial connection rather than through SF. If that is the case then you should try searching this list and google for info on the SerialForwarder

Re: [Tinyos-help] Temperature humidity Values

2009-04-28 Thread Michael Schippling
Any thing is (im)possible with software... You can look into the O'scope java code to find where values are converted for plotting and stick your conversion formula in there. I'm sure that exercise will lead you to the code that does a full channel display which you might clone in order to add a

Re: [Tinyos-help] General questions about TinyOS (Frequency, coverage)

2009-04-28 Thread Michael Schippling
The newer devices, micaz, telosb, run around 2.4Ghz and the mica2 at either 400 or 800Mhz. The actual frequencies are defined at compile time so you (usually) can look in the app/makelocal files to find what channel is being used. For more specific information look at the spec sheets for the

Re: [Tinyos-help] Preprocessor defines for platform detection

2009-04-28 Thread Michael Schippling
In T1 the platform/harware.h files have a define to prevent multiple inclusions, e.g.: TOSH_HARDWARE_MICA2, that you might be able to use if, as I suspect, there is no formal method. However the more TOSish way to deal with the problem is to put platform dependent files in the individual porting

Re: [Tinyos-help] Microphone data

2009-04-28 Thread Michael Schippling
Look at the High Frequency Sampling demo apps (in TOS1, maybe TOS2) and search for microphone, audio, recording on this list... MS Akankshu Dhawan wrote: I would be grateful to anyone who could tell me or guide me to a sample code to get microphone data from MICA2 motes (MPR400) and using an

Re: [Tinyos-help] Tricky code segment. For MicDetector

2009-04-27 Thread Michael Schippling
I'm sorry I just don't have the neural capacity to follow the intent of the included code without reformatting it and making some kind of reverse engineering map...however... recording, m_mic1, and m_mic2 are all arrays and apparently used as buffers for microphone data. Why recording is int8 and

Re: [Tinyos-help] program_ bl error while uploading to mica2

2009-04-27 Thread Michael Schippling
One possiblity is that the download file is not where it should be. Otherwise I think we'll need a little more context... What is your command line and where are you executing it? MS Shalini K S. wrote: Hello, I am using tinyos-2.0.2, i was able to fuse the mica2 motes previously but now

Re: [Tinyos-help] Tr : Problem with make telosb

2009-04-25 Thread Michael Schippling
please any idea about how can I can do this because I need them to test the time for example? Thank you in advance. Best Regards, Rania - Message transféré *De :* Michael Schippling sc...@santafe.edu *À :* Rannouna Rania rranno...@yahoo.fr *Cc :* tinyos-help

Re: [Tinyos-help] Passing a sound recording

2009-04-24 Thread Michael Schippling
With a 20ms sample rate your sound must be just barely sub-audible at 25Hz... Anyway, the Oscope example (used to) do a buffering scheme to send a single message with 10 or so samples. That would reduce the message overhead significantly. Otherwise you are just going to run into bandwidth issues.

Re: [Tinyos-help] SerialForwarder not reading data packets

2009-04-24 Thread Michael Schippling
First check the MIB510 silly-switch: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2006-June/017125.html Then are you sure you are connected to COM1? Try the ListenRaw java program to look at ports and see if you get anything at all. Presumably you have used this current setup to

Re: [Tinyos-help] Flash a mote without make

2009-04-23 Thread Michael Schippling
Examine the last couple of lines in the make install output and you will find the actual command line for doing the download. MS as2 wrote: Hi, if I have an app compiled, can I install it in a mote without a tinyos full instalation system(Using the files in build/platform)? Is there any light

Re: [Tinyos-help] Carefully play around typecasting

2009-04-23 Thread Michael Schippling
I'd have to go look at the rule book, but I think the general idea is that types are promoted to the largest referenced on the right hand side of the expression. In your case they are both uint8 so no implicit conversion gets done. I will go further and assume that your declared sum should have

Re: [Tinyos-help] Time to convert ADC for Telos B

2009-04-23 Thread Michael Schippling
You'll probably have to go rummage in the controller manual to find how many clocks the ADC needs, and then figure out what clock pre-scaler is being used. I only know (IIRC, approximately) 25 scaled-instruction-clocks is the number for the micas. MS Carmine Ambrosino wrote: Hi, How can I see

Re: [Tinyos-help] Setting the MAKERULES variable.

2009-04-23 Thread Michael Schippling
Make sure the file actually exists. The error says it can't find a tinyos-2.x rules file, but it looks like you have posted a tinyos-1.x file. MS John Smith wrote: Hi again, I'm trying to have my simple program compile. This is the error that I'm getting. $ make ../Makerules:28:

Re: [Tinyos-help] Setting the MAKERULES variable.

2009-04-23 Thread Michael Schippling
: make $(TARGETS) extras Valid targets: $(call names,$(VALID_TARGETS)) Valid extras: $(call names,$(VALID_EXTRAS)) $(HELP) endef $(error $(USAGE)Thank you) endif .PHONY: FORCE On Thu, Apr 23, 2009 at 2:41 PM, Michael Schippling sc...@santafe.edu mailto:sc

Re: [Tinyos-help] Computations in nesC

2009-04-22 Thread Michael Schippling
Math is math in C, there should be no differences in implementation. You do need to be aware that there is only minimal support for integer math on the controllers: ADD SUB MULT, and no floating point hardware. That's why I keep harping on fixed point arithmetic. MS Ittipong Khemapech wrote: I

Re: [Tinyos-help] Problems with Ack between TelosB and Iris

2009-04-22 Thread Michael Schippling
Could there be a timing issue when waiting for Acks? It might be that the telos responds a little slower and the iris gives up waiting too soon -- if I have the order of execution right anyway... MS Urs Hunkeler wrote: Hi Miklos, I repeated the tests. Here are the results. Cheers, Urs

Re: [Tinyos-help] Data Storage

2009-04-22 Thread Michael Schippling
If you mean to buffer a number of samples in a local array, yah shure, just declare an array and start filling. Look at the Oscilloscpe app for an example. If you are asking about Log EEPROM storage, there are a couple examples of that as well in other demos. I don't remember the names but search

Re: [Tinyos-help] Problems with Ack between TelosB and Iris

2009-04-22 Thread Michael Schippling
By the law of large numbers my guesses have to be right sometimes... MS Miklos Maroti wrote: Hi Guys, Could there be a timing issue when waiting for Acks? It might be that the telos responds a little slower and the iris gives up waiting too soon -- if I have the order of execution right

Re: [Tinyos-help] for problem

2009-04-21 Thread Michael Schippling
You haven't defied what kind of programmer interface you are using and the download defaults to an old parallel port version dapa. I use a MIB510 and define these two things in my apps/Makelocal file: DEFAULT_PROGRAM=mib510 MIB510=/dev/ttyS4 Where the ttyS4 means the programmer is attached to

Re: [Tinyos-help] startOneShot

2009-04-21 Thread Michael Schippling
I guess this is what you were trying to get at in previous Timer questions, right? It looks like it should work the way you want. The only thing I can see that is questionable is the long atomic {block} for your message sending in DataSendTimer.fired(). This might block interrupts for too long.

Re: [Tinyos-help] FFT code for MICAZ

2009-04-21 Thread Michael Schippling
I finally unearthed this from my massively parallel filing system. It purports to be a fixed point fft routine that I ported from a port of one I found before there was really an online with which to find things. I used it on an embeded system with some screwy cross compiler. So the compiler

Re: [Tinyos-help] Send message whitnin transmisson range

2009-04-20 Thread Michael Schippling
If a node receives a message it is, more or less by definition, in transmission range. You can move them further apart or lower the radio transmit power (search this list and doc for radio power). MS moadsofiane wrote: Hi, I am trying to test an application where one node send message and

Re: [Tinyos-help] Using MIG to generate C files.

2009-04-19 Thread Michael Schippling
It's been a long time since I did make foo and I don't know offhand what mig expects to get, but perhaps try the full input file name. In the makefile $@ expands to the target name, BlinkToRadioMsg.c in your case; and $ to it's dependencies -- the stuff after the : on the target line, of which you

Re: [Tinyos-help] understanding of Timers in TinyOS

2009-04-19 Thread Michael Schippling
. Regards, Peter On Sat, Apr 18, 2009 at 2:13 AM, Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu wrote: I believe the first timer2 fire will be at 12000, since it gets started on the first 2000 REPEAT fire. However at that point timer1 will also fire and you

Re: [Tinyos-help] New to TinyOS

2009-04-17 Thread Michael Schippling
Two main sites: http://tinyos.net/ http://docs.tinyos.net/index.php/Main_Page I think Xbow supplies a version of Tinyos 1.x in their Moteworks system, or you can download v2.x and other 1.x's from the above. If you are just starting out you probably want to go with 2.x, although some

Re: [Tinyos-help] Newbie Question: tos-env-check

2009-04-16 Thread Michael Schippling
Have a look at this: http://docs.tinyos.net/index.php/Java_cygwin Search this list, and google, for CLASSPATH to get an idea what it is. And a newer version of graphviz should be fine, it's only used to generate documentation diagrams. MS David Li wrote: Hi, I installed tinyos 2.1 on

Re: [Tinyos-help] Implementing MultiHop with Oscilloscope nesC

2009-04-15 Thread Michael Schippling
Searching for the instances of //added in your message: Near as I can tell someone (you?) added some stuff to a makefile and used the // as a comment. Which doesn't work in makefiles... If that's the case, change // to # MS Jacob Cox wrote: Hello, I am using Tmote Invents to record sound

Re: [Tinyos-help] Difference between PAR end TSR Sensor

2009-04-14 Thread Michael Schippling
On the off chance that the tmote manual is no longer available I've copied the freq-response graphs for the light sensors here: http://www.etantdonnes.com/Motes/tmoteLIght.jpg MS Rémi Villé wrote: Hi, What is the difference between PAR and TSR Sensors (on telosb) ? I tried them, they react

Re: [Tinyos-help] Telos Compilation

2009-04-12 Thread Michael Schippling
Your library is probably not compiled for the telos platform, and I would guess that it needs to be in the msp compiler link path which is different from that of the PC. But the errors may be from a missing header file that goes with this lib. MS Rannouna Rania wrote: Hi all, In my

Re: [Tinyos-help] error :Segmentation fault (core dumped)

2009-04-12 Thread Michael Schippling
From the wiki page: A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access... Usually a bad pointer. If you want more help you should probably tell us what my application is and how/where you are running it. MS Rannouna Rania wrote:

Re: [Tinyos-help] Fw: Re: Heeeeeeeelp Voltage Supervisor LPL

2009-04-10 Thread Michael Schippling
Look in the controller manual for the minimum operating voltage, I suspect it is around 2v... The SVS is used to provide a warning that the power may be disappearing so the processor may shutdown cleanly. I doubt that it will allow you to run below the specs... MS Mohamed H. Seddik wrote: Hi

Re: [Tinyos-help] Compilation error - component not found

2009-04-07 Thread Michael Schippling
Try putting that directory in your makefile with: PFLAGS += -IC:/Crossbow... (or it might be CFLAGS) I believe forward slashes '/' are the kind to use. MS Kim Noble wrote: Apologies if this has been asked before, but I cannot find it on FAQ. Why when I include Crossbow’s TimeSyncService

Re: [Tinyos-help] TinyOS development platform question

2009-04-07 Thread Michael Schippling
TinyOS itself is freely available and some kind of open source. There are two major versions, 1 and 2 with similar but not enriely congruent in features. You can develop with it on Windows or various flavors of Linux, and maybe even the Mac. I haven't actually used Moteworks but I believe it is

Re: [Tinyos-help] Fuzzy Logic

2009-04-06 Thread Michael Schippling
yes and no... Anything that requires lots of math or memory is not a good match for micro-controller programming because our little processors have a minimum of both -- there's no floating point hardware and only 4-8K of RAM. If you have small sets and can convert your arithmetic to fixed point

Re: [Tinyos-help] how to add tinyviz into the PATH

2009-04-06 Thread Michael Schippling
Here's some basic advice: http://docs.tinyos.net/index.php/Java_cygwin although on re-reading, it only makes sense because I know what it's supposed to say...so...basically, on cygwin systems put this in your $HOME/.bashrc file: export PATH=$PATH:/some/new/directory where the new directory

Re: [Tinyos-help] Voltage Readings

2009-04-04 Thread Michael Schippling
The Getting Started manuals used to have the conversion formula, or search this list. MS Mohamed H. Seddik wrote: Hi I'm using voltageC interface to read my current voltages How can I see these readings */precisely/*

Re: [Tinyos-help] call a external library

2009-04-04 Thread Michael Schippling
First make sure that your lib is someplace where the linker can find it, usually with -l they are in some common directory tree or envvar path. Then I'm not sure where the pthread thing is coming from, it may be that you lib is compiled to use pthreads which don't exist in TOS. MS Rannouna Rania

Re: [Tinyos-help] Doubt of atomic

2009-04-01 Thread Michael Schippling
Try reducing the scope of the atomic section. It's way huge now. atomic shuts off interrupts so you may be missing important things. It should be used very sparingly. MS Jordi Pérez wrote: Hi, I've one mote which send packets in broadcast. On the other side I've three motes that receive

Re: [Tinyos-help] SerialForwarder

2009-04-01 Thread Michael Schippling
There is no message queue in the standard send call. You need to wait for a sendDone() before posting a new message. MS Sonia Pardo wrote: Dear All, When I receive a packet in the event ' event message_t *Receive.receive(message_t *msg, void *payload, uint8_t len) ' I do this: post

Re: [Tinyos-help] sense appication

2009-04-01 Thread Michael Schippling
I have two ideas... Look at the app/Sense demo and read the doc/tutorial. MS George Adamides wrote: visit greenworkscleaners.com http://www.greenworkscleaners.com/ Hello, I need help in writing a simple sense application that senses every 1 minute, changes LEDs based on

Re: [Tinyos-help] Adjusting the Data Sampling Rate of MicaZ

2009-03-31 Thread Michael Schippling
Somewhere, something, probably uses a Timer.start() to set a sample period, and those defines _might_ have something to do with it. I'd search for them in the code and see what they are used for. It might be that APP_RATE is the thing you want and that you can set it in your main program file. As

Re: [Tinyos-help] Voltage Supervisor

2009-03-31 Thread Michael Schippling
If your meter is indeed measuring Amps -- or more appropriately milli-Amps -- the serial connection you describe should work. You may have the meter set to measure volts, in which case it's impedance will be very high and it will act more like an open circuit. MS Janos Sallai wrote: The mote

Re: [Tinyos-help] Message garbled when received from multiple TelosB motes

2009-03-31 Thread Michael Schippling
You might try using ListenRaw to see the whole byte stream and look at the checksums. I forget if the basestation code verifies the checksum. I know the Listen code rejects messages that fail the checksum, so it looks like you are getting good messages. Maybe try a longer, predictable, data packet

Re: [Tinyos-help] Tinyos2.1 Error 53. Writing to Telosb.

2009-03-30 Thread Michael Schippling
thats a weird one...according to sys/errno.h it's: #define ENOANO 53 /* No anode */ which is not very enlightening...or it could be ECONNABORTED... And a quick google of errno 53 gets microsoft: http://technet.microsoft.com/en-us/library/cc940100.aspx which indicates some kind of

Re: [Tinyos-help] Regarding sampling rate

2009-03-30 Thread Michael Schippling
I'd think detecting gunshots using a mote would depend on how good a shot you are unless it's really close range... But you probably want to do audio sampling, right? I'm afraid I pontificate on that subject because I know about it in general, rather than having done it with motes, so I can't

Re: [Tinyos-help] How to send information from one node to a group of node?

2009-03-30 Thread Michael Schippling
TOS messages have a group ID field which is generally used to make completely separate systems that use the same radio channel. All nodes receive the messages but the low level code rejects those that don't have its pre-programmed groupID. Using this would mean that you would have to hack other

Re: [Tinyos-help] Sending different type of messages over the radio in TinyOS 1.x

2009-03-30 Thread Michael Schippling
The array index numbers indicate the type of message structure being used. Generally we like to #define or enum these in a header file someplace so they make some kind of sense and don't get us confused. You can see an example of handling different message types in my RoboCode:

Re: [Tinyos-help] Generating a Chirp

2009-03-30 Thread Michael Schippling
The micasb sensor board has a sounder component. MS Prasant Misra wrote: Hi, I am currently working on an application that requires to generate a chirp. Can anyone help me with this? Prasant Kumar Misra.

Re: [Tinyos-help] Help Regarding Addition Of Sensirion SHT11 to telosB

2009-03-29 Thread Michael Schippling
I believe you can just add the sensor but you might study the schematics and documentation to verify my belief. If it's surface mount you may end up destroying a few boards or sensors before getting it right though... MS MOHSIN MURAD wrote: Hi, I've received 8 telosB TRP2400 Motes from

Re: [Tinyos-help] BUILD/PC/MAIN.EXE not found

2009-03-28 Thread Michael Schippling
Looks like you don't have the NESCC compiler installed, or more likely, in your PATH: *make: ncc: Command not found Try this: type ncc you should get something like: ncc is /usr/bin/ncc If not look for ncc in /usr/bin and elsewhere and search this list for advice on setting your

Re: [Tinyos-help] BUILD/PC/MAIN.EXE not found

2009-03-28 Thread Michael Schippling
- ncc not found. What it is probably the origin of these errors, though I have nesc Installed? Best Regards, 2009/3/28 Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu Looks like you don't have the NESCC compiler installed, or more

Re: [Tinyos-help] Fwd: Hi i to am developing an application using MDA300CA from crossbow need help - reg

2009-03-25 Thread Michael Schippling
Please send messages to TinyOS Help Tinyos-help@millennium.berkeley.edu Work through the examples in tos/doc/tutorial and search the help list for MDA300 information. I believe it is only supported under TOS 1.1.x and xbow Moteworks. MS mahesh krishna wrote: -- Forwarded message

Re: [Tinyos-help] on using float or double types in TinyOS

2009-03-24 Thread Michael Schippling
1. floats are 4 bytes, doubles usually default to floats as well 2. our microcontrollers only have an integer multiply instruction 3. therefore floating point arithmetic is expensive 4. there's nothing you can measure beyond 10-12 bit accuracy 5. therefore fixed point is a better use of resources

Re: [Tinyos-help] environmental monitoring sensors

2009-03-23 Thread Michael Schippling
The basic stamp folks have a CO sensor: http://www.parallax.com/Store/Sensors/PressureFlexRPM/tabid/177/ProductID/547/CategoryID/52/List/0/Level/a/Default.aspx and try searching for gas detectors or the specific chemicals you are interested in. MS Hi, I am looking for environmental

Re: [Tinyos-help] Input/Output to/from a pin in MICAZ.

2009-03-19 Thread Michael Schippling
that the same port can be used as an input and output port without having to explicitly change its direction? Regards, Siddhartha. On Thu, Mar 19, 2009 at 2:34 AM, Michael Schippling sc...@santafe.edu wrote: You can put the ASSIGN in any global context -- outside of a function definition

Re: [Tinyos-help] Tinyos and Java Integration

2009-03-18 Thread Michael Schippling
look here for some advice: http://docs.tinyos.net/index.php/Java_cygwin TOS requires two native libraries and one add on package. The getenv dll is what's in java/jni. You also need a Java comm package, in T1 I think this is always the Sun version which I have squirreled away:

Re: [Tinyos-help] Input/Output to/from a pin in MICAZ.

2009-03-18 Thread Michael Schippling
You can put the ASSIGN in any global context -- outside of a function definition. The MAKE*OUTPUT would usually go in your init() or start() functions. The SET and CLR go where you want them to set and clear stuff. Search for uses of the sub strings, like TOSH_SET, in the existing code to see how

Re: [Tinyos-help] Tinyos-help Digest, Vol 71, Issue 60

2009-03-17 Thread Michael Schippling
The telosb chip has a Digital to Analog Converter (DAC) which is not implemented in TOS code, but there is some discussion on this list if you search back. As a last resort you can read the controller manual to figure out how to use it. The mica chip has no DAC but you can use a timer output to

Re: [Tinyos-help] TINYOS-INSTALLATION-JAVA and graphviz

2009-03-16 Thread Michael Schippling
Calm down... Later versions of both are fine. Try typing this in a shell window to see if you have anything installed and your PATH set correctly: type javac type dot MS Liang, Xueyao wrote: -- WARNING: The JAVA version found first by tos-check-env may not be version 1.4 or

Re: [Tinyos-help] Serial forwarder C compilation = what are the requirements?

2009-03-16 Thread Michael Schippling
What's doing the radio reception? MS Agnelo Silva wrote: I am using a small device (Linux-Debian embedded) which does not have any TinyOS software. This device will work as a base-station and I my intention is to avoid the addition of external packages, e.g. TinyOS. My idea is to only use

Re: [Tinyos-help] Oscilloscope Application

2009-03-15 Thread Michael Schippling
? Thank you so much for your time and I hope to hear from you soon. Daniel From: Michael Schippling [sc...@santafe.edu] Sent: Friday, March 13, 2009 2:08 PM To: Holt, Daniel Arthur Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help

Re: [Tinyos-help] nesC sample

2009-03-15 Thread Michael Schippling
One thing pops out to me in start(): ptr = (char*)buffer[bufferIndex]; This is turning a value in your buffer into a pointer and it probably points to nothing. I think you want this: ptr = (char*)buffer; which will make ptr point to the beginning of your buffer. Have a look at a C

Re: [Tinyos-help] nesC sample

2009-03-15 Thread Michael Schippling
. There is still some errors left (i.e. loggerRead error), and I am trying to fix it. Cheers Li ZHAO 2009/3/15 Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu One thing pops out to me in start(): ptr = (char*)buffer[bufferIndex]; This is turning a value in your

Re: [Tinyos-help] Oscilloscope Application

2009-03-13 Thread Michael Schippling
You have either not installed a Java DevKit or not set your PATH to point to its /bin directory. Have a look at this: http://docs.tinyos.net/index.php/Java_cygwin MS Holt, Daniel Arthur wrote: To all it Concerns: When following the Oscilloscope tutorial I typed /make/ in the /java

Re: [Tinyos-help] Adding java to crossbow software

2009-03-12 Thread Michael Schippling
My belief is that Moteworks is simply some later version of TOS 1.x You should be able to write Java programs using the 1.x tools class files and use them to communicate with motes programmed with Moteworks. See examples such as tools/java/net/tinyos/tools/Listen.java MS Dhivya G wrote: Hi

Re: [Tinyos-help] tinyOs environment check

2009-03-10 Thread Michael Schippling
to avoid this? as i told before that i have myos.sh file to set the env variables when i type this(CLASSPATH= ...) in it than it is not working... neh Michael Schippling-2 wrote: Oh, maybe you are not sourcing your env file. If you just run it as a command it sets variables in a new shell

Re: [Tinyos-help] Creating a jar file for a java TinyOS application

2009-03-08 Thread Michael Schippling
, Rodrigo 2009/3/3 Michael Schippling sc...@santafe.edu mailto:sc...@santafe.edu You need to somehow include the getenv and toscomm (or win32com, or whatever version you are using) native libraries, as well as the properties file, in your package and then get them installed

Re: [Tinyos-help] NesC Beginner: Code for Commands

2009-03-06 Thread Michael Schippling
As a general case you look in your application's config files components section to see what the component might be called, in this case LedsC. This may be hampered by one or more remappings using as and other features of the nesc config. Then you do a file find in all the tos directory trees that

Re: [Tinyos-help] FW: BaseStation problem on using java net.tinyos.tools.MsgReader BlinkToRadioMsg (Tutorials Lesson 4)

2009-03-04 Thread Michael Schippling
First you shouldn't (and actually shouldn't be able to) run two Listeners at the same time. It sounds like they are stealing message bytes from each other. Assuming you have run Listen successfully and seen good messages it may be that you are inadvertently using the wrong message protocol. The

Re: [Tinyos-help] Creating a jar file for a java TinyOS application

2009-03-03 Thread Michael Schippling
You need to somehow include the getenv and toscomm (or win32com, or whatever version you are using) native libraries, as well as the properties file, in your package and then get them installed in the right places in your JRE. I don't think you can do that with a straight-up jar file so you may

Re: [Tinyos-help] Batter Monitor

2009-02-25 Thread Michael Schippling
Look at the Voltage components in the various platform directories MS Mohamed H. Seddik wrote: Hi all I need your help urgently, is it poosible to sense or monitor the battery voltage level by tinyos if yes how, if not can we develope something do this in tinyos ??? Mohamed

Re: [Tinyos-help] telosb Hardware problem

2009-02-23 Thread Michael Schippling
MOS chips use very little power. I've managed to accidentally get them to work them by applying power to I/O pins just like you have done and then wonder why my circuit layout was wonky. Its basically magic, but I wouldn't depend on it... You shouldn't use 5v, the chips are rated at 3.3v I think.

Re: [Tinyos-help] math.h on Telosb

2009-01-27 Thread Michael Schippling
I seem to remember that there are parallel functions with slightly different names, that perhaps use int arguments (or some other sillyness). If you can find the math lib you can do an nm on it to see what is actually there, or maybe just look at the math.h file contents... MS BAI LI wrote:

Re: [Tinyos-help] From Siva

2009-01-26 Thread Michael Schippling
I would start by actually looking at the .h file in question. Could also google failed to parse file and see if there's an explanation of why it doesn't present you with a line number or other specific information. MS Siva Sankar Gupta wrote: Hello, I would like to run an application in java

Re: [Tinyos-help] Pls help me! - Help on tinyos

2009-01-24 Thread Michael Schippling
I think, and/or hope, that you are looking for the largest positive integer which can be represented in an enum. There's usually a #define for such, but I can't (am too lazy) to find it. Assuming we are using 16 bit ints then the value (given all sorts of prior special knowledge) would be 0x7FFF

Re: [Tinyos-help] time synchronization for MICAz wsn's

2009-01-24 Thread Michael Schippling
I found this sorta recent paper with lots of time sync info: http://www.cs.uic.edu/~ajayk/ext/ClockSyncWSNsurvey.pdf I haven't read it for accuracy, but hey, it's a thesis of some kind... MS Omprakash Gnawali wrote: On Fri, Jan 23, 2009 at 4:36 PM, wolfgangmi wolfgan...@gmail.com wrote: Hi

Re: [Tinyos-help] Send Data Hello Wold

2009-01-21 Thread Michael Schippling
First, you probably should have declared nx_uint8_t datatx[14] rather than an empty [] which turns into a pointer (unless the nx_ type handlers are smarter than me). Unfortunately the default message size in T2 is 28 bytes. Search this list for ways to increase that size, and the concomitant

Re: [Tinyos-help] TMote Sky Help

2009-01-20 Thread Michael Schippling
to simulate the draining battery using external circuitry (i.e. using a programmable power supply). Thank you, Jimmy On Fri, Jan 9, 2009 at 7:28 PM, Michael Schippling sc...@santafe.edu wrote: Yup, according to the schematic the USB chip is powered from the host. Look on the top left of page 3

Re: [Tinyos-help] Reprogramming Sensor Boards for Higher Sampling Rates

2009-01-20 Thread Michael Schippling
Sample loops are usually driven by a Timer which is set to repeat at a fixed rate. In the T1 Oscilloscope.nc file this is: call Timer.start(TIMER_REPEAT, 125); where the last argument is the number of binary milli-seconds between samples. You can reduce this value to a mostly arbitrary 3. If

Re: [Tinyos-help] Error Compiling a Simple Application

2009-01-20 Thread Michael Schippling
Work through the doc/tutorial and use some of the demo apps. Then send us a detailed description of your problem. MS Miguel Silva wrote: Hi, I am new to TinyOS and I am taking some baby-steps to try to evolve to something more complex. For now I just want to make a simple program where 1

Re: [Tinyos-help] GPIO usage

2009-01-15 Thread Michael Schippling
I answer this about ever 6 months. Here's a second order back link: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg11320.html And my list of what pins and signals do what on the Micas: http://www.etantdonnes.com/Motes/ATMEGApins.txt The connector is speced on the

<    3   4   5   6   7   8   9   10   11   12   >