Re: [Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?

2011-11-29 Thread Jan Hauer
Hi Zhiyi, the original telosb doesn't have an accelerometer, but in general you can contribute by putting your code in tinyos-2.x-contrib [1]. If it is only about the msp430adc12_channel_config_t you might as well just send that code snippet to tinyos-help mailing list. Jan [1]

Re: [Tinyos-help] IRIS support on current Blip Version

2011-11-29 Thread Gabriel Neumüller
Hi Johny, I’ve seen that patch already before. Sorry that I didn’t mention that. But for me I can’t compile the patched repository I tried the PppRouter-App if this matters. I applied the patch to different revisions (HEAD, 9349b40df52930dc0cdb90a4c1d2da55a10c662a (Because it was the HEAD when

Re: [Tinyos-help] IRIS support on current Blip Version

2011-11-29 Thread Miklos Maroti
Hi Guys, I will update the IRIS code to work with BLIP after the current release. I do not want to mess with the code before that to keep as stable as possible for the release. If you give instructions how to best reproduce the problem with the current tinyos-main svn trunk line, then I might

Re: [Tinyos-help] IRIS support on current Blip Version

2011-11-29 Thread Johny Mattsson
Hi Gabriel, Ah, the PlatformLed stuff. I just commented that out in the PppRouter app, it's not exactly crucial stuff. :) Cheers, /Johny On Wed, Nov 30, 2011 at 2:59 AM, Gabriel Neumüller horsthuc...@googlemail.com wrote: Hi Johny, I’ve seen that patch already before. Sorry that I

Re: [Tinyos-help] undefined reference to `sqrt'

2011-11-29 Thread amirtha
Hai I'm working in telosbWhen i am using math.h in my application,i got error like Undefined reference to pow ..How to fix this problem.Plz explain it in detail. Manjunath Doddavenkatappa wrote: Hi, Can you please try sqrtf() ? Manjunath D

[Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?

2011-11-29 Thread zhiyi
Sorry for kicking the old dirts. I followed this thread but have not found what I needed. I have the similar problem with ADC: I can't read proper data from light sensors or any sensor on the sensor board EM1000. I have tried Oscilloscope and it works for the InternalTemperature and

Re: [Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?

2011-11-29 Thread zhiyi
Jan, Thanks for help. My program works now. Actually it is a bit embarrassed to say the reason was that the sensor board was not plugged tightly enough on the mote. Also I noticed there was no adc12 modules for accelerometers on telosb. Could I make such a module and contribute to the code

Re: [Tinyos-help] IRIS support on current Blip Version

2011-11-29 Thread Miklos Maroti
Hi Johny, I have done the platform led stuff for IRIS, that is not the problem, i am committing it now... Next step: do the AlarmMilli32C, since the IRIS does not have one. It uses the async Timer 2, which comes with its own limitations. Currently it uses a single compare register, so it