[Tinyos-help] How to obtain voltage value in XSM platform?

2009-02-28 Thread Liupeng
Hi, everyone. I'd like to measure the voltage in XSM platform. But i found there's something different from mica2. Can anyone provide any suggestions? Thanks in advance. -- Best. P.Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu ht

[Tinyos-help] How to measure battery voltage on XSM platform?

2008-10-27 Thread Liupeng
Hi. I'm trying to measure battery voltage on XSM platform, just as what i have tried on Mica2 mote. But unluckly, this time i've got wrong information. That is, the ADC reading is obviously not meaningful. So, can you offer some clues to handle it? Maybe, there are something wrong in the XSM driver

[Tinyos-help] How to use the 512KB flash memory on mica2 to store measurement data?

2008-03-31 Thread Liupeng
Hi. I'm trying to store my measurement data to the 512KB flash memory on mica2, which is said can store more than 100,000 measurement data. Can i get it done with a simple sentence just like: *unit_16t rawData[10];* in my code? or anything else to do? Best. P.Liu __

[Tinyos-help] Is the Vref in Mica2 static value or fulctuate with the voltage of battery?

2008-03-10 Thread Liupeng
Hi, here is a question about Vref in Mica2 platform. I wonder whether the Vref (reference voltage) in Mica2 static value or fulctuate with the voltage of battery? After all, this value determines all the ADC samples. thanks. -- Best. P.Liu ___ Tinyos-he

[Tinyos-help] How could I get receive signal strength form a message?

2007-05-26 Thread Liupeng
Dear somone: I want to konw how could I get information of receive signal strength from a received message? Thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos

[Tinyos-help] How to implement sqrt in TinyOS?

2007-03-24 Thread Liupeng
Hi. I wonder whether it's feasible to implement sqrt() in TinyOS? I use Mica2 mote which takes Atemga128 as processor. If not directly, is there any other method? Many thanks. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https:/

[Tinyos-help] How can i get the xsm driver code?

2007-01-24 Thread Liupeng
Hi. I'm eager to know how to get the driver code for xsm platform. I've tried it with the following url: http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/exscal/ But i don't think it's complete. Does anyone know a better choice? Thanks anyway. Yours. P.Liu __

[Tinyos-help] How can i find the details of ADC0 (the rssi reading) in Mica2?

2007-01-14 Thread Liupeng
Hi. There are 8 channels of ADC in Mica2 platform, of which ADC0 is for RSSI readings. I want to find out how exactly the output of RSSI pin (transferred to voltage first) is tranferred to Digital signal. That is, what is the meaning when i get 0/255 from ADC0 and how can i calculate the input s

[Tinyos-help] How can i get the I2CSlave components?

2006-11-13 Thread Liupeng
Hi, everyone.   Is I2CSlave a standard componenet in tinyos? If not, where i can download the I2CSlave compoents?   By the way, if you have some experience with I2C bus and the programming technique about it, can we make a further discussion?   What i want to do is that, an external MCU chip works

[Tinyos-help] How to fix the problem of "failed to create temporary file"?

2006-10-25 Thread Liupeng
Hi, everybody. When i'v installed cygwin and tinyos manually, i met the error message after i tried to compile the nesc code, such as cnttoleds, or just blink. The message seems like:   In file included from BlinkM.nc:41:D:/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc:41: failed to create temporar

[Tinyos-help] Does anybody know how to ajust the gain for X and Y axis for MagM module?

2006-04-28 Thread Liupeng
Hi, everyone.I'm interested in mag sensor and i found that the two phase amplification is introduced in the mica sensor board. But i have no idea how to set an appropriate parameter for the second phase amplification. That is, the parameter for the gainAdjustX(Y) method in the MagSetting interface.

[Tinyos-help] Questions about magsetting interface!

2006-04-24 Thread Liupeng
Hi, everybody.   My question is about the gainAdjustX and gainAdjustY method in the MagSetting interface. These two methods is used to set an appropriate input for the AD5242, a Digital Potentiometer. But i have no idea how to determine the parameters for the gainAdjustX(Y) methods? Furthermore, wh

[Tinyos-help] No advice at all? About mag sensors!!

2006-04-18 Thread Liupeng
Hi, everyone.  I'd like to repeat my questions about the mag sensor in micasb, because i get confused when i try to understand the program of TestMag application.  First question, how to decide the approriate input for AD5242, the Digital Potentiometers? And what is the impact of this input on the

[Tinyos-help] questions about mag sensors!

2006-04-16 Thread Liupeng
Hi, everyone.    I'd like to ask some questions about the mag sensor in micasb, because i get confused when i try to understand the program of TestMag application.   First question, how to decide the approriate input for AD5242, the Digital Potentiometers? And what is the impact of this input on th

[Tinyos-help] what is the value of Mag Power?

2006-03-24 Thread Liupeng
I have looked into the schematics of micasb and got puzzled by Mag Power. Does anyone know the exact value of it? One more thing. I wonder whether someone has tried the testMag application in the tinyos. If you has, will you send a email to me? I'd like to share some experience with you. _

[Tinyos-help] Why magnetometer readings do not change?

2006-03-09 Thread Liupeng
Hi, everybody! I just met with a problem with magnetometer sensor in mica2. I have searched in mailing list achive for such topic, yet found little information. The problem is the reading value from ADC interface of magnetometer doesn't change anyway i wave an magnet around the sensorboard.So, wh