Seeeduino Stalker - Waterproof Solar Kit

Stalker Kit is a Seeeduino Stalker v2.1 based Wireless Sensor Network node data-logger. Seeeduino Stalker v2.1 is a feature rich Arduino compatible Wireless Sensor Network node. It's modular structure and onboard peripherals like Temperature Sensor, RTC, SDCard interface makes it convenient to log sensor values with accurate time stamp periodically. The Seeeduino Stalker is a candidate for all your tracking, monitoring and control projects.

The Stalker Kit includes all necessary components to work with Seeeduino Stalker v2.0. Stalker Kit can be used outdoors as it comes with a plastic, waterproof enclosure. Hence, you can even put it in the water if you have some special idea. The kit comes with a Solar Panel and a LiPo Battery. They might be used in remote areas like desert or jungle by working just with the solar energy harvested and stored in the LiPo Battery. Click here to buy

Stalker Kit Contents

Component Description Quantity
Seeeduino Stalker v2.1 The Arduino Compatible WSN Node 1
Lithium-ion polymer Battery - 980mAh Capcity Charged from Solar Panel using Stalker V2.1 1
SanDisk microSD™ Card 2GB Logs the sensor values and time-stamp data. 1
Mini USB cable 110cm As programming cable used with UartSBee 1
UartSBee V4 Provides USB-Serial port to program Stalker V2.1 using Arduino IDE 1
6 pin cable Connects UartSBee to Seeduino 1
Seeeduino Stalker v2 enclosure Waterproof plastic case 1
0.5w Solar Panel 55x70 Power Source 1
CR2032 Button Cell 1

Features

Application Ideas


<imagemap> Image:Stalker_v2.1_and_the_Bees.jpg|thumb|none|700px|alt=Photo of a Seeeduino Stalker v2.1 PCB and the various Bee modules that are compatible with.|The various Bee modules that can be used with Seeeduino Stalker v2.1 (Click on the modules to visit their Wiki pages) poly 441 45 508 17 567 79 505 120 UartSBee poly 75 0 353 0 353 102 75 99 WiFiBee poly 18 105 294 107 295 203 18 203 BluetoothBee poly 2 212 274 212 275 327 2 326 XBee poly 18 337 303 338 303 448 15 447 GPSBee poly 38 459 379 459 379 570 37 571 RFBee poly 400 55 477 106 424 147 354 97 WiFiBee poly 307 143 336 136 398 140 392 189 333 187 318 174 302 176 BluetoothBee poly 290 238 308 221 394 214 396 271 306 283 290 265 XBee poly 321 353 333 330 395 306 427 364 359 393 335 380 GPSBee poly 409 464 417 432 488 389 537 445 463 498 426 491 RFBee poly 455 280 454 215 490 186 683 184 724 211 740 297 706 331 494 333 489 278 Seeeduino Stalker v2.1 poly 570 132 573 13 802 16 803 131 UartSBee </imagemap>

NOTE: Please note that UartSBee cannot be inserted into the Bee Series socket present on Seeeduino Stalker. The UartSBee is intended for interfacing the other Bee modules (shown in the photo above) to a computer and cannot itself be be inserted into the socket meant for these other Bee modules. There is a separate 5 way pinheader present on UartSBee as well as Seeeduino Stalker for interfacing them to each other. This pinheader is composed of: VCC (to supply power to Stalker), TXD, RXD, DTR (for controlling Stalker's Reset signal) & GND.


Usage

Getting Started

If you are new to the "Physical Computing" world and if Seeeduino Stalker v2.1 is the first physical computing platform you want to begin with, then we suggest you to start with Seeeduino.

The following steps will help you assemble the hardware and software resources to get you started with Seeeduino Stalker v2.1

Step 1: Acquiring the Hardware

You will require the following hardware for running your first program.


Seeeduino Stalker v2.1
Buy Here

UartsBee v4.0
Required for programming
the Seeeduino Stalker.
Buy Here

Mini USB Cable
You would probably have this one lying around,
or if not, buy one here. We would use this
to connect the UartsBee to one of the
USB ports on your computer.

1 pin dual-female jumper wire
Required for connecting the UartsBee to Seeeduino Stalker.You might already have few lying around your workspace. If not, you can buy a colourful one here.


Step 2: Installing the drivers and plugging in the hardware

  1. UartSBee is like the multi-purpose Swiss Army knife of the Physical Computing world. There is a very detailed procedure to use UartSBee for both Windows and GNU/Linux users here. In our case it will perform three functions:
    • Allow us to program the Seeeduino Stalker.
    • Allow us to communicate with Seeeduino Stalker.
    • Provide power (from USB power of your computer) to Seeeduino Stalker (including any peripherals connected to it).
  2. The first two functions of UartSBee (programming and communication) are achieved through an Integrated Circuit called FT232RL which is present on it. Before FT232RL can be used for these purposes, its drivers (certain freely available programs from FT232RL's manufacturer) must be installed on your windows/ubuntu based PC. So before proceeding further, download the driver setup file from here and install it on your Windows PC.
  3. UartSBee has an onboard voltage regulator and a switch to allow you to select what voltage (5.0V or 3.3V) you would like to supply to the target circuit board. In our case the target circuit board is Seeeduino Stalker and so you would need to set this slide switch to 5.0 volts
  4. The wiring connection scheme of our hardware is "Computer→(Mini USB Cable)→UartSBee →(Flat Ribbon Cable)→Seeeduino Stalker". The jumper wires must be connected between UartSBee and Seeeduino Stalker before connecting the UartSBee to the Computer. Refer the photos below and make sure the signals line up as shown in the table (Note: The TXD and RXD pins must be cross connected as shown in the table).
  5. Next connect the Mini USB cable from UartSBee to your computer. If you are using a Windows based PC, the "Found New Hardware" balloon will popup and within a few moments the drivers for FT232RL (i.e. UartSBee) will be installed.


Seeeduino Stalker v2.1 <---> UartSBee v3.1 connection
Jumper Wire connections
Seeeduino Stalker       UartSBee
USB5V   ↔   VCC
RXD   ↔   TXD
TXD   ↔   RXD
GND   ↔   GND
DTR   ↔   DTR

Connection Notes

Programming Examples

Adjust Date/Time



adjust.pde output


Get Current Date/Time



now.pde output


DS3231 Read Temperature


   RTC.convertTemperature();             //convert current temperature into registers
   Serial.print(RTC.getTemperature());   //read registers and display the temperature
   Serial.println("deg C");


temperature.pde output


DS3231 Interrupts


This example is a demonstration of interrupt detection from DS3231 INT output. This feature is useful for data-logger functionality where the MCU is put to sleep mode when not in use and DS3231 INT wakes up the CPU periodically. This extends battery power. The complete operation is documented in the code.


interrupts.pde output


Data Logger Examples


The principal application of Seeeduino Stalker v2.1 is data-logging of sensor signal like temperature along with the time-stamp. We have provided 3 sketches along with the DS3231 library demonstrating 3 different implementation. These sketches puts the MCU in sleep mode when not performing data sampling / logging operation. The complete implementation is documented very well in the code. The following section gives an overview :

Data Logger examples hardware setup


  1. StalkerV21_DataLogger_Periodic.pde
    • This sketch logs temperature data periodically to SD card configured by RTC.enableInterrupts(periodicity) function.
    • The periodicity is provided using predefined constants EverySecond or EveryMinute or EveryHour
    • This sketch produces verbose output i.e the various events happening inside MCU are displayed in serial terminal.
  2. StalkerV21_DataLogger_5min.pde
    • This sketch logs temperature data using to SD card configured by RTC.enableInterrupts(h, m, s) function.
    • The periodicity is provided using h, m and s. Once an interrupt is detected, the next interrupt time is updated by advancing the h,m and s value. The DateTime Class comes handy for this.
    • ex:- interruptTime = DateTime(interruptTime.get() + 300); //decide the time for next interrupt
    • This sketch also produces verbose output i.e the various events happening inside MCU are displayed in serial terminal.
  3. StalkerV21_DataLogger_15Sec_NoSerialPort.pde
    • This is similar to previous sketch with different data-log interval. All Serial Port related code is commented to reduce power consumption.
    • There is no significant reduction in power consumption by removing Serial Port related code.


Overview of Data-logger implementation


A note on power consumption

The following screenshot shows the current consumption measurement of Seeeduino Stalker v2.1 @ 3.3V input connected to LIPO_BAT. In actual application LIPO_BAT is connected to a 3.7V LiPo battery. Hence, consider the following measurement with a pinch of salt.

StalkerV21_DataLogger_15Sec_NoSerialPort.pde current consumption @ 3.3V


Alternative datalogger / SD Card library

Few Seeeduino Stalker users have developed a datalogger functionality for Seeeduino Stalker v1.0. This interesting implementation is mentioned here to highlight a different way of using SD card. Refer to A and B threads at the Arduino Forum.

Arduino-filelogger library used in these is available from Google Code arduino-filelogger project page. These sketches works only with Seeeduino Stalker v1.0. Interested users can port to Seeeduino Stalker v2.1 using the DS3231 library.



Accessories

Besides the many Bee Series modules, SD card reader mini-USB cable, in a capsule are available for use with Stalker Kit:


microSD Card Reader
(in a capsule)

FAQ

Here is the Stalker Kit FAQ,users can list the Frequently Asked Questions here:

Support

If you have questions or other better design ideas, you can go to our forum or wish to discuss.


Revision History

Revision Descriptions Release Date
Stalker Kit v0.9b Initial public release Aug 3, 2011
Stalker Kit v1.0 Dec 3, 2011

Issue Tracker

Issue Tracker is the place you can publish any suggestions for improvement or any bugs you think you might have found during use. Please write down what you have to say, your suggestions will help us improve our products.

Additional Ideas

The Additional Ideas is the place to write your project ideas about this product, or other usages you've found. Or you can write them on Projects page.

Resources


How to buy

Click here to buy :KIT80248P.

See Also

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.

External Links

Links to external webpages which provide more application ideas, documents/datasheet or software libraries.

Copyright (c) 2008-2016 Seeed Development Limited (www.seeedstudio.com / www.seeed.cc)
This static html page was created from http://www.seeedstudio.com/wiki