SConnector: XBow

From SCInterface Wiki

Jump to: navigation, search

The follow page describes how to setup and configure a Crossbow sensor witin SCInterface.

  • Get the x-compiler setup going : (project is called TinyOS, and on sourceforge). http://www.cs.utah.edu/~coop/embedded/tinyos.html seems to be a good howto to get this done.
  • There are sample applications in there, play around, compile some simple ones and load them on the mote. I have had A LOT of issues with hardware cables. The only way that worked was to use no cabling whatsoever for serial and parallel connections. Just stick the parallel interface into your parallel port. You would use the parallel interface to program the mote and the serial interface to talk to the application that’s on there.
  • The sample setup I had was to have the mote that was connected to the computer get readings from a remote note. This was done fairly easily by loading the sample application that is used to get readings from a remote node (forgot the name) and then on the remote node, you’d load the application that reads the light sensor and pushes the information back to the listening device. (should be little to no modifications needed on the apps)
    • Compile and load apps/SenseToRfm on the “remote” node. This program will take care of getting readings from the board and forwarding it to a our local agent.
    • Compile and load apps/?? (you’ll have to look around for the remote to serial one, should be in there somewhere).
    • If you look around on the website, they talk about java applications to communicate with the mote over serial port. There is also a C version of this application that you can find somewhere in the contribs. This little app would talk to the mote over the serial port and give you the outputted data in a readable form.
    • Have your SConnector macro read the output of this application, parse it and get the values you want.
Personal tools