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.
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 •...
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.
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.
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.
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.
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.
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.
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.
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).
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).
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.
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.
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...
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...
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.
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.
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.
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.
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.
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.
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...
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.
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.
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.
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.
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...
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...
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).
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.
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. •...
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. •...
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