SL:Introduction

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen
Sensor Lab logo
Fields of research

Location

The Sensor Lab is located on the Telematics Group floor, room 1.101 at the IfI. The door is locked by a card reader (Ci-port with profile 0418). Please contact the supervisor of your course to get access to the lab.

Hardware

The sensor nodes we have ordered are from Crossbow technology (http://www.xbow.com/Products/productdetails.aspx?sid=264) Basically, the sensors operate in 2.4GHz ISM band. The range of the radio module is about up to 50 m indoor and up to 300 m outdoor.

For more details see the data sheet.

MIB520 USB Gateway boards are available for programming sensor motes, using them with USB power, and debugging or base station uses.

Sensor boards

A number of sensor boards are available.

MDA100CB

A number of MDA100CB sensor boards are available. The include the following features:

  • Light sensor: CdSe photo cell
  • Temperature sensor: YSI 44006 thermistor
  • Prototyping area: For connecting further sensors and devices

MDA300CA

The MDA300CA is a sensor board and general measurement platform. It allows for low-power wireless instrumentation and can be used and extended to be used in various areas.

MTS310CB

The MTS310CB sensor board includes the following components:

  • Microphone
  • Sounder: 4kHz fixed frequency piezoelectric resonator
  • Light sensor: CdSe photo cell
  • Temperature sensor: Panasonic ERT-J1VR103J thermistor
  • 2-Axis Accelerometer: Analog Devices ADXL202JE
  • Two-Axis Magnetometer: Honeywell HMC1002

In addition to the sensors, it also has a sounder, which can be used as an alert, or possibly for audio communication between motes.

MTS400/MTS420

The MTS400CC board, which includes the following sensors:

  • Dual-axis Accelerometer: Analog Devices ADXL202JE
  • Barometric Pressure Sensor: Intersema MS5534AM
  • Ambient Light Sensor: TAOS TSL2550D
  • Relative Humidity & Temperature Sensor: Sensirion SHT11

Additionally, a few MTS420CC boards are available, which are basically the same, but include an additional ublox LEA-4A GPS module. Getting this to work with IRIS motes is still a work in progress, however.

A full list of available hardware is also available on the Sensor Lab website. More detailed information is also available.

New motes

A new set of motes and sensors are also available: SL:CM motes

Hardware inventory

The Sensorlab currently has the following motes:

  • 1x IRIS mote in a base station case
  • 6x IRIS motes with battery section connected by wire (numbered 1-6)
  • 30x IRIS motes with fixed battery sections (numbered 7-35 and "Test")
  • 3x XM1000 telosb compatible motes (direct USB port; sensors for temperature, humidity and light; bigger EEPROM)
  • 6x CM5000 telosb compatible motes (direct USB port; sensors for temperature, humidity and light)
  • 3x CM4000 telosb compatible motes
  • 4x CM3300 telosb compatible motes (attachable antenna and power)
  • 5x CM3000 telosb compatible motes (attachable antenna)

The following attachments are available for IRIS motes:

  • 20x MDA100CB sensor boards
  • 1x MDA300CA sensor board
  • 11x MTS310CB sensor boards
  • 6x MTS400CC sensor boards
  • 9x MTS420CC sensor boards with GPS antenna attachments
  • 11x MIB520 programming boards

The following attachments are available for the telosb compatible motes:

  • 9x antennas for CM3000 and CM3300 motes
  • 7x power adapters with cables (4 multi-connector)
  • 2x MTI USB1000
  • 1x MTS EM1000
  • 2x MTS DS1000 with SH-300DX sensor attachment
  • 2x MTS EX1000 with serial port attachment
  • 6x MTS SE1000 with magnetic sensor attachments (one is attached to the window)
  • 8x MTS CO1000 with FlexiForce attachments
  • 1x MTS AR1000 with two sensor attachments (SH-300DX + PSX-01E)

Also available are two SG1000 WSN sinks/bridges.

Waspmote

We have a Libelium Waspmote Evaluator Kit. For more information, see: SL:Waspmote

Sensor nodes:

  • 4x Waspmote
  • 4x 6600mAh Rechargable LiIon Battery

Sensor boards:

  • 2x Gases
  • 2x Smart Cities
  • 1x Prototype
  • 1x Agriculture
  • 2x Events
  • 1x Smart Metering

Communication interfaces:

  • 1x Waspmote GPRS Pro
  • 1x Waspmote GPS
  • 1x Waspmote 3G/GPRS
  • 1x USB Waspmote Gateway
  • 1x NFC
  • 2x Secondary communication board adapter
  • 1x WiFi
  • 5x XBee 802.15.4 PRO SMA
  • 1x Bluetooth Module PRO

Antennas:

  • 2x 3G-GPRS-GSM
  • 2x GPS
  • 7x 5dBi 2,4GHz SMAM-RP
  • 1x RFID 13.56MHz

Sensors:

  • 1x Humidity
  • 1x CO Gas
  • 1x CO2 Gas
  • 4x Temperature
  • 4x LDR
  • 1x Air Pollutans/Gas
  • 1x NO2 Gas
  • 1x Noise
  • 1x PIR
  • 1x Ultrasound (indoor)
  • 1x Dust
  • 1x Weather Station WS-3000
  • 1x Watermark Soil Moisture Sensor 1.5m
  • 1x Solar Radiation
  • 1x Platinum Thermal Resistance

Accessories:

  • 5x RFID 13.56 MHz / NFC Sticker
  • 2x miniUSB cable
  • 1x USB extension cord
  • 2x Solar Panel cable
  • 2x Waspmote Solar Panel 3W
  • 6x microSD 2GB
  • 30x microSD 16GB
  • 15x Powerbank 5000mAh
  • 15x Powerbank 2200mAh
  • 30x TK Berry Cool
  • 30x Charger for Raspberry Pi
  • 5x Ethernet to USB
  • 28x 433Mhz Sender and Receiver

Raspberry Pi / Arduino

Additionally, two Raspberry Pi are available, with a working TinyOS setup on both:

  • sensorpi1, 192.168.22.50, transparent case, 8GB
  • sensorpi2, 192.168.22.51, light gray case, 8GB

Username and password can be found in ~sensorlab/documents/RaspberryPi/info.txt

In addition, we have 2 more two Raspberry Pi without an operation system.


We also have two CookingHacks Wifi Sets including Raspberry Pi 2: https://www.cooking-hacks.com/wifi-connectivity-kit

There are four additional of the same kits with Arduino instead of Raspberry Pi.

Each of the CookingHacks kits includes four Sugus. These appear to be edible (as yet unconfirmed). Please don't eat all of them and leave some for other people if they are tasty.

Apart from that, the kits each include:

  • 1x Communication Shield
  • 1x Roving RN-XVEE WiFi Module (XBee compatible) with short antenna
  • 1x Box compartment full of jumper cables
  • 1x Breadboard
  • 20x Resistor 1/4W 5% 220 ohm
  • 10x Resistor 1/4W 5% 100 ohm
  • 10x Resistor 1/4W 5% 10 K
  • 10x Resistor 1/4W 5% 4,7 K
  • 10x Resistor 1/4W 5% 1 M
  • 2x Potentiometer 10K
  • 4x Push Button 12x12 B3F-4150
  • 1x Temperature Sensor (MCP9700)
  • 1x Transistor (BC547CG)
  • 1x LDR Sensor
  • 1x 5mm Triple Output Led RGB (Common Anode)
  • 10x 5mm Red Led
  • 10x 5mm Green Led
  • 1x Piezo Speaker (ref.10066)
  • 1x 9G Micro Servo
  • 1x Hobby Motor
  • 1x LCD 16*2 Characters - Green Yellow back light
  • 1x 9v To Barrel Jack Adapter

Arduino MKR IoT Bundle

We have 30 MKR IoT Bundles each including:

  • 1x Arduino MKR1000 board, with header soldered.
  • 1x micro USB cable,
  • 1x 400-point breadboard,
  • 70x solid-core jumper wires,
  • 1x 9V battery snap,
  • 1x stranded jumper wire
  • 1x stranded jumper wire,
  • 6x phototransistors,
  • 3x potentiometers (10 kilohm),
  • 10x pushbuttons,
  • 1x temperature sensor (TMP36),
  • 1x tilt sensor,
  • 1x alphanumeric LCD (16 x 2 characters),
  • 1x bright white,
  • 34x LEDs (1 bright white, 1 RGB, 8 red, 8 green, 8 yellow, 3 blue),
  • 1x small DC motor (6/9V),
  • 1x small servo motor,
  • 1x piezo capsule (PKM17EPP-4001-B0),
  • 1x H-bridge motor driver (L293D),
  • 1x octocouplers (4NE5),
  • 2x MOSFET transistors (IRF520),
  • 5x capacitors (100uF),
  • 5x diodes (1N4007),
  • 3x transparent gels (R,G,B)
  • 1x male pin strip (40 x 1),
  • 20x resistors (220 ohm),
  • 5x resistors (560 ohm),
  • 5x resistors (1 kilohm),
  • 5x resistors (4.7 kilohm),
  • 20x resistors (10 kilohm),
  • 5x resistors (1 megohm),
  • 5x resistors (10 megohm)


Node MCU

  • 30x NodeMCU Lua WIFI Internet Development Board Based on ESP8266 ESP-12E CP2102

40 in 1 SensorKit

All sensor of the kit can be used for Raspberry or Arduino development. The kit is including the following sensors:

  • Joystick
  • Relais
  • Microphone
  • 8 LED PCB
  • linearer Spannungsregler
  • Flammen sensor
  • Hall TTL
  • Touch-Sensor
  • Temperatursensor I2C
  • Summer
  • Piezo Lautsprecher 16R
  • RGB-LED
  • IR-Diode
  • 2-Farben-LED 5/3mm rot/grün
  • Gas MQ-2
  • Vibrationssensor
  • Reed Kontakt
  • Herzschlag-Sensor
  • Lichtblitz-LED
  • Licht Barriere
  • Taster
  • Shocksensor
  • Drehcodierer
  • 5 V Stufenmotor mit PCB
  • Neigungssensor
  • Photowiderstand
  • Temperatur und Luftfeuchtigkeit
  • Potentiometer / analog hall
  • 1W LED module WW
  • Temperatur 1-Wire
  • NTC TTL / NTC 10k
  • IR Empfänger 38KHz
  • IR LED
  • Bewegungserkennung PIR

NFC

Furthermore, we have an SL:Identive NFC SDK:

  • 1x SCL3711 USB NFC reader
  • 2x SCM3712 NFC readers with USB cables
  • 1x plastic NFC tag
  • 2x ISO14443A - TOPAZ 512 NFC sticker tags (crash Linux driver)
  • 2x ISO14443A - NTAG 203 NFC sticker tags
  • 2x FeliCa Lite S NFC sticker tags
  • 2x ISO14443A - MIFARE DESFire EV1 NFC sticker tags
  • 1x CS777-1 Brickyard Antenna
  • 1x Mini Guardrail Antenna
  • 2x S8658PR Antenna


Batteries

We have a number of non-rechargeable batteries, as well as rechargeable AccuCell batteries. Please avoid deep discharges on the AccuCell batteries, as well as unnecessary recharges, as it can significantly lower their lifespan.

Android Phones

We have two Google Nexus 5 phones for use in projects involving smart phone app development (i.e. for visualization or making use of phone sensors).

AVR Dragon

An AVR Dragon with jumper cables for connecting pins is available. This should allow debugging IRIS nodes (via JTAG) and Arduino based platforms. More information: SL:AVRDragon

Documents

TinyOS

General documents can be found on: http://sing.stanford.edu/tinyos-wiki/index.php/Main_Page

TinyOS Iris API: http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/iris/

How To

How To Disassemble a Sensor Node to Reprogram it (.pdf) (.doc)

Printing

There is a printer in the Sensor Lab, in case you require printed documentation. To use it, please start the ws1 PC, which acts as a print server for the lab. It should be reachable from ws1-6 and pc01.

Modifications for IRIS motes

PacketParrot application

The PacketParrot application which is provided with TinyOS does not work on directly on the Iris motes. Thus, the following modified version can be used instead. The modifications are basically replacing the special radio component, which is used for sending and receiving, by the generic AMSenderC and AMReceiverC components.

PacketParrotC.nc

PacketParrotP.nc

Motelist

To make the motelist command work with IRIS motes, a change has to be made to the motelist script. The following patch has to be applied:

--- motelist	2012-11-12 15:23:43.405203257 +0100
+++ motelist.fixed	2012-11-12 15:24:13.326732983 +0100
@@ -62,6 +62,7 @@
   #  Scan /sys/bus/usb/drivers/usb for FTDI or CP210X devices 
   my @ftdidevs =
     grep { (($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq "6001") 
+       || (($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq "6010")
        || (($_->{UsbVendor}||"") eq "10c4" && ($_->{UsbProduct}||"") eq "ea60")}
     map { {
       SysPath => $_,

Exceptions

Sometimes the java utilities can throw an exception in a thread, which does not terminate the whole application. This means that it will simply hang, stuck. Attempted mitigation:

--- /opt/tinyos-2.1.2/support/sdk/java/net/tinyos/comm/TOSSerial.java.orig 2016-07-01 10:25:13.333736932 +0200
+++ /opt/tinyos-2.1.2/support/sdk/java/net/tinyos/comm/TOSSerial.java      2016-07-01 10:24:48.794370923 +0200
@@ -124,6 +124,10 @@
         synchronized (m_listeners) {
           Iterator i = m_listeners.iterator();
-          while (i.hasNext())
-            ((SerialPortListener) i.next()).serialEvent(ev);
+          try {
+            while (i.hasNext())
+              ((SerialPortListener) i.next()).serialEvent(ev);
+          } catch (Exception e) {
+            System.exit(1);
+          }
         }
       }

Installation

Debian

SL:Install TinyOS 2.1 in Debian (lenny)

Ubuntu

The PCs in the sensor lab room are currently running Ubuntu 10.04.

TOSSIM

TOSSIM version in Tinyos 2.1.1 requires Python 2.5.5, which is not available in Ubuntu 10.04 (only newer versions are available). The following has been used successfully to install a compatible Python version:

sudo apt-get install build-essential gcc
cd Downloads
wget http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tgz
tar -xvzf Python-2.5.5.tgz
cd Python-2.5.5
./configure --prefix=/usr/local/python2.5
make
make test
sudo make install
sudo ln -s /usr/local/python2.5/bin/python /usr/bin/python2.5
sudo ln -s /usr/local/python2.5/bin/python-config /usr/bin/python2.5-config

VMWare

login to the set up computer

 user: wsn
 password: tinyos

start Xubuntos in VMWare-Player

 user: xubuntos
 password: tinyos

Test

Note: the motelist command does not show any connected motes (I think it is because of that the hardware is very new and therefore cannot be recognised)

To find out which usb device to use, just connect the node and use the dmesg command.

Transfer test application Blink to the node attached via USB

 cd /opt/tinyos-2.1.0/apps/Blink
 make iris install.1 mib520,/dev/ttyUSB0

Tinyos first test.JPG


Manuals (CD KIT)

Sensor Kit


CD Documents and Manuals

Media:MEP_SYS_Users_Manual_7430-0411-02_A.pdf

Media:MoteConfig_Users_Manual_7430-0112-01_A.pdf

Media:MoteView_Users_Manual_7430-0008-05_A.pdf‎

Media:MoteWorks_Getting_Started_Guide_7430-0102-01_D.pdf

Media:MPR-MIB_Series_Users_Manual_7430-0021-08_A.pdf‎

Media:MTS-MDA_Series_Users_Manual_7430-0020-05_A.pdf‎

Media:TinyOS-nesC_Reference_Manual.pdf‎

Media:WSN_Quick_Start_Guide.pdf‎

Media:XMesh_Users_Manual_7430-0108-01_C.pdf

Media:XServe_Users_Manual_7430-0111-01_D.pdf‎




See also