Home > My research project, Others related to the project > Seeeduino Stalker v2.0 – first test

Seeeduino Stalker v2.0 – first test


I just received my packages with the order from Singapore (Seeeduino company). I waited for it a lot. For a simple test I configure the devices as in the figure presented below.

The both XBee radio modules (series 2) have been configure with the application X-CTU and the firmware was updated to the last version. One radio device was configured as coordinator AT and one as router AT (using the same application). I succeded very easy to make a simple communication between them and after that install a simple Arduino application (which just blink a led) on the Seeeduino Stalker device.

My first impresion is that it easy to work with them and doesn’t require many knowledge about electronics (this is the advantage of having separated functionalities on modules). I will do more experiments with them these days and do more complex applications (I need more time to do this since I want also the information to be stored into a database for future processing).

I also have a good help, a book which I order some time ago: Building Wireless Sensor Networks with ZigBee, XBee, Arduino and Processing (by Robert Faludi, O’Reilly Media – could be found on Amazon at a good price).

Advertisements
  1. Nik
    July 30, 2011 at 1:27 pm

    Hi,
    thanks for the good post! I am trying to program my stalker 2 with exactly the same xbee2 modems and the uartsbee 3.1 but somehow i don´t seem to get it to work. I configured the xbee2 on the uartsbee to be Zigbee coordinator at and specified a baud rate on both 57000.
    Is there anything else you changed with the parameters?
    Thank you so much,
    Nik

    • August 1, 2011 at 12:10 pm

      Hi Nik,

      as I remember the baudrate for serial communication was set by default at 9600 and I didn’t change it. One XBee device should be configured as Coordinator AT and the other one I configured as Router AT (if it is set to End Device AT it is much probably that the device to be in sleep mode and it wakes up only at certain periods of time). Also, for each XBee device you have to set the destination address of the node with which it makes the communication (also, with X-CTU application): for coordinator the destination address will be the router 64bit address and for router the destination address will be the coordinator address. The 64bit address of any XBee device is printed by manufacturer on the bottom side of the device.
      Hope this will help you to make them work.
      Catalin

  2. Nik
    August 2, 2011 at 7:04 pm

    Hi Catalin,
    thanks for the reply. In the meantime i managed to make them communicate i.e. i uploaded via cable a program to the stalker and only then used the xbees for serial communication.

    Uploading programs via the xbees series 2 still doesnt work (i will check baudrate)

    I have read some confusing posts on the web (can´t remember where) that uploading programs to the arduino is only possible with the xbees series 1 and not series 2. Can you confirm that you also use the xbee connection for program upload?

    Thanks
    Nik

    • August 3, 2011 at 4:32 pm

      Hi again,

      I din’t use until now the XBee connection (wireless) to upload a new firmware application to Seeeduino Stalker or Arduino, just with the cable. It will be a feature which I will want to test it also as soon as possible.

      The documentation of the Seeduino Stalker v2 said that:

      WIRELESS_PROGRAMMING (Jumper type: Solder bridge, Location: Bottom, Factory state: Connected by a thin track)
      You can use Digi’s XBee modules to wirelessly program the ATmega328P on your Seeeduino Stalker. An XBee module must be configured and installed on your Seeeduino Stalker and another XBee module must be connected to your Laptop via a UartSBee. The pin DIO3 on the Seeeduino Stalker will be used to control the Reset Pin of ATmega328P. This jumper allows you to enable or disable (default: enabled) the control of the Reset Pin of ATmega328P by the DIO3 pin of the XBee module. You can cut the track between the pads of this jumper if you don’t want the DIO3 pin to control the Reset pin of ATmega328P. Lady Ada has a nice tutorial on how to remotely program your Arduino based product using XBee. (NOTE: Both the XBee – the one on Stalker and the one connected to the PC must be pre-configured once using the X-CTU software before use.)

      … so it should work also with XBee Series 2.

      • August 12, 2011 at 11:12 am

        I have made some research today about the wireless programming. A good tutorial could be found here: http://www.ladyada.net/make/xbee/arduino.html. Some modifications could be necessary depending on the devices used.
        But, since I’m using the API mode for communication between XBee devices a wireless programming don’t seem to be possible :(, only in AT mode it will work (which from my point of view is limited in many ways).

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: