Re: [Tinyos-help] SendMsg.send

2008-12-17 Thread Michael Schippling
I'm sure this is covered in the tutorials but the basics are: Put something like this in your config file: RoboMsgM.RStatusMsg -> GenericComm.SendMsg[AM_ROBOSTATUSMSG]; Where the array argument is an arbitrary 8 bit number to identify the message structure (type) being sent, and RStatusMsg is

Re: [Tinyos-help] serial comm

2008-12-17 Thread Michael Schippling
Look for the OctaveTech document about T1's format, google: octavetech TOS and look at the TEPs on http://docs.tinyos.net/index.php I think one of them has T2 info. But reverse engineering the Packetizer.java tools file is probably the most accurate way. MS roberto pagliari wrote: > Hello ever

Re: [Tinyos-help] duty cycle

2008-12-16 Thread Michael Schippling
see: http://docs.tinyos.net/index.php/Java_cygwin look for: PATH MS srikanth chitturi wrote: > > > Hi All, > I am installing tinyos-2.x.I have encountered a problem > after installing.while i am compiling program through cygwin,it > shows "java command" not found in lin

Re: [Tinyos-help] Writing to P2.3 and P2.6

2008-12-15 Thread Michael Schippling
F > > did the trick > > Looked for outp macros for telosb but could not find such. I will > declare my own > > > Thank you again! > > LV > > > --- On *Sat, 12/13/08, Michael Schippling / <mailto:sc...@santafe.edu>&g

Re: [Tinyos-help] Sensor Interfacing with Micaz

2008-12-14 Thread Michael Schippling
I'm not sure what's new and what's old in your schematic, but yes, in general you can connect your sensor directly to ADC1 as long as it doesn't produce a voltage higher than the mica's battery supply voltage. I don't know what C2 and R3 are for in your diagram... The use of the INTn lines is to "

Re: [Tinyos-help] FTSP Question

2008-12-14 Thread Michael Schippling
I found that the Boomerang time-sync code had an arbitrarily low threshold for correcting clock drift due to differing timer crystals. There may be something similar in FTSP. MS Scott Moeller wrote: > I'm using packet source and sink timestamps from FTSP to carry out a > performance evaluation o

Re: [Tinyos-help] Writing to P2.3 and P2.6

2008-12-13 Thread Michael Schippling
gt; > Then, in the module use the GeneralIO interface: > > interface GeneralIO as Pin; > > Then you should be able to to set the pin to high/low with the following > calls: > > call Pin.set(); > call Pin.clr(); > > Cheers, > Urs > > Michael Schippling w

Re: [Tinyos-help] Writing to P2.3 and P2.6

2008-12-12 Thread Michael Schippling
0; // Sets for output > atomic (*(volatile uint8_t *)0x33) &= 0x8F; // Sets for IO > atomic (*(volatile uint8_t *)0x31) |= 0x70; // Sets pins 4,5,6 > of port 5 > > Regards, > > LV > > > --- On *Fri, 12/12/08, Michael Schippling //* wrote: > >

Re: [Tinyos-help] Writing to P2.3 and P2.6

2008-12-12 Thread Michael Schippling
You should be able to write a full byte to the port 2 register but you'll have to do a little code archeology to figure out what function to use. E.g., in T1 for micas I use: outp( value, portaddr ); Also you need to make sure you don't twiddle anything attached to the other bits on the port.

Re: [Tinyos-help] How to declare a pointer to user defined structure

2008-12-11 Thread Michael Schippling
-- > Love All, Serve All > > > Dwight L. Moody - "I have had more trouble with myself than with any > other man I've met." > > On Thu, Dec 11, 2008 at 1:22 PM, Michael Schippling <mailto:sc...@santafe.edu>> wrote: > > That looks fine

Re: [Tinyos-help] How to declare a pointer to user defined structure

2008-12-11 Thread Michael Schippling
That looks fine to me... Perhaps there is something else wrong in the file before you get to the declaration? Try moving it around. And then start eliminating stuff...my suspicious nature would start with the nx_ things... MS JD wrote: > Greetings Folks, > > I've a stupid (I believe) question.

Re: [Tinyos-help] About getting the battery of micaz

2008-12-10 Thread Michael Schippling
The User Manual "Doc. # 7430-0021-07 Rev. B" has a formula for the micas on page 19 (printed) or 25 (pdf), basically: vBatt = 1.223 × 1024 / ADC_Count If your 140 ADC_Count is in hex you are in the ballpark, or perhaps you haven't converted two bytes to get the full 10 bit result. MS SHE

Re: [Tinyos-help] About getting the battery of micaz

