Advertisement

Quick Links

Events 2.0
Technical Guide
wasp
mote
Arrow.com.
Downloaded from

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the wasp mote Events 2.0 and is the answer not in the manual?

Questions and answers

Summary of Contents for Libelium wasp mote Events 2.0

  • Page 1 Events 2.0 Technical Guide wasp mote Arrow.com. Downloaded from...
  • Page 2: Table Of Contents

    Index Document version: v4.2 - 04/2013 © Libelium Comunicaciones Distribuidas S.L. INDEX 1. General ..............................4 1.1. General and safety information ..............................4 1.2. Conditions of use ..................................4 2. Waspmote Plug & Sense! ........................5 2.1. Features ......................................5 2.2. Sensor Probes ....................................5 2.3.
  • Page 3 Index 4.6. Luminosity Sensor (LDR) ................................ 22 4.6.1. Specifications ................................22 4.6.2. Measurement Process...............................22 4.7. Presence Sensor (PIR) ................................22 4.7.1. Specifications ................................22 4.7.2. Measurement Process...............................23 4.8. Hall Effect Sensor (PLA41201) .............................. 24 4.8.1. Specifications ................................24 4.8.2. Measurement Process...............................24 4.9. Liquid Presence Sensor ................................25 4.9.1.
  • Page 4: General

    Check the product specifications section for the maximum allowed power voltage and amperage range and consequently always use a current transformer and a battery which works within that range. Libelium is only responsible for the correct operation of the device with the batteries, power supplies and chargers which it supplies.
  • Page 5: Waspmote Plug & Sense

    USB cable in order to reprogram the node. It has been specially designed to be scalable, easy to deploy and maintain. Note: For a complete reference guide download the “Waspmote Plug & Sense! Technical Guide” in the Development section of the Libelium website. 2.1. Features •...
  • Page 6: Solar Powered

    Waspmote Plug & Sense! 2.3. Solar Powered Battery can be recharged using the internal or external solar panel options. The external solar panel is mounted on a 45º holder which ensures the maximum performance of each outdoor installation. Figure 2: Waspmote Plug & Sense! powered by an external solar panel For the internal option, the solar panel is embedded on the front of the enclosure, perfect for use where space is a major challenge.
  • Page 7: Programming The Nodes

    Waspmote Plug & Sense! Figure 4: Waspmote Plug & Sense! powered by an internal solar panel 2.4. Programming the Nodes Waspmote Plug & Sense! can be reprogrammed in two ways: The basic programming is done from the USB port. Just connect the USB to the specific external socket and then to the computer to upload the new firmware.
  • Page 8: Radio Interfaces

    Waspmote Plug & Sense! Over the Air Programming is also possible once the node has been installed. With this technique you can reprogram wirelessly one or more Waspmote sensor nodes at the same time by using a laptop and the Waspmote Gateway. Figure 6: Typical OTAP process 2.5.
  • Page 9: Program In Minutes

    This means the complete program for an specific application can be generated just in minutes. Check the Code Generator to see how easy it is at: http://www.libelium.com/development/plug_&_sense/sdk_and_applications/code_generator Figure 7: Code Generator 2.7.
  • Page 10: Meshlium Storage Options

    Waspmote Plug & Sense! 2.8. Meshlium Storage Options Figure 9: Meshlium Storage Options • Local Data Base • External Data Base 2.9. Meshlium Connection Options Figure 10: Meshlium Connection Options ZigBee → Ethernet • ZigBee → Wifi • ZigBee → 3G/GPRS •...
  • Page 11: Models

    Waspmote Plug & Sense! 2.10. Models There are some defined configurations of Waspmote Plug & Sense! depending on which sensors are going to be used. Waspmote Plug & Sense! configurations allow to connect up to six sensor probes at the same time. Each model takes a different conditioning circuit to enable the sensor integration.
  • Page 12: Smart Security

    Waspmote Plug & Sense! 2.10.1. Smart Security The main applications for this Waspmote Plug & Sense! configuration are perimeter access control, liquid presence detection and doors and windows openings. Figure 12: Smart Security Waspmote Plug & Sense! model Note: The probes attached in this photo could not match the final location. See next table for the correct configuration. -12- v4.2 Arrow.com.
  • Page 13 As we see in the figure below, thanks to the directionable probe, the presence sensor probe (PIR) may be placed in different positions. The sensor can be focused directly to the point we want. Configurations of the Presence sensor probe (PIR) Note: For more technical information about each sensor probe go to the Development section in Libelium website. -13- v4.2 Arrow.com.
  • Page 14: Hardware

    Hardware 3. Hardware 3.1. General Description The sensors are active on the Events Sensor Board 2.0 while Waspmote is in Sleep or Deep Sleep mode. When a sensor picks up a value higher than a previously programmed threshold, a signal is generated which wakes the mote from its low consumption status and tells it which sensor has generated the signal.
  • Page 15: Sensors

    Sensors 4. Sensors 4.1. Pressure Sensor (Flexiforce PS-02) 4.1.1. Specifications Measurement range: 0 ~ 25lb (11.34kg) Resistance range: 5000 ~ 20kΩ Length: 203mm Width: 14mm Sensitive Area: 10mm (diameter) Linearity error: <±5% Repeatability: <±2.5% from the bottom of the scale Operating temperature: -9ºC ~ 60ºC Response time: <...
  • Page 16: Bend Sensor (Flx-01-H)

    Sensors Figure 17: Monitoring content of a tank using the Flexiforce PS-02 A code for reading the sensor is shown below: float value; SensorEventv20.ON(); delay(10); value = SensorEventv20.readValue(SOCKET, SENS_RESISTIVE); value is a float variable where the resistance of the in kiloohms will be stored. SOCKET indicates on which connector the sensor is placed (for this sensor it may be SENS_SOCKET1, SENS_SOCKET2 and SENS_SOCKET3).
  • Page 17: Vibration Sensor (Pz-01 And Pz-08)

    Sensors Figure 19: Diagram of folds that would generate a change in resistance of the FLX-01-H sensor A code for reading the sensor is shown below: float value; SensorEventv20.ON(); delay(10); value = SensorEventv20.readValue(SOCKET, SENS_RESISTIVE); value is a float variable where the resistance of the in kiloohms will be stored. SOCKET indicates on which connector the sensor is placed (for this sensor it may be SENS_SOCKET1, SENS_SOCKET2 and SENS_SOCKET3).
  • Page 18: Measurement Process

    Sensors 4.3.2. Measurement Process The PZ-01 and PZ-08 sensors are two piezoelectric laminates which generate voltage at its output when subjected to a distortion. This therefore makes it useful as a system to measure vibrations caused by acceleration, knocks or contact, being especially useful in low consumption applications as they do not need power voltage for their operation.
  • Page 19: Temperature Sensor (Mcp9700A)

    Sensors 4.4. Temperature Sensor (MCP9700A) 4.4.1. Specifications Measurement range: [-40ºC,+125ºC] Output voltage (0°): 500mV Sensitivity: 10mV/ºC Accuracy: ±2ºC (range 0ºC ~ +70ºC), ±4ºC (range -40 ~ +125ºC) Typical consumption: 6μA Maximum consumption: 12μA Figure 23: MCP9700A temperature sensor 4.4.2. Measurement Process The MCP9700A is an analog sensor which converts a temperature value into a proportional analog voltage.
  • Page 20: Liquid Level Sensors (Ptfa3415, Ptfa0100, Ptfa1103)

    Sensors 4.5. Liquid Level Sensors (PTFA3415, PTFA0100, PTFA1103) 4.5.1. Specifications PTFA3415 Measurement Level: Horizontal Liquids: Water Material (box): Propylene Material (float): Propylene Operating Temperature: -10ºC ~ +80ºC Minimum consumption: 0μA* *This sensor’s consumption is included in the consumption ranges of the connectors on which they can be placed. (See section “Consumption table”) Figure 25: PTFA3415 sensor PTFA0100 Measurement Level: Horizontal...
  • Page 21: Measurement Process

    Sensors 4.5.2. Measurement Process There are three liquid level sensors whose operation is based on the status of a switch which can be opened and closed (depending on its placing in the container) as the level of liquid moves the float at its end. The main differences between the three sensors, regarding its use in Waspmote, are to be found in their process for placing them in the container (horizontal in the case of the PTFA3415 and PTFA0100 sensors, vertical for the PTFA1103 sensor) and in the material they are made of (the PTFA1103 and PTFA3415 sensors recommended for edible liquids and certain acids and the PTFA0100 for heavy oils and...
  • Page 22: Luminosity Sensor (Ldr)

    Sensors 4.6. Luminosity Sensor (LDR) 4.6.1. Specifications Resistance in darkness: 20MΩ Resistance in light(10lux): 5 ~ 20kΩ Spectral range: 400 ~ 700nm Operating temperature: -30ºC ~ +75ºC Minimum consumption: 0μA* *This sensor’s consumption is included in the consumption ranges Figure 29: Light sensor LDR of the connectors on which they can be placed.
  • Page 23: Measurement Process

    Sensors 4.7.2. Measurement Process The PIR sensor (Passive Infra-Red) is a pyroelectric sensor mainly consisting of an infra-red receiver and a focusing lens that bases its operation on the monitoring of the variations in the levels of reception of detected infra-reds, reflecting this movement by setting its output signal high.
  • Page 24: Hall Effect Sensor (Pla41201)

    Sensors 4.8. Hall Effect Sensor (PLA41201) 4.8.1. Specifications Length: 32mm Width: 15mm Thickness: 7mm Maximum contact resistance (closed): 150mΩ Minimum contact resistance (open): 100GΩ Minimum consumption: 0μA* *This sensor’s consumption is included in the consumption ranges Figure 33: Hall effect sensor of the connectors on which they can be placed.
  • Page 25: Liquid Presence Sensor

    Sensors 4.9. Liquid Presence Sensor 4.9.1. Specifications Maximum Switching Voltage: 100V Operating temperature: +5ºC ~ +80ºC Detectable liquids: Water Minimum consumption: 0μA* *This sensor’s consumption is included in the consumption ranges of the connectors on which they can be placed. (See section “Consumption table”) Figure 35: Liquid Presence sensor 4.9.2.
  • Page 26: Stretch Sensor (Strx-04)

    Sensors 4.10. Stretch Sensor (STRX-04) 4.10.1. Specifications Resistance of the sensor at rest: 1kΩ per inch Length: 4 inches (10.16cm) Resistance of the sensor in tension (50% stretch): Approximately 2kΩ per inch Minimum consumption: 0μA* *This sensor’s consumption is included in the consumption ranges of the connectors on which they can be placed.
  • Page 27: Humidity Sensor (808H5V5)

    Sensors 4.11. Humidity Sensor (808H5V5) 4.11.1. Specifications Measurement range: 0 ~ 100%RH Output signal: 0 ~ 3.0V (25ºC) Accuracy: <±4%RH (a 25ºC, range 30 ~ 80%), <±6%RH (range 0 ~ 100%) Supply voltage: 3.3V DC ±3% Operating temperature: -40 ~ +85ºC Response time: <15 seconds Typical consumption: 0.18mA Maximum consumption: 0.2mA...
  • Page 28: Liquid Flow Sensor (Fs100A, Fs200 And Fs400 From Broiltech)

    Sensors 4.12. Liquid Flow Sensor (FS100A, FS200 and FS400 from Broiltech) 4.12.1. Specifications FS100A: Flow rate: 0.15 ~ 2.5L/Min Working voltage: +3.3V ~ +24V Working temperature: -10ºC ~ 120ºC Pulse number: 3900 pulses/liter Inlet pipe size: 2mm Outlet pipe size: 4mm Accuracy: ±0.5% Max rated current: 8mA FS200A:...
  • Page 29: Measurement Process

    Sensors 4.12.2. Measurement Process The liquid flow sensors output a signal that consists of a series of digital pulses whose frequency is proportional to the flow rate of the liquid through the sensor. That digital signal, whose frequency is in the range between 0Hz and 100Hz, is directly read through one of the digital input/output pins of the microcontroller.
  • Page 30: Design And Connections

    PTFA1103 and the PLA41201), on condition that they are normally open if connected to connectors 1 or 3 and closed if connected to connector 2. Figure 44: Diagram of connectors 1, 2 and 3 You can find complete example codes for reading the different sockets with resistive sensors in the following links: http://www.libelium.com/development/waspmote/examples/ev-1-socket-1-reading-with-resistive-sensor http://www.libelium.com/development/waspmote/examples/ev-2-socket-2-reading-with-resistive-sensor http://www.libelium.com/development/waspmote/examples/ev-3-socket-3-reading-with-resistive-sensor -30- v4.2...
  • Page 31: Connector 4

    Figure 45: Diagram of connector 4 You can find a complete example code for reading the piezoelectric sensor on socket 4 in the following link: http://www.libelium.com/development/waspmote/examples/ev-4-socket-4-for-piezoelectric-sensors-reading -31- v4.2 Arrow.com.
  • Page 32: Connectors 5 And 6

    Figure 46: Diagram of connectors 5 and 6 You can find complete example codes for reading the temperature and humidity sensors on sockets 5 and 6 in the following links: http://www.libelium.com/development/waspmote/examples/ev-5-socket-5-reading-with-temperature-sensor http://www.libelium.com/development/waspmote/examples/ev-6-socket-6-reading-with-humidity-sensor 4.13.4. Connector 7 Connector 7 (see the diagram of components in section “Hardware. Specifications”) consists of a strip of three 2.54mm pitch female pins connected to ground, power supply (through manual switch 7) and the OR gate and microprocessor inputs.
  • Page 33: Connector 8

    Figure 48: Diagram of connector 8 You can find a complete example code for reading the Flow sensor and the liquid level sensor on socket 8 in the following links: http://www.libelium.com/development/waspmote/examples/ev-8-socket-8-reading-with-liquid-level-sensor http://www.libelium.com/development/waspmote/examples/ev-9-socket-8-reading-with-flow-sensor 4.13.6. Sockets for casing In case the Events Sensor Board 2.0 is going to be used in an application that requires the use of a casing, such as an outdoors...
  • Page 34 Sensors In the figure below an image of the board with the sockets in it and the correspondence between its inputs and the sensor’s pins is shown. Figure 50: Sockets for casing applications Figure 51: Pin correspondence between the sockets and the sensors -34- v4.2 Arrow.com.
  • Page 35 Sensors Sensor Function Output Socket 1 VCC (3.3V) VCC (3.3V) Socket 2 Output Output Socket 3 VCC (3.3V) Output Socket 4 Socket 5 Output VCC (3.3V) VCC (3.3V) Socket 6 Output Output Socket 7 VCC (3.3V) VCC (3.3V) Socket 8 Output (pull up) Output (pull down) VCC (3.3V)
  • Page 36: Board Configuration And Programming

    Board configuration and programming 5. Board configuration and programming 5.1. Hardware configuration The different sensors must be connected on the connector’s pin strips. The pin function is printed on the board: power supply (+3.3V), circuit’s ground (GND) or connector’s output signal (Vout). Although the output of many of the sensors can be connected indiscriminately to the input pins, for both resistive and switch sensors, the user must maintain precaution to avoid short- circuits and erroneous connections which may damage both the sensor and board, following the instructions in this manual and the sensor’s data sheet, and consulting the distributor with any queries.
  • Page 37: Api

    Board configuration and programming Figure 53: Selection jumper positioned to enabled the pulled down output (socket 8A) or the pulled up output (socket 8B) 5.2. API The Waspmote’s Event Sensor board v2.0 has a library in which the necessary instructions are included for handling and management of interruptions and the sensors built in to it.
  • Page 38 Board configuration and programming The readValue may be called introducing a second parameter in order to also perform the conversion from the voltage read at the output of the sensor into the units available for the given sensors. This allows the user to assign the following values to the parameter TYPE: Used when a resistive sensor has been placed on connectors 1, 2 or - SENS_RESISTIVE:...
  • Page 39 Waspmote Frame format. You can find more information about how to handle the Waspmote Frame in the Programming Guide in the Development Section of the Libelium website. Next an example code is shown in which interruptions are enabled, Waspmote is placed in a low consumption mode and the arrival of an interruption is expected.
  • Page 40 “Not interrupted from the sensor”); // Set destination XBee parameters to packet xbee802.setDestinationParams( packet, “000000000000FFFF”, frame.buffer, frame.length); // Send XBee packet xbee802.sendXBee(packet); The files of the sensor board itself are: WaspSensorEvent_v20.cpp, WaspSensorEvent_v20.h They can be downloaded from: http://www.libelium.com/development/waspmote/sdk_and_applications -40- v4.2 Arrow.com. Downloaded from...
  • Page 41: Api Changelog

    API Changelog 6. API Changelog Function / File Changelog Version Remember to include the WaspSensorEvent_v20 library in the top of v.31 → v1.0 #include your pde v.31 → v1.0 New function to turn on the board SensorEventv20.ON() v.31 → v1.0 SensorEventv20.OFF() New function to turn off the board Added the possibility of including the type of sensor integrated in...
  • Page 42: Consumption

    Consumption 7. Consumption 7.1. Power control The power of the Events Sensor Board 2.0 is drawn from the Waspmote 3.3V line and is controlled by the solid state switch which is accessed through the 2x11 connector, defined as SENS_3V3_PW in the application. From this switch it is therefore possible to completely activate or deactivate the Events Sensor Board 2.0 power (see Waspmote manual for more details about the switches to manage the mote’s power and the appropriate section in the WaspmotePWR API manual’s library for more information on its handling).
  • Page 43: Low Consumption Mode

    Care of new sensors • Libelium has chosen a series of sensors which are outstanding thanks to their high functionality and low consumption in active mode. Make sure that the sensors that are installed in this board maintain minimum consumption in this status, since they are thought to be always operating and wake Waspmote when any event occurs.
  • Page 44: Documentation Changelog

    Documentation changelog 8. Documentation changelog • Added references to 3G/GPRS Board in section: Radio Interfaces. -44- v4.2 Arrow.com. Downloaded from...
  • Page 45: Maintenance

    Maintenance 9. Maintenance • In this section, the term “Waspmote” encompasses both the Waspmote device itself as well as its modules and sensor boards. • Take care with the handling of Waspmote, do not drop it, bang it or move it sharply. •...
  • Page 46: Disposal And Recycling

    Disposal and recycling 10. Disposal and recycling • In this section, the term “Waspmote” encompasses both the Waspmote device itself as well as its modules and sensor boards. • When Waspmote reaches the end of its useful life, it must be taken to a recycling point for electronic equipment. •...

Table of Contents