Title: Message
Hi Gina,
 
The CC2420 radio on the MicaZ's transmits between 2400 - 2483.5 MHz.  Although you can pick any frequency you want, there are pre-defined channels (channel #'s 11-26) in that band to choose from as well.
 
You can change the frequency either at compile time or during run time.  To do it at compile time by selecting a channel, edit your Makefile to include the following line:
 
CFLAGS += -DCC2420_DEF_CHANNEL=xx
 
where 'xx' is somewhere between 11 and 26, inclusively.   I can't tell you off the top of my head which frequencies relate to which channels.
 
 
During runtime, you'll need to wire up your component to access the CC2420Control interface, which is provided by CC2420ControlM (tos/lib/CC2420Radio)
 
components MyApp, CC2420ControlM;
 
MyApp.CC2420Control -> CC2420ControlM;
 
 
From there, you have access to the following two commands to change the channel and frequency:
 
call CC242Control.TunePreset(xx);   // xx = somewhere between 11-26
-or-
call CC2420Control.TuneManual(2400);  // where that 2400 argument is in MHz, and can be between 2400 and 2483
 
 
After calling either one of these commands, your radio should be tuned to the frequency or channel you selected.
 
Let me know if you have further questions,
-David
 
 
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gina Upperman
Sent: Tuesday, April 11, 2006 10:06 AM
To: [email protected]
Subject: [Tinyos-help] Changing the frequency on Micaz motes

We are trying to deploy a network of Crossbow Micaz motes and are worried about interference problems.  Does anyone know the exact frequency that these motes transmit at (ie, exactly 2.4 GHz)?  Is there any way of changing this frequency or the channel that they transmit on (Channels 1-16)?  Has anyone tried to use the:

 

app/ make xbow local

 

command to try to change the frequency?  Crossbow tech support was unhelpful - we were hoping someone might have experience with changing the frequencies, and we would appreciate any advice.

 

Thank you very much,

Gina Upperman

Rice University

 

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to