Editing the file directly seems to work. My MICA2 motes were giving a range of 200 feet when placed on tiled flooring in a corridor 400 ft by 10 ft size enclosed by tiled walls. The environent and height at which the motes are deployed also has significant impact on their range. I was able to get the range down to 4 1/2 feet by setting PA_POW to 0x00 as explained prev. You should experiment with different values in the env you deploy your motes.
Of course as Michael says doing this is a pain because then you cant dynamically change the range in the program.
On 5/16/06, Michael Schippling
<[EMAIL PROTECTED]> wrote:
You should be able to set xmit power dymanically using:
// set Xmit strength
// mica2 916 Mhz -20 0x02 -- 2
// -10 0x09 -- 9
// 0 (1mw) 0x80 -- 128
// 5 0xFF -- 255
call CC1000Control.SetRFPower( value );
There is a similar i'face for the micaz as well, but I don't have
an example right at hand.
Also if you compile under the contrib/xbow tree you get the MakeXbowLocal
file that has a compile time define for xmit power. In fact, I was not
completely successful at getting the mica2 radio to work without the xbow
code. I know that tree is usable with 1.1.7 and above, so you don't need
to go all the way to .15.
MS
Aditya Bhave wrote:
> If you are using the MICA2 motes with tinyos-1.1.10 you should edit the
> CC1000Const.h file in /tos/platform/mica2.
> Scroll down to CC1K_Params[5][31] in the file. Depending on the freq of
> the motes you are using, you should change the contents of PA_POW at the
> appropriate place. The default value is 0xff. If you change it to 0x00
> you can get a range of 3 feet or around that much.
>
> If you are using tinyos-1.1.15 you should edit the MakeXbowLocal file.
> Check the manual that comes on the CD to see what and where to change.
>
> I perosnally did the above in my project. If you figure out how the same
> thing can be done using the Pots interface in the program itself, please
> let me know. Thanx
>
> On 5/15/06, *Prashant Kr. Gupta* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> I have been trying to reduce the radio range by using Pot interface...
> but it seems that it doesn't helps much... what can i do
>
> thanks
> prashant
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> <mailto:[email protected]>
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> <https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
>
>
>
>
>
> --
> regards,
> Aditya Bhave
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
regards,
Aditya Bhave
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
