Seeeduino Stalker v3.0 is a feature rich Arduino compatible Wireless Sensor Network node especially useful for outdoor data-logging applications . It has a X-Bee carrier board for using with X-Bee modules, such as GPS Bee, Bluetooth Bee and Wifi Bee, etc. Its modular structure and onboard peripherals makes it convenient to log time stamped sensor data on a periodic basis. Seeeduino Stalker comes with a RTC with backup power, SD Card Socket, Bee Socket and Solar based Li-Ion Battery Charger. The Seeeduino Stalker is a good candidate for all your tracking, monitoring and control projects.
NOTE: Seeeduino Stalker v3.0 is the latest version of this board. Please Look here for comparison with older versions of this board. Seeeduino Stalker V3 has many features and offers ways to modify the functionalities by soldering or disconnecting PCB jumpers. Please understand this document and refer to the schematic before programming.
Note that we have updated and made some modifications to Seeeduino Stalker. And we will cover it later in section Hardware Overview of this page.
Product version | Release date | Support status | Notes |
Seeeduino Stalker v3(v3.0, older version) | Oct 2015 | Supported | None |
Seeeduino Stalker v3(v3.1, older version) | July 2016 | Supported | None |
Parameter | Value |
---|---|
MCU | ATmega328 |
Crystal Oscillator | 8 MHz |
RTC | DS1337S |
I/O Logic | 3.3v |
Board for Arduino IDE | Arduino Pro or Pro Mini (3.3v , 8 MHz)w/ATmega328 |
Power Supply | 3.7v LiPo Battery, Use 5VDC solar panel for charging the battery. |
Power Connector | 2 pin JST/ USB |
Connectivity | I2C, UART, SPI |
Open Circuit Current | 6 mA max |
Charging Current | 300mA |
Maximum Current on 3.3v port | 800mA |
Size of PCB | 86.74mm x 60.96mm |
Note that we have updated and made some modifications to Seeeduino Stalker (from version v3.0 to v3.1).
The bottom side of Seeeduino Stalker V3 has many PCB jumper pads optionally changing the configuration / functionality. The below table provides details about the same.
Jumper Pads Name | Application | Circuit |
---|---|---|
P1 | Soldering these jumper enables Digital pin D5 to ON or OFF power-supply of Bee Socket | |
P2 | Soldering these jumper pads enables Digital pin D4 to switch ON or OFF power supply of SD. | |
P3 | Soldering these jumper pads connects RTC /INTA pin to Digital Pin D2(INT0). | |
P4 | Soldering these jumper pads connects RTC /INTB to Digital pin D3(INT1). | |
P5 | This jumper by default connects BEE_TXD to Digital pin D0 (H/W UART TXD). By cutting the existing PCB connection and soldering to adjacent pad, BEE_TXD can be connected to Digital pin D7 for S/W Serial. Note: There is a known hardware bug. Please read here for a work-around. |
|
P6 | This jumper by default connects BEE_RXD to Digital pin D0 (H/W UART RXD). By cutting the existing PCB connection and soldering to adjacent pad, BEE_RXD can be connected to Digital pin D6 for S/W Serial. |
Apart from these, there are other jumper pads for WIRELESS_PROGRAMMING, RSSI_STATUS and CH_STATUS. These are by default connected and please refer to the schematic if you would like to modify any functionalities.
If you are new to the "Physical Computing" world and if Seeeduino Stalker v3.0 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 v3.0.
The picture above shows the hardware and components required for Seeeduino Stalker v3 to communicate with PC. The Stalker does not have USB to Serial functionality. Hence, UartSBee is necessary for programming Stalker via PC. Other USB to Serial converter board can be used to replace UartSBee v4.
Note: UartSBee v4 needs to be bought separately.
The following table shows the connection between Seeeduino Stalker v3 and UartSBee v4.
Seeeduino Stalker v3 | UartSBee v4 | |
---|---|---|
5V | ↔ | VCC |
RXD | ↔ | TXD |
TXD | ↔ | RXD |
GND | ↔ | GND |
DTR | ↔ | DTR |
Download and install the DS1337 library and sketches available in the resources section. DS1337 library includes modified version DateTime class by Jean-Claude Wippler at JeeLabs
Please pay attention: You need to solder some pads while using the "Interrupts" demo
Pins on RTC | Pads on Seeeduino Stalker v3 | Pins on ATmega328 |
---|---|---|
INTA | P3 | digital 2 |
INTB | P4 | digital 3 |
Arduino Pro or Pro Mini (3.3V, 8MHz) w/ ATmega 328
.
DateTime dt(year, month, date, hour, min, sec,week-day(starts from 0 and goes to 6));
DateTime dt(2015, 10, 1, 11, 43, 0, 4);
Arduino Pro or Pro Mini (3.3V, 8MHz) w/ ATmega 328
.
RTC.now()
function.
DateTime now = RTC.now();
This example is a demonstration of interrupt detection from DS1337 INT output. This feature is useful for data-logger functionality where the MCU is put to sleep mode when not in use and DS1337 INT wakes up the CPU periodically. This extends battery power. The complete operation is documented in the code.
Arduino Pro or Pro Mini (3.3V, 8MHz) w/ ATmega 328
.
The principal application of Seeeduino Stalker v3.0 is data-logging of sensor signal like battery voltage, etc along with the time-stamp. This sketch 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 :
RTC.enableInterrupts(h, m, s)
function.
interruptTime = DateTime(interruptTime.get() + interruptInterval); //decide the time for next interrupt
The battery charging status can be read using the below sketch. The battery can be charged by plugging solar panel onto the board or via the UartSBee.
void setup() { Serial.begin(57600); analogReference(INTERNAL); //analogRead(6); } void loop() { char CH_status_print[][4]= { "off","on ","ok ","err" }; unsigned char CHstatus = read_charge_status();//read the charge status Serial.print("charge status -->"); Serial.println(CH_status_print[CHstatus]); delay(500); } unsigned char read_charge_status(void) { unsigned char CH_Status=0; unsigned int ADC6=analogRead(6); if(ADC6>900) { CH_Status = 0;//sleeping } else if(ADC6>550) { CH_Status = 1;//charging } else if(ADC6>350) { CH_Status = 2;//done } else { CH_Status = 3;//error } return CH_Status; }
The voltage of the Li-Po battery connected to Seeeduino Stalker V3 can be read by Analog pin A7. The below sketch demonstrates this.
void setup(){ Serial.begin(57600); analogReference(INTERNAL); } void loop() { float voltage; int BatteryValue; BatteryValue = analogRead(A7); voltage = BatteryValue * (1.1 / 1024)* (10+2)/2; //Voltage devider Serial.print("Battery Voltage -> "); Serial.print(voltage); Serial.print("V "); Serial.println(); delay(500); }
Reference: analogReference
The following tables show the default UART connection between Bee Socket and ATMega328 MCU.
Pins on Bee socket | Pins on ATmega328 |
---|---|
BEE_TXD | digital 0 |
BEE_RXD | digital 1 |
Also, you can turn the power supply of Bee module on or off by the optional pad.
Operation: On the back of Seeeduino Stalker v3, you can find a solder pad "P1". Solder the P1 and use the following code to cut off the power supply.
digitalWrite(5,HIGH);
Affected users: This issue affects those who would like to use the optional feature of connecting Bee Socket to software serial port instead of H/W serial port(default).
Issue: Jumper P5 can not be configured to use software serial port by cutting the default connection and resoldering (i.e) BEE_RXD can not be connected to PD7 instead of default PD1 by simply cutting/soldering the jumper as per P5 description. There is a hardware bug.
Workaround:
1. On the top layer cut the routing from PD1/TXD signal to R16 resistor as shown in the following pictures. Please use a sharp knife and gentle cut the connection:
2.Now apply the procedure mentioned in P5 jumper description (i.e) cut the jumper and solder the middle pad of Jumper P5 to PD7.
The Images are taken from the EAGLE Files
Seeeduino_Stalker_v3.0_Board
Power
Arduino
BEE TF
RTC I2C