2008-12-10 Thread Michael Schippling
I'm going to assume that the values you get are between 140 and 148 rather than being 148 thousand and change... In which case, look in the Getting Started Manuals or search this list for a conversion formula. There's probably even a FAQ on docs.tinyos.net MS SHEN Zhong wrote: > Hi, everyone >

Re: [Tinyos-help] Tinyos-help

2008-12-10 Thread Michael Schippling
I don't know why you don't have a "pc" target in T1, but in this message Phil Levis claims to have added some material to the tutorial about simulation problems: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-January/021735.html Unfortunately the link he promises is missing, so I

Re: [Tinyos-help] Sending data to the serial port

2008-12-09 Thread Michael Schippling
For Tos1 see: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-August/035753.html MS Siva Sankar Gupta wrote: > Hi, > > Iam a beginner in this area of sensor networks. I would like to know how > to send data to the serial port using a java application. > Further i want to send the

Re: [Tinyos-help] can current task be pre-emptible by any _sync_ event?

2008-12-08 Thread Michael Schippling
Thanks for the terminology clarification. I guess I should read that book, ne? MS Eric Decker wrote: > > > On Mon, Dec 8, 2008 at 11:13 AM, Michael Schippling <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I believe that all your asserti

Re: [Tinyos-help] can current task be pre-emptible by any _sync_ event?

2008-12-08 Thread Michael Schippling
I believe that all your assertions are correct, however it is possible for the "higher level sync events" to be executed directly from the interrupt handler and thus in interrupt context, rather than from a new task. But the take-away point is that tasks should not be long-running because they may

Re: [Tinyos-help] Transmission rate micaz

2008-12-05 Thread Michael Schippling
The low-level bit rate is in the chip spec sheet and probably touted on various "features" pages. The actual comm speed is (by my partially scientific guestimates) around 200 messages per second over the entire system. MS Daniel Patrick wrote: > Hi All, > > What is the transmission rate of micaz

Re: [Tinyos-help] GPIO and radio

2008-12-05 Thread Michael Schippling
I'll be danged...in the Users Manual there is a sketchy schematic of the micaz -- sketchy in that it shows only the parts that are different from the mica2 bits later in the manual -- that shows INT2 as being connected to the "Micaz Radio Module" FIFOP pin, as well as some strange "noload" resistor

Re: [Tinyos-help] make error

2008-12-04 Thread Michael Schippling
wierd...errno #57 is EBFONT /* Bad font file fmt */... Must be something else. Sorry I have no ideas though. Are you sure that you are installing a new program? Check the dates on the files, you may be using an old hex file left over from when it worked. MS maryam ebraheem wrote: > hi > I am wo

Re: [Tinyos-help] GPIO and radio

2008-12-04 Thread Michael Schippling
I use PortB 5,6 for PWM output on mica2 under T1 with no problems. If you're just trying to make continuous pulses see my code: http://www.etantdonnes.com/Motes/AVR128timers.zip I believe the INT pins are only used by the micasb board. Perhaps you have a timing or interrupt latency problem? M

Re: [Tinyos-help] micaZ error

2008-12-03 Thread Michael Schippling
Make sure you have the right port name... it's the COMN-1. Also check the power to the MIB and the connection to the micaz. MS MaHa wrote: > Hi, > I have problem in programming micaZ > I got "Programmer is not responding" error when I tried to install Blink > onto a micaZ > > [EMAIL PROTECTED]

Re: [Tinyos-help] Plz help!!

2008-12-02 Thread Michael Schippling
Start here: http://docs.tinyos.net/index.php/Main_Page and especially: http://docs.tinyos.net/index.php/Getting_Started_with_TinyOS Also see the TOS install tree for a relevant tutorial, or, depending on which major version you are using: http://www.tinyos.net/tinyos-1.x/doc/tutoria

Re: [Tinyos-help] problem in reading from environnement

2008-11-29 Thread Michael Schippling
That doesn't look like it's the right number of bytes... The telos header is 10 bytes or the serial header is 5, plus your message which is 24, and that string is 32... Try to line up the right header and your message and see if you can make sense of it, I can't right now. Your message type is 0x14

Re: [Tinyos-help] including binary components in makefile

2008-11-28 Thread Michael Schippling
s separately compiled .o file > > > > My question is > > 1) How do I get this .o file? > > 2) How do I call functions in LedsC? > > 3) How can I still compile it using "make platform" or necessary > swi

Re: [Tinyos-help] problem in reading from environnement

