Seeeduino Stalker v2.1

From Wiki 来自痴汉的爱
Jump to: navigation, search

Seeeduino Stalker is a feature rich Arduino compatible Wireless Sensor Network node with Data logger functionality.



The documentation for the previous discontinued versions are available here: Seeeduino Stalker v1.0 and Seeeduino Stalker v2.0
Look here for comparison between v1.0, v2.0 amd v2.1


Link to product page for this device (follow this link to buy):
Seeeduino Stalker Atmega 328P v2.1 : ARD104D2P

Contents

Introduction

Seeeduino Stalker is a feature rich Arduino compatible Wireless Sensor Network node. It's modular structure and onboard peripherals makes it convenient to log time stamped sensor data on a periodic basis. Seeeduino Stalker comes with a Temperature sensor, RTC with backup power, SD Card Socket, Bee Socket and Solar LiPoimer Ion Battery Charger. The Seeeduino Stalker is a good candidate for all your tracking, monitoring and control projects.

It is enhanced with user requested features in its v2.1 iteration.


Seeeduino Stalker v2.1


Features

  • Compatible with Seeeduino (I/O ports use 3.3V Logic). Can be programmed with Arduino Processing language.
  • Onboard microcontroller: ATMega328P
  • Onboard Real Time Clock chip (Socket for a CR2032 Cell which acts as a backup power source for RTC)
  • Serial interface with DTR for auto reset during programming when operating in standalone mode. (For programming, UartSBee must be bought separately)
  • microSD card socket
  • I2C Pin header (operation voltage is selectable: 5.0V or 3.3V)
  • Grove interface(operation voltage is selectable:5.0V or 3.3V)
  • User LED
  • Reset buttons for XBee Modules and ATMega328P
  • Bee series socket - 2*10 pin 2.0mm pitch (which will mate with - one at a time - any of the wireless modules: XBee, BluetoothBee, GPSBee or RFBee.)


Seeeduino Stalker v2.1 - Various sections are marked


Application Ideas

  • Wireless Sensor Network (using XBee - bought seperately)
  • GPS Logging (using GPSBee - bought seperately)
  • Data Acquisition System capable of communicating with an App running on iPhone/Android Phone/Nokia Phone (using BluetoothBee - bought seperately)
  • RF Remote Control (using RFBee - bought seperately)
  • As a simple standalone Arduino compatible physical computing platform (UartSBee must be bought seperately for programming)


UartSBeeWiFiBeeBluetoothBeeXBeeGPSBeeRFBeeWiFiBeeBluetoothBeeXBeeGPSBeeRFBeeSeeeduino Stalker v2.1UartSBeePhoto 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)


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.

Cautions

  • The product is provided as is without an insulating enclosure. Please observe ESD precautions specially in dry (low humidity) weather.
  • Please disable bluetooth serial ports when using a Windows based development machine to prevent the Arduino IDE from freezing.

Schematics

Seeeduino Stalker v2.1 Schematics
Download v2.1 schematics only (PDF)
Download v2.1 design files (Cadsoft Eagle)

Specifications

Key Technical Specifications

Microcontroller: ATmega328P
On Board Crystal 8 MHz
PCB size: Seeeduino Stalker v2.1 dimension mm.png
in millimeter
Indicators: Reset, Power, LED on PB0 (Arduino Pin 8)
Power supply: 3.7v Lipo Battery, Use 5VDC solar panel for charging the battery.
Power Connector: 2 pin JST/ USB
I/O counts: 20
ADC input: Dedicated 4 channel (ADC0~ADC3, 10 bit resolution)
Connectivity: I2C, UART, SPI
DS3231 RTC Accuracy: ±2ppm from 0°C to +40°C / ±3.5ppm from -40°C to +85°C
DS3231 Temperature Sensor Accuracy: ±3°C

Electrical Characterstics

Specifications Min Norm Max Units
Battery JST Input voltage 3.5 4.2 4.2 Volts (DC)
Solar JST Input voltage 4.6 5 6 Volts (DC)
Global Current Consumption - See note mA
3.3V I2C voltage 3.2 3.3 3.5 Volts (DC)
5.0V I2C voltage 4.6 4.7 5 Volts (DC)
UART Baud Rate
(while programming)
- - 115200 bps

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

Seeeduino Stalker v2.1
Buy Here
UartSBee v4.0

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

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.
Seeeduino V2.2

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

  • Bee series socket - 2*10 pin 2.0mm pitch (which will mate with - one at a time - any of the wireless modules: XBee, BluetoothBee, GPSBee or RFBee.) Communication with these modules are done through UART.
  • Serial interface – To save space and lower costs, USB<->Serial connectivity is not provided by default. You may use the FT232 based UartSBee or other USB to serial adapter boards to do the programming or communicate with the PC.
  • User LED – An LED has been provided onboard for use in your application as desired.
  • I2C Interface: Onboard I2C level shifter IC provides voltage translation between 3.3V and 5V devices. This allows you to connect 5.0 Volt I2 ICs to you microcontroller when its operating on 3.3 Volts.

Jumpers and Connectors


Bottom side of Seeeduino Stalker v2.1 PCB showing solderable bridge (click to enlarge the image)


microSD Card (TransFlash Card) Related

  • CS_TF (Jumper type: Solder bridge - 2 way, Location: Bottom, Factory state: SS and PB2 connected by a thin track)
    This jumper is a two way jumper made up of three pads: PB1, SS and PB2. SS is the Chip Select signal of the the microSD card. By default SS is connected by a thin track to PB2 - Digital Pin 10 (PB2) of the microcontroller. If instead you want to connect the Chip Select signal from the microSD card to Digital pin 9 (PB1), just cut the track between PB2 and SS and put a solder blob between SS and PB1.
  • POWER_TF (Jumper type: Solder bridge - 2 way, Location: Bottom, Factory state: EN and VCC connected by a thin track)
    This jumper is a two way jumper made up of three pads: VCC, EN and PD4. EN is the TF power regulator Enable pin. By default EN is connected by a thin track to VCC to always enable TF power. If instead you want to Control the TF Card power With Digital Pin 4 (PD4) of the microcontroller, just cut the track between EN and VCC and put a solder blob between EN and PD4. you can control TF Card Power by Digital Pin 4 (PD4), you would be able to completely turn off the microSD card to conserve power when operating out in the field.

Bee Module Related

  • POWER_BEE (Jumper type: Solder bridge - 2 way, Location: Bottom, Factory state: EN and VCC connected by a thin track)
    This jumper is a two way jumper made up of three pads: VCC, EN and PD5. EN is the XBee power Enable pin. By default EN is connected by a thin track to VCC to aways enable XBee Power. If instead you want to Control XBee Power by Digital Pin 5 (PD5) of the microcontroller, just cut the track between EN and VCC and put a solder blob between EN and PD5. You can control XBee Power by Digital Pin 5 (PD5), you would be able to completely turn off the Bee module to conserve power when operating out in the field.

Bee Module Related - Only XBee related

  • 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.)
  • RSSI_STATUS (Jumper type: Solder bridge, Location: Top, Factory state: connected by a thin track)
    A red LED present on the top side of the PCB is connected to the RSSI (Received Signal Strength Indicator) pin of the XBee module. XBee outputs a PWM signal on this pin which is directly proportional to the quality of the RF link when the last packet was received by it. This PWM signal when applied to the LED would vary its brightness as per the quality of the RF link - better the link, brighter the LED. Since this LED would consume power, you can cut the track between the pads of this jumper to conserve battery power out in the field. RSSI value is also available over the UART using the DB command (measured in -dBm). (NOTE: The DB value only indicates the received signal strength of the last hop. If a transmission spans multiple hops, the DB value provides no indication of the overall transmission path, or the quality of the worst link – it only indicates the quality of the last link and should be used spa