Difference between revisions of "Tips on Using Imote2"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
Line 6: Line 6:
 
* Even though the default maximum message size is 29 bytes, the Imote2 will only send a message if it has an even length.  The call to GenericComm.sendMsg will actually return FAIL if you try to send a 29 byte long packet.
 
* Even though the default maximum message size is 29 bytes, the Imote2 will only send a message if it has an even length.  The call to GenericComm.sendMsg will actually return FAIL if you try to send a 29 byte long packet.
 
* Size of local variable array is very small.  If you want to use a large array, you need to declare it globally.  E.g. realA, PS, W arrays.
 
* Size of local variable array is very small.  If you want to use a large array, you need to declare it globally.  E.g. realA, PS, W arrays.
* How to change frequency channel of radio on imote2 ????? !!!!!!
+
* '''How to change frequency channel of radio on imote2 ????? !!!!!!'''

Revision as of 15:46, 3 March 2008

  • Washington State University has a great wiki with instructions on how to configure your platform to support the Imote2.
  • The Imote2 uses the FTDI USB chip whose drivers may be downloaded here.
  • Toggling an External Pin on the Imote2
  • When sending over UART, make sure the debug board is connected.
  • In TinyOS, TOS_LOCAL_ADDRESS is the last 2 digits of the mote id in hex
  • Even though the default maximum message size is 29 bytes, the Imote2 will only send a message if it has an even length. The call to GenericComm.sendMsg will actually return FAIL if you try to send a 29 byte long packet.
  • Size of local variable array is very small. If you want to use a large array, you need to declare it globally. E.g. realA, PS, W arrays.
  • How to change frequency channel of radio on imote2 ????? !!!!!!