2008-11-28 Thread Michael Schippling
Well, you are setting the message values before the data is ready from the Done() methods, but that would probably just delay the readings a bit. Can you get any of the values to change in any reasonable way? And how are the message fields defined? You may have some byte ordering problems, look at

Re: [Tinyos-help] interface micaz with RS232 ..?

2008-11-28 Thread Michael Schippling
First check to see if your sensor is "real" RS232, or "logic level". Real swings +/- and requires a level converter such as on the MIB. If it's logic level you can attach it directly to the second UART port on the micaz board and skip the MIB altogether. Then use the UARTC component to config and t

Re: [Tinyos-help] including binary components in makefile

2008-11-28 Thread Michael Schippling
ons in LedsC? > 3) How can I still compile it using "make platform" or necessary switch > to be provided in Makefile for including this binary component > > I hope I have stated the problem properly... > > > > 2008/11/28 Michael Schippling <[EMAIL

Re: [Tinyos-help] including binary components in makefile

2008-11-28 Thread Michael Schippling
If you are asking how to compile and download a TOS application see the doc/tutorial for your version and the various Getting Started guides that usually ship with devkits. Or see: http://docs.tinyos.net/index.php/Using_TinyOS Otherwise, why don't we start by defining what you mean by "*binar

Re: [Tinyos-help] Problem using C-based SerialForwarden under Windows XP

2008-11-28 Thread Michael Schippling
nillo wrote: > Java tools work perfect. Do you suggest to debug with gdb or anyone > else? > > Thanks. > > El vie, 28-11-2008 a las 07:25 -0700, Michael Schippling escribió: >> Did you say that you were able to use the Java based >> SF or Listen programs? If they work

Re: [Tinyos-help] problem in reading from environnement

2008-11-28 Thread Michael Schippling
Hmm, 4096 should be the maximum reading. Look into how you are handling the values on both ends -- mote and pc. Perhaps you are trying to interpret the wrong bytes in the wrong order. Do those value change when you heat/cool/humidify the sensors? MS jolly 94 wrote: > hello > > i am trying to re

Re: [Tinyos-help] Problem using C-based SerialForwarden under Windows XP

2008-11-28 Thread Michael Schippling
; "Couln't open serial port at /dev/ttyS5" > "Couln't open serial port at serial@/dev/ttyS5" > and so on. > > Any ideas? > > Thank u > > > El mié, 26-11-2008 a las 11:20 -0700, Michael Schippling escribió: >> try /dev/ttyS5 -- the tty

Re: [Tinyos-help] Re : java issues tinyos.jar

2008-11-28 Thread Michael Schippling
have a look at this: http://docs.tinyos.net/index.php/Java_cygwin and search this list for "CLASSPATH" advice. MS ivi610 wrote: > Hi > i already tried to do this but i can't compile, there are plenty of > errors at compile time. > I put the errors in the file tmp.txt attached to this mail.

Re: [Tinyos-help] Acknowledgements in Micaz

2008-11-27 Thread Michael Schippling
It's entirely possible that the ack field is defaulted ON when not being used. Also, I haven't looked that carefully, but I seem to remember that the 'Z radio has a hardware level ACK and the the MacControl disable is only for the software level used in the mica2... You'd have to search through the

Re: [Tinyos-help] passing argument from incompatible pointer type

2008-11-27 Thread Michael Schippling
Even though your "x" is a two dimensional array, I believe I think I remember that C will treat it as a pointer to a one dimensional object, so try taking a * off of the function argument defines. This begs the question of how you will use it in your SimulaNN() function because it doesn't know the

Re: [Tinyos-help] Problem using C-based SerialForwarden under Windows XP

2008-11-26 Thread Michael Schippling
try /dev/ttyS5 -- the tty port number is ComN-1 but I can make no guarantees about SF working. The whole /dev thing on cygwin is a mysterious-kludge-like-system, there seem to be 16 (0-15) tty devices hidden in some library someplace. Listing the directory with ls shows nothing but listing individ

Re: [Tinyos-help] Sense Application

2008-11-24 Thread Michael Schippling
sensor, I'm running TinyOS-2.x on using XubunTOS. > > On Mon, Nov 24, 2008 at 2:32 PM, Michael Schippling <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > You can either go into your platform directory of choice > and change the config file

Re: [Tinyos-help] Sense Application

2008-11-24 Thread Michael Schippling
You can either go into your platform directory of choice and change the config file for DemoSensor, or else just throw the whole thing out and connect directly to the ADC channel you want to sample. Note that the demo Temp and Photo sensors also need to be enabled by turning on a PWx pin, so the th

Re: [Tinyos-help] RTT with tinyos

2008-11-21 Thread Michael Schippling
If RTT means "round trip time" you might look at my old mica report: http://www.etantdonnes.com/Motes/report_mica2/ it has a link to the code I used. I never updated to telos and T2 but it should be fairly straight-forward. MS Lorena Aguirre wrote: > Hello, > > We are trying to calculate RTT wi

Re: [Tinyos-help] OFF-TOPIC: How to find a flat-cable (51-pin Hirose connector)?

2008-11-20 Thread Michael Schippling
|3001057 > > <http://meritec.thomasnet.com/item/all-categories/fpdi-1-51-position-display-cables/item-2659?&seo=110&bc=100%7C1003%7C3001093%7C0%7C3001057> > > really shows the flat-cable at a price of US$ 28.55 + shipping. I will > buy some of them for the WSN student&#x

Re: [Tinyos-help] Attaching a third-party sensor to telosB/tmote sky

2008-11-20 Thread Michael Schippling
If your sensor is sending serial data you don't need an ADC channel you need to connect it to a serial input on the telosb and use the UART components to read data. UART0 is available on the 10 pin I/O header at: pin 2UART0RX UART0 receivePORT35 pin 4UART0TX

Re: [Tinyos-help] OFF-TOPIC: How to find a flat-cable (51-pin Hirose connector)?

2008-11-19 Thread Michael Schippling
te: > Please, if you could send the wiring schema you used, it would be fine. > Tks. > > > 2008/11/19 Michael Schippling <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > I've never seen the mythical 51-pin flat-cable either. > I haven't looked

Re: [Tinyos-help] OFF-TOPIC: How to find a flat-cable (51-pin Hirose connector)?

2008-11-19 Thread Michael Schippling
I've never seen the mythical 51-pin flat-cable either. I haven't looked at my (510) programmer layout lately but I seem to remember that one could piggyback the sensor board, is there a mechanical/clearance problem? One possible solution is that the programmer only needs a small subset of signals.

Re: [Tinyos-help] passing a poinetr by a fonction

2008-11-19 Thread Michael Schippling
Whoa, shorter variable names and some whitespace will probably make everything work...Just kidding... That all looks like it should work correctly. Is it possible that your counter is never incremented in the sub-function? I don't know that there is a problem with int32's but you might try an int1

Re: [Tinyos-help] javac not found - Previous threads haven't help me

2008-11-18 Thread Michael Schippling
And my replies didn't make a bit of difference? oy MS José Inda wrote: > Thanks Nisha, finally someone here helped me and I wrote the solution. > I had read earlier threads with 'Michael' replies already. > > On Tue, Nov 18, 2008 at 7:01 PM, nisha jain <[EMAIL PROTECTED]> wrote: >> Hi Jose, >> >

Re: [Tinyos-help] MicaZ&MTS300 Voice Sampling and transmission CODE IF it is valid.

2008-11-18 Thread Michael Schippling
I think I've been over this with someone recently so search the last month or two's messages...If you're getting 8k samples/sec that's 400 every 50ms, which will not fit into a single TOS_Msg... Looking at your code I see one big problem in that you should be buffering up as many samples as you ca

Re: [Tinyos-help] FW: assembly & nesC

2008-11-17 Thread Michael Schippling
see...it was so easy. congratulations! and thanks for posting a solution MS stefano starita wrote: > OK the problem was: > low() and high() can't be used, lo8 and hi8 must be used > SPH and SPL must be replaced with __SP_H__ and __SP_L__. > $ must be replaced by 0x > ZH, ZL, YH, YL, XH, XL must

Re: [Tinyos-help] help

2008-11-16 Thread Michael Schippling
Work through the doc/tutorial and see the SimpleCmd demo app. I don't think there is a specific demo that turns the Mic on but it should become "obvious" in a TOS sort of fashion how to proceed if you understand the tutorial lessons. MS baha issa wrote: > dear sir / madam > I'm Baha Issa from J.U

Re: [Tinyos-help] FW: assembly & nesC

2008-11-16 Thread Michael Schippling
hmm, just tried to put your line into one of my files and got similar results: /tmp/ccB8qCt9.s: Assembler messages: /tmp/ccB8qCt9.s:6800: Warning: expression possibly out of 8-bit range /tmp/ccB8qCt9.s:6800: Error: garbage at end of line make: *** [exe0] Error 1 Of course the system helped me by r

Re: [Tinyos-help] Pir Sensor interfacing with MtS100 and Micaz

2008-11-16 Thread Michael Schippling
e mote ? > and for the software side which iam using (SenseToRfm) that used to send > the light sensor i only need to change the port (pin) of light sensor in > the file (sensorboard.h) to the pin of pir sensor output can i used the > pw0,pw1,... pins for output pin or adc0,adc1,.... > t

Re: [Tinyos-help] Pir Sensor interfacing with MtS100 and Micaz

2008-11-16 Thread Michael Schippling
What kind of output does your sensor produce? The PIR devices I've seen are binary...I presume it has some conditioning circuit as the output from the sensor itself is usually pretty low-level. If it is just a binary signal, then you can skip the micasb board and just connect the output to an ava

Re: [Tinyos-help] FW: assembly & nesC

2008-11-16 Thread Michael Schippling
Just a couple suggestions ... Compare your usage with some existing ones. I found one in tinyos-1.x/tos/platform/avrmote/crc.h where there is no \n\t at the end of the asm() string. It's also possible that the embedded newline between your mnemonic strings is causing trouble. You could try putting

Re: [Tinyos-help] Displaying Message in Cygwin

2008-11-11 Thread Michael Schippling
Look at the Listen and Oscilloscope Java tools for ways of receiving and parsing messages. Read through the doc/tutorial for more info, and search for "mig", a tool which creates a java class file from a TOS C meassage struct. MS Tony K B wrote: > Hello Users of TinyOs > > I will like to know ho

Re: [Tinyos-help] tmote sky interface ADC

2008-11-11 Thread Michael Schippling
tudied the schematic. The schematic said R_VREF connect to the ground. And I used voltage meter to test, the result is the pin VeREF+ is connected to the ground. So I am confused here. On Mon, Nov 10, 2008 at 2:29 PM, Michael Schippling <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>

Re: [Tinyos-help] Dealing With Recieved Voice Packets.

2008-11-10 Thread Michael Schippling
I think the javax.sound package has classes for creating .wav format files and such. Or look at the JMF. I just googled "java .wav" and found this for playing .wav files: http://personalwebs.coloradocollege.edu/~jbredin/java/examples/playwav.html MS Mosab I. Messad wrote: > Hello eveybody, > hope

Re: [Tinyos-help] Controlling Tmotes from PC

2008-11-05 Thread Michael Schippling
In T1 there was the SimpleCmd demo app that does some control functions. MS Eric Keller wrote: > If I was going to do that, I'd look at the printf library. Of course, it > sends data the other way, but it's a good start. > On the other hand, it makes much more sense to control the motes > over t

Re: [Tinyos-help] errors on java net.tinyos.tools.Deluge --ping Any idea?

2008-11-04 Thread Michael Schippling
For Deluge 2.0, I think something worng with Java as I > didn't change anyting in tinyos. I am currently using java 1.4. Should I > upgrade it to 1.5 instead? Thanks. > > Regards, > Bai > > On Wed, Nov 5, 2008 at 11:00 AM, Michael Schippling <[EMAIL PROTECTED]

Re: [Tinyos-help] errors on java net.tinyos.tools.Deluge --ping Any idea?

2008-11-04 Thread Michael Schippling
0 > [EMAIL PROTECTED]:19200 <mailto:[EMAIL PROTECTED]:19200>: resynchronising > > Bai [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > /opt/tinyos-1.x/apps/tosbase > $ unset MOTECOM > Bai [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > /opt/tinyos-1.x/apps/tosbase >

Re: [Tinyos-help] errors on java net.tinyos.tools.Deluge --ping Any idea?

2008-11-04 Thread Michael Schippling
Do you have a SerialForwarder process running? It looks like Deluge is trying to connect to one... Most likely what you need to do is set a MOTECOM environment variable to point to the serial port connected to your basestation mote. If there's no MOTECOM things default to trying to use the S.F. on

Re: [Tinyos-help] java.lang.NoClassDefFoundError: net/tinyos/tools/Listen

2008-11-04 Thread Michael Schippling
Also, your classpath should contain the jar name rather then the directory. MS Janos Sallai wrote: > It looks as if your tinyos.jar file were corrupted. You can either > rebuild it (make clean; make) or fetch it from the CVS: > http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/support/s

Re: [Tinyos-help] watchdog -- atmega128 vs 1281

2008-11-04 Thread Michael Schippling
Watchdogs usually just force a reboot of the controller if they are not cancelled periodically. I would compare the reboot techniques of the atmega's in question in their respective manuals to see if there is some difference. MS Para Lee wrote: > Hi All, > I need a watchdog in my app and I'm us

Re: [Tinyos-help] Fwd: Regarding tmote sky sampling rate

2008-11-03 Thread Michael Schippling
't actually say _why_... All water under the sinkhole now. MS Philip Levis wrote: > > On Nov 3, 2008, at 1:25 PM, Michael Schippling wrote: > >> Lets put this on the help list to keep a record >> >> The Intelligent Designers kind of arbitrarily limited the &

Re: [Tinyos-help] Fwd: Regarding tmote sky sampling rate

2008-11-03 Thread Michael Schippling
state university > Oklahoma > > On Mon, Nov 3, 2008 at 12:16 PM, Michael Schippling <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I'm cc'ing this back to the help list where someone may have a > better opinion... > > I

Re: [Tinyos-help] Fwd: Regarding tmote sky sampling rate

2008-11-03 Thread Michael Schippling
I'm cc'ing this back to the help list where someone may have a better opinion... I would generally set a repeat Timer in start() like this: call Timer.start(TIMER_REPEAT, READMS); where READMS is something above 3ms (the undocumented minimum in T1). When the timer fires, start a conversion. T

Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-11-02 Thread Michael Schippling
t; highly appreciate your help > wahid > > Note: > 1-plz don't forget that in the Makefile i changed COMPONENT=TestUartSimple to > COMPONENT=TestUartRadio > 2-I'm Running a XubunTOS Virtual Machine Image in VMware > > > --- On Wed, 10/

Re: [Tinyos-help] make error

2008-10-31 Thread Michael Schippling
I think you need to have MAKERULES set correctly in order to get all the TOS meta-hacks for various platforms? See my recent lugubrious post on setting the cygwin env, and search for MAKERULES on this list and in the doc... MS Ittipong Khemapech wrote: > Hi, > > I have forwarded your reply to th

Re: [Tinyos-help] tmoteinvent

2008-10-31 Thread Michael Schippling
It's so easy to find, isn't it? Probably: moteiv/tinyos-1.x/tos/lib/Oscope/Oscope.h Which I found by searching for a files named "Oscope" because the interface section of the main code used that name... MS Patrick Brady wrote: > hi folks, > > I'm fairly new to tinyos and i have a question reg

Re: [Tinyos-help] cleaner and fast way of tiny os setup in windows + cygwin

2008-10-31 Thread Michael Schippling
All this should not be so danged hard, but that's the way things get... I threw in the towel on using automated scripts and helpful installs. Instead I put everything explicitly in my .bashrc file so I can change it when needed...this is especially useful in you use multiple versions of Java and T

Re: [Tinyos-help] TOSComm JNI library runtime error

2008-10-31 Thread Michael Schippling
If that is the port that "motelist" claims is connected to your telosb then there may be a permission problem, or perhaps you have some other program that already has it open. You can look in the Device Manager for information about the COM and USB ports. Also make sure you have installed the neces

Re: [Tinyos-help] send and receive

2008-10-30 Thread Michael Schippling
gh the Tutorials. MS Lorena Aguirre wrote: > Hello, > > I get Oscilloscope and trying to became it in a program for my receptor > (receive a message and inmediatly send a message) > Could you tell me if I am do it right? (I attach it) is the best way? I > have tinyos 1. > Thank

Re: [Tinyos-help] MDA300 and external sensors

2008-10-30 Thread Michael Schippling
I'd hazard an uninformed guess that the program you are using defaults to collecting data from most or all of the I/O channels on the MDA300, and further that it doesn't configure the ADCs for differential input. I'd kind of expect that ADC0&1 would be used as the differential input and that you wo

tinyos-help@millennium.berkeley.edu

2008-10-28 Thread Michael Schippling
ing the samples > locally in order to shrink the information before sending it through the > network. Then this will be a very good work for your graduation. > > > ***** > João Giacomin > Prof-DCC-UFLA > * > > -- Origin

tinyos-help@millennium.berkeley.edu

2008-10-27 Thread Michael Schippling
ny related feature. > > and I didn’t save any effort, and search place or site that related to > what I need but found nothing. > > just talk no helpful examples :( > > hope one used and tested this thing help me. > > thanks again > > ------

tinyos-help@millennium.berkeley.edu

2008-10-27 Thread Michael Schippling
Many have tried, search this list of audio, sound, microphone. The HighFrequencySampling demo app in T1 is probably the place to start. MS Mosab I. Messad wrote: > Slaam Alekoam, > > Hello to all, I am working on a project that includes recording human > voice using the micaZ node using the b

Re: [Tinyos-help] tos-install-jni-JNI ERROR

2008-10-26 Thread Michael Schippling
tos-install-jni seems to work about 75% of the time... search this list for many examples and some workarounds, or just copy the few TOS shared objects into your JRE/bin directory. MS Mark Tween wrote: > > > > HI > i have install tinyos some example worked correctly > but > > $ tos-install-jn

Re: [Tinyos-help] java application + tinyOS

2008-10-23 Thread Michael Schippling
Start by working through the doc/tutorial pages. MS Davide Moro wrote: > Hi, > I'm new to tinyos and exploring Tossim in tinyos2.1 version. > i have a "moteiv tmote sky" and I want to compile my program (blink) and > install it on a moteWhich are the command for do this? > > Please do help m

Re: [Tinyos-help] java application + tinyOS

2008-10-22 Thread Michael Schippling
Are you running Netbeans under the shell or independently? It appears that it is not getting the MOTECOM env var. You might try setting that variable in a more "global" way...if on windows you can put it in the My Computer Environment panel. MS MaHa wrote: > hi .. > > I programmed one telosb mo

Re: [Tinyos-help] MICA2/MICAz: reading external voltage (0 to 1VDC) directly from an ADC pin of 51-pin connector

2008-10-21 Thread Michael Schippling
I'm not sure why there is an extra battery in the plan unless the sensor needs a higher voltage to operate. As Eric says just keep the sensor output below the controller's Vcc and everything will be fine. I think the external DAC board has a 12 bit converter whereas the ATMEGA's internal ADCs are 1

Re: [Tinyos-help] send and receive

2008-10-21 Thread Michael Schippling
Other than hiring me to do your work I'm afraid the only way to get it done is to hack at it yourself. The demo apps do much of what you want, so playing with them as you work through the tutorial is the best approach. This list is the place to go if have specific questions, but try to search past

Re: [Tinyos-help] Battery Voltage measurement

2008-10-20 Thread Michael Schippling
The value from ADC7 is what you use in the formula. The ADC code takes care of interleaving calls to various channels if you are worried about getting a sensor value from ADC1 (and RSSI from ADC0 for that matter) "at the same time". There (used to be) a "Voltage" component for mica's that took care

Re: [Tinyos-help] About the packet with different length

2008-10-18 Thread Michael Schippling
Different message payloads can be of different lengths, up to the maximum. The Receive layer doesn't know what sort of message it is dealing with, so it does some integrity checks based on header information and uses the length to figure out where the CRC is. MS Peng wrote: > Hi, there, > > I no

Re: [Tinyos-help] having no luck with telosb ADC12 on tinyos2.10

2008-10-17 Thread Michael Schippling
I'm signing on as one of the zero people not using T2.1 and MSP-ADCs... But one obvious question: Why did you upgrade? Is there some new functionality you can't live without? MS Eric Keller wrote: > Just in case someone was thinking about jumping in and helping > me with this, I tried again using

Re: [Tinyos-help] implicit declaration of function `TOSH_MAKE_BAT_MON_OUTPUT'

2008-10-15 Thread Michael Schippling
In T1 those pin assignment macromacro-macros are usually in the hardware.h file. I found this: tos/platform/mica2/hardware.h:121:TOSH_ASSIGN_PIN(BAT_MON, A, 5); but that file (and the other matches) is not included when you make pc so you'll probably have to kludge something. There may not be a

[Tinyos-help] PDA TOS client?

2008-10-01 Thread Michael Schippling
Has anyone run the TOS Java code on a PDA or other ultra portable device to talk to a TOS network? I just need to be able to send and receive messages, not do development. If so what devices and code hacks did you use? thanks MS ___ Tinyos-help mailing l

Re: [Tinyos-help] AM source destination stuff

2008-09-18 Thread Michael Schippling
I think you are confusing AMtype and MoteID. I believe that first arg to the send() should be the MoteID which is assigned when you install your program, or BCAST if you don't care what device receives the message. The AMtype is set by creating your sender and receiver. It defines the message struc

Re: [Tinyos-help] Serial Packet question

2008-09-18 Thread Michael Schippling
ocumenting things on the wiki...what an idea! Too bad I'm stuck in the old-creek without a paddle. Perhaps someone with a brain and a modern development system will step up to the task. MS Greg Hackmann wrote: > Michael Schippling wrote: >> I don't think that your header (from Seq#

Re: [Tinyos-help] 51-pin connector [EMAIL PROTECTED]

2008-09-18 Thread Michael Schippling
rrent buffer)? > > Thanks again. > > On Thu, Sep 18, 2008 at 1:41 PM, Michael Schippling <[EMAIL PROTECTED]> wrote: >> Actually the manual is at (note the capital 'S' on the first Support): >> http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_

Re: [Tinyos-help] Serial Packet question

2008-09-18 Thread Michael Schippling
It's not the tutorial and only for T1 mica2 but maybe this'll help... http://www.octavetech.com/pubs/TB5-01 Deciphering TinyOS Serial Packets.pdf Pay some attention to the "escape" technique required by the frame byte. I don't think that your header (from Seq# thru Message length) matches any of t

Re: [Tinyos-help] GIO Prablem

2008-09-18 Thread Michael Schippling
Search this list, the demo apps, and the interwebs for references to: MSP430GeneralIO MS Jessica wrote: > > > > > Hello , All > > I want to output digital data from tmote (GIO0,GIO1) to breadboard by a > wire . But I have no idea how to do it , is there any example file or > code cou

Re: [Tinyos-help] 51-pin connector [EMAIL PROTECTED]

2008-09-18 Thread Michael Schippling
Actually the manual is at (note the capital 'S' on the first Support): http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf I have a cheat sheet of pinouts at: http://www.etantdonnes.com/Motes/ATMEGApins.txt Also (in T1) tos/platform/micaz/hardware.h does some mapping of

Re: [Tinyos-help] sending text to URXD1 without header, footer, etc

2008-09-17 Thread Michael Schippling
Look at the lower level UART components in the various platform directories. MS Alberto Valente wrote: > Hi, I'm using tinyos2 on a tinynode (msp430) and I need to send and > receive some text strings on URXD1 and UTXD1 for communicating with a > serial device. > I need to remove all non-data f

Re: [Tinyos-help] Toggling a Port Pin

2008-09-17 Thread Michael Schippling
It may be because you have: uses interface HplMsp430GeneralIOC; Where the 'C' indicates that the file is probably a Component rather than an interface definition. I recently posted an example from my T1 code, was that useful? Otherwise, since I don't have T2 loaded anywhere, I'm of no use,

Re: [Tinyos-help] Usb to serial port converter,USB port ID

2008-09-16 Thread Michael Schippling
On Windows you can look in the Device Manager (from My Computer or under the Control Panel) and find (I think) Serial devices or somesuch. My actual Port ID will change if I use different USB hubs so you need to double check what's what. MS milos rovcanin wrote: > > Ok,i have a problem! I am usi

Re: [Tinyos-help] java error while compiling

2008-09-16 Thread Michael Schippling
; But my jdk 1.6 is installed in "c:/program files/java/jdk 1.6.0_05/bin" > now what u say? > > > > waiting for your early response > > thanks... > > On 9/15/08, *Michael Schippling* <[EMAIL PROTECTED] > <mailto:[EM

Re: [Tinyos-help] Some problems using cygwin and java

2008-09-11 Thread Michael Schippling
Cygwin sets a couple registry values that point to the base of their fake *NIX system so you can do stuff like ls /opt. Look for Cygnus in the Software sections of the registry. You may be able to set those on your remote domain machine so they point to the right place. You can of course make a HO

Re: [Tinyos-help] how to prolong the cc2420's wireless distance?

2008-09-11 Thread Michael Schippling
motes,one embedded the program 'BlinkToRadio' in > cygwin\opt\tinyos-2.x\apps\tutorials\BlinkToRadio,one embedded the > program 'BaseStation' in cygwin\opt\tinyos-2.x\apps\BaseStation,but i > found the communication distance is just 0.5m~1m,do you know why ?Thank >

Re: [Tinyos-help] java compile errors in tinyos-2.x

2008-09-10 Thread Michael Schippling
the > path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at java.io.FileInputStream.(FileInputStream.java:66) > at sun.tools.jar.Main.run(Main.java:205) > at sun.tools

Re: [Tinyos-help] nesC Q

2008-09-10 Thread Michael Schippling
lIOP' > make: *** [exe0] Error 1 > > Do you have any suggestions as to what I need to do to get it to find > this module? > > Thanks, > > -Jim > > > > > -Original Message- > From: Michael Schippling [mailto:[EMAIL PROTECTED] >

Re: [Tinyos-help] Starters question

2008-09-10 Thread Michael Schippling
Why did you build the compiler? If you're on Widows you should be able to install the whole executable package, look on the various distribution sites for the version you want. Once you have one working you can see the generated C code in [your-app/build/{platform}/app.c MS Aart Matsinger wrote:

Re: [Tinyos-help] nesC Q

2008-09-09 Thread Michael Schippling
That looks reasonable. Does it not work? MS Jim Fell wrote: > Hello. The last email I sent out got mangled by Outlook. I apologize > for the inconvenience. I’m new to TinyOS and nesC, and I’m trying to > add some debug pulses to the stack, so that I can characterize the > processing overhea

<    5   6   7   8   9   10   11   12   13   14   >