On Oct 3, 2006, at 3:53 PM, Ionut Cardei wrote:
Hello,
we started recently coding on motes and hit an apparent major problem.
Our environment consists of:
- Crossbow mica2 motes
- Crossbow MIB600 programmer
- tinyos-2 beta2
- cygwin on Windows XP
- current rpms from the tinyos.net site.
Sample application Blink works fine on individual motes, but any
attempt
to have 2 motes communicate using the Chipcon radio (900Hz) has failed
to date. We built and installed application app/tutorials/
BlinkToRadio and
did not get them receive messages.
By default, the mica2 support is configured for 433 MHz nodes. You
need to define
CC1K_DEFAULT_FREQ to be a 900 MHz frequency. E.g., in your Makefile:
CFLAGS = -DCC1K_DEFAULT_FREQ=CC1K_914_077_MHZ
Look at tos/chips/cc1000/CC1000Const.h for details. There is no way
for the software on the mote to determine whether the cc1k chip is
433MHz or 900MHz, so you have to do it this way. It is a common gotcha.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help